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_30465694_30947.cpp: In function 'int main()':
0_0_30465694_30947.cpp:4:25: error: expected unqualified-id before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:38:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:38:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected primary-expression before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:38:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:38:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:38:10: error: 'i' was not declared in this scope
     forn(i,m){
          ^
0_0_30465694_30947.cpp:4:27: note: in definition of macro 'forn'
 #define forn(i,n) for(ll) i =0;i<n;i++)
                           ^
0_0_30465694_30947.cpp:38:10: error: 'i' was not declared in this scope
     forn(i,m){
          ^
0_0_30465694_30947.cpp:4:32: note: in definition of macro 'forn'
 #define forn(i,n) for(ll) i =0;i<n;i++)
                                ^
0_0_30465694_30947.cpp:4:25: error: expected unqualified-id before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:45:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:45:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected primary-expression before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:45:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:45:5: note: in expansion of macro 'forn'
     forn(i,m){
     ^
0_0_30465694_30947.cpp:4:25: error: expected unqualified-id before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:83:5: note: in expansion of macro 'forn'
     forn(i,m) cout<<ans[i]<<'\n';
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:83:5: note: in expansion of macro 'forn'
     forn(i,m) cout<<ans[i]<<'\n';
     ^
0_0_30465694_30947.cpp:4:25: error: expected primary-expression before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:83:5: note: in expansion of macro 'forn'
     forn(i,m) cout<<ans[i]<<'\n';
     ^
0_0_30465694_30947.cpp:4:25: error: expected ';' before ')' token
 #define forn(i,n) for(ll) i =0;i<n;i++)
                         ^
0_0_30465694_30947.cpp:83:5: note: in expansion of macro 'forn'
     forn(i,m) cout<<ans[i]<<'\n';
     ^


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-12-04 12:48:42, Gzip enabled