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_17562293_7423.cpp:9:2: error: stray '\' in program
  while(scanf(\"%d\", &n)==1,n) {
  ^
0_0_17562293_7423.cpp:9:2: error: missing terminating " character
0_0_17562293_7423.cpp:12:4: error: stray '\' in program
    scanf(\"%d\", &tmp);
    ^
0_0_17562293_7423.cpp:12:4: error: missing terminating " character
0_0_17562293_7423.cpp:20:5: error: stray '\' in program
     printf(\"%d\\n\", it->first);
     ^
0_0_17562293_7423.cpp:20:5: error: missing terminating " character
0_0_17562293_7423.cpp: In function 'int main()':
0_0_17562293_7423.cpp:11:3: error: expected primary-expression before 'for'
   for(int i=0; i<n; ++i) {
   ^
0_0_17562293_7423.cpp:11:14: error: expected ')' before ';' token
   for(int i=0; i<n; ++i) {
              ^
0_0_17562293_7423.cpp:11:16: error: 'i' was not declared in this scope
   for(int i=0; i<n; ++i) {
                ^
0_0_17562293_7423.cpp:21:14: error: expected ')' before ';' token
     a.clear();
              ^
0_0_17562293_7423.cpp: At global scope:
0_0_17562293_7423.cpp:25:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_17562293_7423.cpp:26:1: error: expected declaration before '}' token
 }
 ^


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-28 05:47:21, Gzip enabled