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_39799930_12666.cpp:5:1: error: expected ',' or ';' before 'll'
    5 | ll a[N];
      | ^~
0_0_39799930_12666.cpp: In function 'bool check(int)':
0_0_39799930_12666.cpp:12:34: error: 'a' was not declared in this scope
   12 |   for(int i =1;i<=n;i++) q1.push(a[i]);
      |                                  ^
0_0_39799930_12666.cpp: In function 'int main()':
0_0_39799930_12666.cpp:90:18: error: 'a' was not declared in this scope
   90 |             cin>>a[i];
      |                  ^
0_0_39799930_12666.cpp:91:14: error: 'a' was not declared in this scope
   91 |         sort(a+1,a+n+1);
      |              ^


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-16 19:39:30, Gzip enabled