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_39228506_20540.cpp:6:21: error: stray '\243' in program
    6 | bool cmp(int a,int b<a3><a9>){
      |                     ^~~~
0_0_39228506_20540.cpp:6:22: error: stray '\251' in program
    6 | bool cmp(int a,int b<a3><a9>){
      |                         ^~~~
0_0_39228506_20540.cpp: In function 'int main()':
0_0_39228506_20540.cpp:18:17: error: 'sort' was not declared in this scope; did you mean 'sqrt'?
   18 |                 sort(v.begin(),v.end(),cmp);
      |                 ^~~~
      |                 sqrt
0_0_39228506_20540.cpp:21:39: error: 'a' was not declared in this scope
   21 |                                 cout<<a[i];
      |                                       ^
0_0_39228506_20540.cpp:24:44: error: 'a' was not declared in this scope
   24 |                                 cout<<" "<<a[i};
      |                                            ^
0_0_39228506_20540.cpp:24:47: error: expected ']' before '}' token
   24 |                                 cout<<" "<<a[i};
      |                                               ^
      |                                               ]
0_0_39228506_20540.cpp: At global scope:
0_0_39228506_20540.cpp:28:9: error: expected unqualified-id before 'return'
   28 |         return 0;
      |         ^~~~~~
0_0_39228506_20540.cpp:29:1: error: expected declaration before '}' token
   29 | }
      | ^


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-10-07 01:22:20, Gzip enabled