Pagini recente » Borderou de evaluare (job #2614809) | Borderou de evaluare (job #9920) | Borderou de evaluare (job #780748) | Borderou de evaluare (job #2103390) | Borderou de evaluare (job #2190442)
Borderou de evaluare (job #2190442)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in","r",stdin);
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out","w",stdout);
^
user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&c);
^
user.cpp:22:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:24:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&n,&p1,&p2);
^
user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:51:7: warning: ‘val1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%lld\n",val1-val2);
~~~~~~^~~~~~~~~~~~~~~~~~~~
user.cpp:51:7: warning: ‘val2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 124ms | 1768kb | OK | 5 |
2 | 100ms | 1568kb | OK | 5 |
3 | 68ms | 1300kb | OK | 5 |
4 | 68ms | 1304kb | OK | 5 |
5 | 100ms | 1556kb | OK | 5 |
6 | 0ms | 868kb | OK | 5 |
7 | 0ms | 868kb | OK | 5 |
8 | 68ms | 800kb | OK | 5 |
9 | 80ms | 864kb | OK | 5 |
10 | 20ms | 800kb | OK | 5 |
11 | 92ms | 840kb | OK | 5 |
12 | 64ms | 804kb | OK | 5 |
13 | 76ms | 880kb | OK | 5 |
14 | 420ms | 1468kb | OK | 5 |
15 | 560ms | 1776kb | OK | 5 |
16 | 412ms | 1364kb | OK | 5 |
17 | 620ms | 1752kb | OK | 5 |
18 | 544ms | 1612kb | OK | 5 |
19 | 372ms | 1352kb | OK | 5 |
20 | 40ms | 1048kb | OK | 5 |
Punctaj total | 100 |