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_36470023_29859.cpp: In function 'void solve()':
0_0_36470023_29859.cpp:16:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:60:12: note: in expansion of macro 'SZ'
     while (SZ(s) && up) {
            ^
0_0_36470023_29859.cpp:16:13: error: expected ')' before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:60:12: note: in expansion of macro 'SZ'
     while (SZ(s) && up) {
            ^
0_0_36470023_29859.cpp:67:5: error: expected ')' before 'if'
     if (!SZ(s) && up == inf) break;
     ^
0_0_36470023_29859.cpp:16:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:67:10: note: in expansion of macro 'SZ'
     if (!SZ(s) && up == inf) break;
          ^
0_0_36470023_29859.cpp:16:13: error: expected ')' before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:67:10: note: in expansion of macro 'SZ'
     if (!SZ(s) && up == inf) break;
          ^
0_0_36470023_29859.cpp:67:35: error: expected ')' before ';' token
     if (!SZ(s) && up == inf) break;
                                   ^
0_0_36470023_29859.cpp:16:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:68:10: note: in expansion of macro 'SZ'
     if (!SZ(s)) t += up;
          ^
0_0_36470023_29859.cpp:16:13: error: expected ')' before 'long'
 #define int long long
             ^
0_0_36470023_29859.cpp:15:16: note: in expansion of macro 'int'
 #define SZ(x) (int(x.size()))
                ^
0_0_36470023_29859.cpp:68:10: note: in expansion of macro 'SZ'
     if (!SZ(s)) t += up;
          ^
0_0_36470023_29859.cpp:68:24: error: expected ')' before ';' token
     if (!SZ(s)) t += up;
                        ^


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-17 09:14:43, Gzip enabled