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_30667741_24182.cpp:6:3: error: stray '\241' in program
   while(n¡Ü100)
   ^
0_0_30667741_24182.cpp:6:3: error: stray '\334' in program
0_0_30667741_24182.cpp: In function 'int main()':
0_0_30667741_24182.cpp:4:8: error: expected initializer before '==' token
   int n==1;
        ^
0_0_30667741_24182.cpp:5:10: error: expected initializer before '==' token
   int sum==0;
          ^
0_0_30667741_24182.cpp:6:9: error: 'n' was not declared in this scope
   while(n¡Ü100)
         ^
0_0_30667741_24182.cpp:6:12: error: expected ')' before numeric constant
   while(n¡Ü100)
            ^
0_0_30667741_24182.cpp:6:15: error: expected ';' before ')' token
   while(n¡Ü100)
               ^
0_0_30667741_24182.cpp:11:16: error: 'sum' was not declared in this scope
   print("%d\n",sum);
                ^
0_0_30667741_24182.cpp:11:19: error: 'print' was not declared in this scope
   print("%d\n",sum);
                   ^


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-29 22:11:17, Gzip enabled