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_15915762_20247.cpp: In function 'int main()':
0_0_15915762_20247.cpp:12:8: error: 's' was not declared in this scope
   if(a>s || (a==s && b>=t))
        ^
0_0_15915762_20247.cpp:12:25: error: 't' was not declared in this scope
   if(a>s || (a==s && b>=t))
                         ^
0_0_15915762_20247.cpp:14:3: error: 'k' was not declared in this scope
   k=0;
   ^
0_0_15915762_20247.cpp:15:7: error: 'i' was not declared in this scope
   for(i=0;;i++)
       ^
0_0_15915762_20247.cpp:17:4: error: 'j' was not declared in this scope
    j=(a+i)%12;
    ^
0_0_15915762_20247.cpp:18:11: error: 's' was not declared in this scope
    if(a+i>s || (a+i==s && j*6>t*1.1))
           ^
0_0_15915762_20247.cpp:18:31: error: 't' was not declared in this scope
    if(a+i>s || (a+i==s && j*6>t*1.1))
                               ^
0_0_15915762_20247.cpp:25:31: error: 'ok' was not declared in this scope
   printf("Case #%d: %I64d\n", ok++, s);
                               ^
0_0_15915762_20247.cpp:25:37: error: 's' was not declared in this scope
   printf("Case #%d: %I64d\n", ok++, s);
                                     ^


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-07-06 03:35:56, Gzip enabled