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_27120450_6913.cpp: In function 'int main()':
0_0_27120450_6913.cpp:3:7: error: variable or field 'n' declared void
 {void n,i,m,sum;
       ^
0_0_27120450_6913.cpp:3:9: error: variable or field 'i' declared void
 {void n,i,m,sum;
         ^
0_0_27120450_6913.cpp:3:11: error: variable or field 'm' declared void
 {void n,i,m,sum;
           ^
0_0_27120450_6913.cpp:3:13: error: variable or field 'sum' declared void
 {void n,i,m,sum;
             ^
0_0_27120450_6913.cpp:4:20: error: 'n' was not declared in this scope
 while((scanf("%d",&n)!=EOF)$$(n!=0))
                    ^
0_0_27120450_6913.cpp:4:28: error: expected ')' before '$$'
 while((scanf("%d",&n)!=EOF)$$(n!=0))
                            ^
0_0_27120450_6913.cpp:4:35: error: '$$' was not declared in this scope
 while((scanf("%d",&n)!=EOF)$$(n!=0))
                                   ^
0_0_27120450_6913.cpp:14:7: error: expected primary-expression before '=' token
 return=0
       ^
0_0_27120450_6913.cpp:15:1: error: expected ';' 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-12-02 11:34:45, Gzip enabled