Pagini recente » Borderou de evaluare (job #8964) | Borderou de evaluare (job #2693052) | Borderou de evaluare (job #48147) | Borderou de evaluare (job #1198070) | Borderou de evaluare (job #1203738)
Borderou de evaluare (job #1203738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:164:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘H’ [-Wformat=]
printf("%d\n", heap[1]);
^
user.cpp:121: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:122: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:124:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numOfOperations);
^
user.cpp:132:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &operation);
^
user.cpp:135:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value);
^
user.cpp:149: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 | 260kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 4ms | 284kb | OK | 10 | 10 |
5 | 24ms | 368kb | OK | 10 | 60 |
6 | 52ms | 460kb | OK | 10 |
7 | 108ms | 1432kb | OK | 10 |
8 | 100ms | 964kb | OK | 10 |
9 | 108ms | 672kb | OK | 10 |
10 | 104ms | 668kb | OK | 10 |
Punctaj total | 100 |