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_34286405_4532.cpp:4:1: error: stray '\' in program
 \x09int i,j,n;
 ^
0_0_34286405_4532.cpp:5:1: error: stray '\' in program
 \x09int sum=0;
 ^
0_0_34286405_4532.cpp:6:1: error: stray '\' in program
 \x09int temp=0;
 ^
0_0_34286405_4532.cpp:7:1: error: stray '\' in program
 \x09printf("input n=:");
 ^
0_0_34286405_4532.cpp:8:1: error: stray '\' in program
 \x09scanf("%d",&n);
 ^
0_0_34286405_4532.cpp:9:1: error: stray '\' in program
 \x09for(i=1;i
 ^
0_0_34286405_4532.cpp:2:11: error: '::main' must return 'int'
 void main()
           ^
0_0_34286405_4532.cpp: In function 'int main()':
0_0_34286405_4532.cpp:4:2: error: 'x09int' was not declared in this scope
 \x09int i,j,n;
  ^
0_0_34286405_4532.cpp:5:9: error: expected ';' before 'sum'
 \x09int sum=0;
         ^
0_0_34286405_4532.cpp:6:9: error: expected ';' before 'temp'
 \x09int temp=0;
         ^
0_0_34286405_4532.cpp:7:23: error: 'x09printf' was not declared in this scope
 \x09printf("input n=:");
                       ^
0_0_34286405_4532.cpp:8:17: error: 'n' was not declared in this scope
 \x09scanf("%d",&n);
                 ^
0_0_34286405_4532.cpp:8:18: error: 'x09scanf' was not declared in this scope
 \x09scanf("%d",&n);
                  ^
0_0_34286405_4532.cpp:9:9: error: 'i' was not declared in this scope
 \x09for(i=1;i
         ^
0_0_34286405_4532.cpp:9:13: error: expected ';' at end of input
 \x09for(i=1;i
             ^
0_0_34286405_4532.cpp:9:13: error: expected '}' at end of input


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 12:46:43, Gzip enabled