Pagini recente » Borderou de evaluare (job #2047727) | Borderou de evaluare (job #2712636) | Cod sursa (job #613985) | Borderou de evaluare (job #1535795) | Borderou de evaluare (job #914107)
Borderou de evaluare (job #914107)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(const int&, const int&)’:
user.cpp:9:44: error: ‘typeof’ was not declared in this scope
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:19:5: note: in expansion of macro ‘forEach’
forEach(G[a],it_1){
^
user.cpp:19:18: error: expected ‘;’ before ‘it_1’
forEach(G[a],it_1){
^
user.cpp:9:46: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:19:18: error: ‘it_1’ was not declared in this scope
forEach(G[a],it_1){
^
user.cpp:9:63: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:20:22: error: expected ‘;’ before ‘it_2’
forEach(G[b],it_2){
^
user.cpp:9:46: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:20:22: error: ‘it_2’ was not declared in this scope
forEach(G[b],it_2){
^
user.cpp:9:63: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp: In function ‘int main()’:
user.cpp:9:44: error: ‘typeof’ was not declared in this scope
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:47:9: note: in expansion of macro ‘forEach’
forEach(G[i],it){
^
user.cpp:47:22: error: expected ‘;’ before ‘it’
forEach(G[i],it){
^
user.cpp:9:46: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
user.cpp:47:22: error: ‘it’ was not declared in this scope
forEach(G[i],it){
^
user.cpp:9:63: note: in definition of macro ‘forEach’
#define forEach(G,it) for( typeof(G.begin()) it = G.begin() ; it != G.end() ; ++ it)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 312kb | OK | 4 | 4 |
| 2 | 4ms | 312kb | OK | 4 | 4 |
| 3 | 4ms | 304kb | OK | 4 | 4 |
| 4 | 4ms | 320kb | OK | 4 | 4 |
| 5 | 4ms | 328kb | OK | 4 | 0 |
| 6 | 200ms | 408kb | OK | 4 |
| 7 | 60ms | 328kb | OK | 4 |
| 8 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 9 | 20ms | 404kb | OK | 4 | 12 |
| 10 | 8ms | 400kb | OK | 4 |
| 11 | 80ms | 400kb | OK | 4 |
| 12 | 4ms | 316kb | OK | 4 | 4 |
| 13 | 4ms | 316kb | OK | 4 | 4 |
| 14 | 4ms | 320kb | OK | 4 | 4 |
| 15 | 4ms | 316kb | OK | 4 | 4 |
| 16 | 4ms | 328kb | OK | 4 | 4 |
| 17 | 4ms | 320kb | OK | 4 | 4 |
| 18 | 40ms | 400kb | OK | 4 | 24 |
| 19 | 8ms | 360kb | OK | 4 |
| 20 | 8ms | 388kb | OK | 4 |
| 21 | 12ms | 404kb | OK | 4 |
| 22 | 12ms | 396kb | OK | 4 |
| 23 | 16ms | 400kb | OK | 4 |
| 24 | 20ms | 400kb | OK | 4 | 0 |
| 25 | Depăşit | 392kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |