Borderou de evaluare (job #909411)

Utilizator vladtarniceruVlad Tarniceru vladtarniceru Data 10 martie 2013 15:34:21
Problema Arbpal Status done
Runda .com 2012 Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void DFs(int, int)’: user.cpp:14:44: error: ‘typeof’ was not declared in this scope #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++) ^ user.cpp:35:2: note: in expansion of macro ‘forit’ forit(it, A[nod]) ^ user.cpp:35:8: error: expected ‘;’ before ‘it’ forit(it, A[nod]) ^ user.cpp:14:46: note: in definition of macro ‘forit’ #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++) ^ user.cpp:35:8: error: ‘it’ was not declared in this scope forit(it, A[nod]) ^ user.cpp:14:64: note: in definition of macro ‘forit’ #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++) ^ user.cpp: In function ‘int main()’: user.cpp:74:34: 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:75:36: 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:76:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &N); ^ user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i%i", &x, &y); ^ user.cpp:84:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &lit[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓14ms688kbOK44
✗28ms4140kbOK44
✗320ms10284kbOK44
✗456msDepăşitMemory limit exceeded.00
✗556msDepăşitMemory limit exceeded.00
✗656msDepăşitMemory limit exceeded.0
✗780ms2164kbOK4
✗8Depăşit7492kbTime limit exceeded.0
✗956msDepăşitMemory limit exceeded.00
✗1056msDepăşitMemory limit exceeded.0
✗1156msDepăşitMemory limit exceeded.0
✗1248msDepăşitMemory limit exceeded.00
✗1356msDepăşitMemory limit exceeded.00
✗1456msDepăşitMemory limit exceeded.00
✗1556msDepăşitMemory limit exceeded.00
✗1656msDepăşitMemory limit exceeded.00
✗1756msDepăşitMemory limit exceeded.00
✓1856msDepăşitMemory limit exceeded.00
✗1956msDepăşitMemory limit exceeded.0
✗2056msDepăşitMemory limit exceeded.0
✗2156msDepăşitMemory limit exceeded.0
✗2256msDepăşitMemory limit exceeded.0
✗2356msDepăşitMemory limit exceeded.0
✗2456msDepăşitMemory limit exceeded.00
✓25Depăşit7484kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?