Borderou de evaluare (job #916549)

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

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void df(int, hashKey, hashKey)’: user.cpp:9: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:53:5: note: in expansion of macro ‘FOR’ FOR(i, G[x]) { ^ user.cpp:53:9: error: expected ‘;’ before ‘i’ FOR(i, G[x]) { ^ user.cpp:9:41: note: in definition of macro ‘FOR’ #define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++) ^ user.cpp:53:9: error: ‘i’ was not declared in this scope FOR(i, G[x]) { ^ user.cpp:9: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:62: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:63: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:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:68: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:73: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
14ms476kbOK44
24ms468kbOK44
34ms472kbOK44
416ms492kbOK44
556ms520kbOK40
6Depăşit648kbTime limit exceeded.0
760ms520kbOK4
8Depăşit644kbTime limit exceeded.0
9Depăşit648kbTime limit exceeded.00
10Depăşit652kbTime limit exceeded.0
11Depăşit648kbTime limit exceeded.0
124ms476kbOK44
138ms476kbOK44
1420ms504kbOK44
1528ms500kbOK44
1636ms508kbOK44
1744ms516kbOK44
18Depăşit644kbTime limit exceeded.00
19532ms608kbOK4
20940ms656kbOK4
21Depăşit648kbTime limit exceeded.0
22Depăşit652kbTime limit exceeded.0
23Depăşit644kbTime limit exceeded.0
24Depăşit644kbTime limit exceeded.00
25Depăşit644kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?