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

唉 我这种菜鸟沦落到只能做这样的题目了??....留个代码吧- =。

Posted by 1120101093 at 2012-04-28 11:18:56 on Problem 2840
#include <stdio.h>
int main(){
    int t,x,y;
    scanf("%d",&t);
    while(t--){
        scanf("%d%*c%d",&x,&y);
        if(!y)
            printf("%d\n",(x+11)%24+1);
        else printf("0\n");
    }
    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