Borderou de evaluare (job #916600)

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

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve()’: user.cpp:12: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:92:9: note: in expansion of macro ‘FOR’ FOR(it, G[i]) { ^ user.cpp:92:13: error: expected ‘;’ before ‘it’ FOR(it, G[i]) { ^ user.cpp:12:41: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:92:13: error: ‘it’ was not declared in this scope FOR(it, G[i]) { ^ user.cpp:12:56: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:107:37: 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:108:39: 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:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:113:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &x, &y); ^ user.cpp:118:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms3536kbIncorect00
28ms3540kbIncorect00
38ms3548kbIncorect00
48ms3556kbIncorect00
512ms3576kbIncorect00
6256ms4020kbOK4
772ms3640kbOK4
8Depăşit4008kbTime limit exceeded.0
920ms3724kbIncorect00
1012ms3676kbIncorect0
1192ms3916kbOK4
1212ms3544kbIncorect00
1312ms3552kbIncorect00
148ms3552kbIncorect00
158ms3556kbIncorect00
1612ms3556kbIncorect00
178ms3564kbIncorect00
1848ms3828kbIncorect00
1912ms3620kbIncorect0
2012ms3652kbIncorect0
2116ms3688kbIncorect0
2216ms3696kbIncorect0
2316ms3708kbIncorect0
2420ms3732kbIncorect00
25Depăşit4020kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?