Borderou de evaluare (job #916585)

Utilizator ciprianfFarcasanu Alexandru Ciprian ciprianf Data 16 martie 2013 17:57:25
Problema Arbpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void extend(lant&)’: user.cpp:11:39: error: ‘typeof’ was not declared in this scope #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:27:5: note: in expansion of macro ‘FOR’ FOR(it, G[p.x]) { ^ user.cpp:27:9: error: expected ‘;’ before ‘it’ FOR(it, G[p.x]) { ^ user.cpp:11:41: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:27:9: error: ‘it’ was not declared in this scope FOR(it, G[p.x]) { ^ user.cpp:11:56: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:31:13: error: expected ‘;’ before ‘it2’ FOR(it2, G[p.y]) { ^ user.cpp:11:41: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:31:13: error: ‘it2’ was not declared in this scope FOR(it2, G[p.y]) { ^ user.cpp:11:56: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:35:17: warning: unused variable ‘x’ [-Wunused-variable] int x = *it, y = *it2; ^ user.cpp: In function ‘void solve()’: user.cpp:11:39: error: ‘typeof’ was not declared in this scope #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:50:9: note: in expansion of macro ‘FOR’ FOR(it, G[i]) { ^ user.cpp:50:13: error: expected ‘;’ before ‘it’ FOR(it, G[i]) { ^ user.cpp:11:41: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:50:13: error: ‘it’ was not declared in this scope FOR(it, G[i]) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms3540kbOK44
28ms3544kbOK44
38ms3544kbOK44
48ms3564kbOK44
58ms3600kbOK40
6176ms4396kbOK4
744ms3700kbOK4
8Depăşit4404kbTime limit exceeded.0
920ms3796kbOK412
1016ms3716kbOK4
1172ms4184kbOK4
128ms3548kbOK44
138ms3552kbOK44
148ms3568kbOK44
158ms3564kbOK44
168ms3572kbOK44
178ms3572kbOK44
1836ms4020kbOK424
1912ms3648kbOK4
2012ms3688kbOK4
2116ms3736kbOK4
2216ms3752kbOK4
2316ms3764kbOK4
2420ms3804kbOK40
25Depăşit4420kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?