Borderou de evaluare (job #916574)

Utilizator ciprianfFarcasanu Alexandru Ciprian ciprianf Data 16 martie 2013 17:51:49
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:48:9: note: in expansion of macro ‘FOR’ FOR(it, G[i]) { ^ user.cpp:48: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:48:13: error: ‘it’ was not declared in this scope FOR(it, G[i]) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms3536kbOK44
28ms3544kbOK44
38ms3548kbOK44
48ms3564kbOK44
58ms3620kbOK40
6296ms5192kbOK4
776ms3880kbOK4
8Depăşit5248kbTime limit exceeded.0
924ms3924kbOK412
1012ms3728kbOK4
11108ms4816kbOK4
128ms3552kbOK44
138ms3548kbOK44
148ms3560kbOK44
158ms3572kbOK44
168ms3568kbOK44
178ms3572kbOK44
1852ms4456kbOK424
1912ms3648kbOK4
2012ms3684kbOK4
2112ms3764kbOK4
2216ms3776kbOK4
2320ms3828kbOK4
2424ms3932kbOK40
25Depăşit5284kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?