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_15127703_9300.cpp: In function 'int mian()':
0_0_15127703_9300.cpp:2:9: error: expected initializer before '==' token
 {int sum==0,n,i;
         ^
0_0_15127703_9300.cpp:3:14: error: 'n' was not declared in this scope
 scanfig("%d",n);
              ^
0_0_15127703_9300.cpp:3:15: error: 'scanfig' was not declared in this scope
 scanfig("%d",n);
               ^
0_0_15127703_9300.cpp:4:15: error: 'printf' was not declared in this scope
 printf("sum=0");
               ^
0_0_15127703_9300.cpp:5:5: error: 'i' was not declared in this scope
 for(i=0;i<=n;i++)
     ^
0_0_15127703_9300.cpp:6:16: error: 'printif' was not declared in this scope
 printif("+%d",i);
                ^


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-28 02:47:30, Gzip enabled