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_32748851_155.cpp:24:15: error: expected identifier before ')' token
 void ins(ll x,) {
               ^
0_0_32748851_155.cpp: In function 'int main()':
0_0_32748851_155.cpp:59:54: error: too few arguments to function 'void ins(long long int, int)'
   for (int i = 1; i <= n; ++i)a[i] = read(), ins(a[i]);
                                                      ^
0_0_32748851_155.cpp:24:6: note: declared here
 void ins(ll x,) {
      ^
0_0_32748851_155.cpp:7:17: error: expected unqualified-id at end of input
 #define ll long long
                 ^
0_0_32748851_155.cpp:63:4: note: in expansion of macro 'll'
    ll 
    ^
0_0_32748851_155.cpp:7:17: error: expected '}' at end of input
 #define ll long long
                 ^
0_0_32748851_155.cpp:63:4: note: in expansion of macro 'll'
    ll 
    ^
0_0_32748851_155.cpp:7:17: error: expected '}' at end of input
 #define ll long long
                 ^
0_0_32748851_155.cpp:63:4: note: in expansion of macro 'll'
    ll 
    ^
0_0_32748851_155.cpp:7:17: error: expected '}' at end of input
 #define ll long long
                 ^
0_0_32748851_155.cpp:63:4: note: in expansion of macro 'll'
    ll 
    ^


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-18 08:14:33, Gzip enabled