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_18478003_7937.cpp:7:5: error: stray '\' in program
     while(scanf(\"%d\",&t))
     ^
0_0_18478003_7937.cpp:7:5: error: missing terminating " character
0_0_18478003_7937.cpp:10:13: error: stray '\' in program
             scanf(\"%d\",&num[i]);
             ^
0_0_18478003_7937.cpp:10:13: error: missing terminating " character
0_0_18478003_7937.cpp:12:13: error: stray '\' in program
             printf(\"%c\",num[i]);
             ^
0_0_18478003_7937.cpp:12:13: error: missing terminating " character
0_0_18478003_7937.cpp: In function 'int main()':
0_0_18478003_7937.cpp:9:9: error: expected primary-expression before 'for'
         for (int i=0;i<t;i++)
         ^
0_0_18478003_7937.cpp:9:9: error: expected '}' before 'for'
0_0_18478003_7937.cpp:9:9: error: expected ')' before 'for'
0_0_18478003_7937.cpp:9:21: error: expected ')' before ';' token
         for (int i=0;i<t;i++)
                     ^
0_0_18478003_7937.cpp:9:22: error: 'i' was not declared in this scope
         for (int i=0;i<t;i++)
                      ^
0_0_18478003_7937.cpp: At global scope:
0_0_18478003_7937.cpp:19: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-23 02:57:15, Gzip enabled