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_17389276_850.cpp:50:5: error: stray '\' in program
     while(scanf(\"%d %d %d %d\", &a, &b, &c, &d) != EOF)
     ^
0_0_17389276_850.cpp:50:5: error: missing terminating " character
0_0_17389276_850.cpp:60:13: error: stray '\' in program
             printf(\"Case %d: the next triple peak occurs in 21252 days.\\n\", ncs);
             ^
0_0_17389276_850.cpp:60:13: error: missing terminating " character
0_0_17389276_850.cpp:65:13: error: stray '\' in program
             printf(\"Case %d: the next triple peak occurs in %d days.\\n\", ncs, ans-d);
             ^
0_0_17389276_850.cpp:65:13: error: missing terminating " character
0_0_17389276_850.cpp: In function 'int main()':
0_0_17389276_850.cpp:52:15: error: expected '}' before ';' token
         ncs ++;
               ^
0_0_17389276_850.cpp:52:15: error: expected ')' before ';' token
0_0_17389276_850.cpp:52:15: error: expected ')' before ';' token
0_0_17389276_850.cpp:54:13: error: break statement not within loop or switch
             break;
             ^
0_0_17389276_850.cpp:61:9: error: expected primary-expression before 'else'
         else
         ^
0_0_17389276_850.cpp: At global scope:
0_0_17389276_850.cpp:69:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_17389276_850.cpp:70:1: error: expected declaration before '}' token
 }
 ^


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-17 06:29:58, Gzip enabled