Pagini recente » Cod sursa (job #715642) | Cod sursa (job #2839346) | Cod sursa (job #2755258) | Cod sursa (job #95637) | Borderou de evaluare (job #1203721)
Borderou de evaluare (job #1203721)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:131:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘H’ [-Wformat=]
printf("%d\n", heap[1]);
^
user.cpp:109:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in", "r", stdin);
^
user.cpp:110:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out", "w", stdout);
^
user.cpp:112:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numOfOperations);
^
user.cpp:118:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &operation);
^
user.cpp:121:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value);
^
user.cpp:126:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | Incorect | 0 | 0 |
| 2 | 0ms | 264kb | Incorect | 0 | 0 |
| 3 | 0ms | 300kb | Incorect | 0 | 0 |
| 4 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 100ms | 1432kb | Incorect | 0 |
| 8 | 52ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 344kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 4ms | 344kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |