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_16394598_24859.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394598_24859.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16394598_24859.cpp: In function 'void input()':
0_0_16394598_24859.cpp:11:5: error: 'cin' was not declared in this scope
     cin  n  k;
     ^
0_0_16394598_24859.cpp:13:5: error: expected ';' before 'int'
     int x;
     ^
0_0_16394598_24859.cpp:13:5: error: expected primary-expression before 'int'
0_0_16394598_24859.cpp:13:5: error: expected ')' before 'int'
0_0_16394598_24859.cpp:14:10: error: expected ';' before 'x'
     cin  x;
          ^
0_0_16394598_24859.cpp:15:9: error: 'x' was not declared in this scope
     cnt[x]++;
         ^
0_0_16394598_24859.cpp: At global scope:
0_0_16394598_24859.cpp:17: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-22 12:56:32, Gzip enabled