Pagini recente » Cod sursa (job #104401) | Cod sursa (job #8549) | Cod sursa (job #95348) | Cod sursa (job #8548) | Borderou de evaluare (job #909420)
Borderou de evaluare (job #909420)
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]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| ✓ | 1 | 4ms | 672kb | Incorect | 0 | 0 |
| ✗ | 2 | 4ms | 772kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 3 | 4ms | 616kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 4 | 4ms | 1292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 5 | 4ms | 1968kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 6 | 16ms | 5368kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 7 | 4ms | 1956kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 8 | 16ms | 5292kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 9 | 12ms | 4440kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 10 | 16ms | 5308kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 11 | 16ms | 5332kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 12 | 4ms | 1548kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 13 | 4ms | 1140kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 14 | 4ms | 1364kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 15 | 4ms | 1584kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 16 | 8ms | 3196kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 17 | 4ms | 1948kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✓ | 18 | 16ms | 5192kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✗ | 19 | 12ms | 4224kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 20 | 12ms | 4856kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 21 | 12ms | 3012kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 22 | 16ms | 5240kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 23 | 16ms | 5200kb | Killed by signal 11(SIGSEGV). | 0 |
| ✗ | 24 | 12ms | 4080kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| ✓ | 25 | 16ms | 5300kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |