Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:很简单的代码 一次A

Posted by nextyoujie at 2016-01-21 15:56:25 on Problem 2840
In Reply To:很简单的代码 一次A Posted by:1219194271qq at 2016-01-21 12:15:38
> #include<stdio.h>
> 
> int main()
> {
>     int n;
>     int a,b;
>     scanf("%d",&n);
>     while(n--)
>     {
>         scanf("%d:%d",&a,&b);
> 
>         if(b!=0){
>             printf("0\n");
>             continue;
>         }
> 
>         printf("%d\n",(a+11)%24+1);
>     }
>     return 0;
> }

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator