Pagini recente » Borderou de evaluare (job #1402297) | Borderou de evaluare (job #1488413) | Borderou de evaluare (job #2430319) | Borderou de evaluare (job #1080232) | Borderou de evaluare (job #2226562)
Borderou de evaluare (job #2226562)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:36: 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:49:38: 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:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cmd);
^
user.cpp:57:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[++n]);
^
user.cpp:61:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cmd);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 796kb | OK | 10 | 10 |
2 | 0ms | 864kb | OK | 10 | 10 |
3 | 0ms | 808kb | OK | 10 | 10 |
4 | 4ms | 936kb | OK | 10 | 10 |
5 | 0ms | 752kb | Incorect | 0 | 0 |
6 | 56ms | 1016kb | OK | 10 |
7 | 108ms | 1836kb | OK | 10 |
8 | 104ms | 1488kb | OK | 10 |
9 | 112ms | 1360kb | OK | 10 |
10 | 112ms | 1352kb | OK | 10 |
Punctaj total | 40 |