Pagini recente » Borderou de evaluare (job #477401) | Borderou de evaluare (job #2630647) | Borderou de evaluare (job #1665468) | Borderou de evaluare (job #1455636) | Borderou de evaluare (job #2226561)
Borderou de evaluare (job #2226561)
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 | 800kb | OK | 10 | 10 |
3 | 0ms | 752kb | OK | 10 | 10 |
4 | 4ms | 756kb | OK | 10 | 10 |
5 | 0ms | 876kb | Incorect | 0 | 0 |
6 | 56ms | 1012kb | OK | 10 |
7 | 108ms | 1836kb | OK | 10 |
8 | 104ms | 1488kb | OK | 10 |
9 | 116ms | 1352kb | OK | 10 |
10 | 116ms | 1356kb | OK | 10 |
Punctaj total | 40 |