F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_29484757_4679.cpp:1:721: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>in: Invalid argument
 #include<stdio.h>int main(){    int h,m,s,a,b,c,T;    scanf("%d",&T);    while(T--) {        scanf("%d%*c%d%*c%d",&h,&m,&s);        scanf("%d%*c%d%*c%d",&a,&b,&c);        a=a%12;        s=s-c;        if(s<0) {            s+=60;            m--;            if(m<0){                m+=60;                h--;                if(h<0) h+=12;            }        }        m-=b;        if(m<0){                m+=60;                h--;                if(h<0) h+=12;        }        h=(h-a+12)%12;        if(h<10) printf("0%d:",h);        else printf("%d:",h);        if(m<10) printf("0%d:",m);        else printf("%d:",m);        if(s<10) printf("0%d\n",s);        else printf("%d\n",s);    }    system("pause");    return 0; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 10:08:08, Gzip enabled