| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
唉 我这种菜鸟沦落到只能做这样的题目了??....留个代码吧- =。#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator