Borderou de evaluare (job #916551)

Utilizator ciprianfFarcasanu Alexandru Ciprian ciprianf Data 16 martie 2013 17:21:58
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
14ms468kbOK44
24ms472kbOK44
34ms476kbOK44
412ms488kbOK44
548ms516kbOK40
6Depăşit652kbTime limit exceeded.0
752ms520kbOK4
8Depăşit648kbTime limit exceeded.0
9Depăşit648kbTime limit exceeded.00
10Depăşit644kbTime limit exceeded.0
11Depăşit648kbTime limit exceeded.0
124ms476kbOK44
134ms480kbOK44
1420ms504kbOK44
1524ms500kbIncorect00
1632ms504kbOK44
1740ms512kbIncorect00
18Depăşit648kbTime limit exceeded.00
19460ms608kbIncorect0
20832ms660kbIncorect0
21Depăşit648kbTime limit exceeded.0
22Depăşit652kbTime limit exceeded.0
23Depăşit652kbTime limit exceeded.0
24Depăşit648kbTime limit exceeded.00
25Depăşit652kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?