Pagini recente » Borderou de evaluare (job #2511679) | Borderou de evaluare (job #2399896) | Borderou de evaluare (job #1124851) | Borderou de evaluare (job #1645666) | Borderou de evaluare (job #913819)
Borderou de evaluare (job #913819)
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:18:5: note: in expansion of macro ‘forEach’
forEach(G[a],it_1){
^
user.cpp:18: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:18: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:19: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:19: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:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.out","w",stdout);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:39:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
user.cpp:42:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c ",&color[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 304kb | Incorect | 0 | 0 |
2 | 4ms | 304kb | Incorect | 0 | 0 |
3 | 4ms | 304kb | Incorect | 0 | 0 |
4 | 4ms | 312kb | Incorect | 0 | 0 |
5 | 4ms | 324kb | Incorect | 0 | 0 |
6 | 104ms | 400kb | Incorect | 0 |
7 | 32ms | 324kb | Incorect | 0 |
8 | 744ms | 420kb | Incorect | 0 |
9 | 12ms | 392kb | Incorect | 0 | 0 |
10 | 8ms | 396kb | Incorect | 0 |
11 | 40ms | 396kb | Incorect | 0 |
12 | 4ms | 304kb | Incorect | 0 | 0 |
13 | 4ms | 308kb | Incorect | 0 | 0 |
14 | 4ms | 316kb | Incorect | 0 | 0 |
15 | 4ms | 316kb | Incorect | 0 | 0 |
16 | 4ms | 316kb | Incorect | 0 | 0 |
17 | 4ms | 324kb | Incorect | 0 | 0 |
18 | 24ms | 396kb | Incorect | 0 | 0 |
19 | 8ms | 356kb | Incorect | 0 |
20 | 8ms | 384kb | Incorect | 0 |
21 | 12ms | 396kb | Incorect | 0 |
22 | 12ms | 392kb | Incorect | 0 |
23 | 12ms | 396kb | Incorect | 0 |
24 | 12ms | 396kb | Incorect | 0 | 0 |
25 | 748ms | 412kb | Incorect | 0 |
Punctaj total | 0 |