Pagini recente » Borderou de evaluare (job #29265) | Borderou de evaluare (job #2362920) | Borderou de evaluare (job #301063) | Borderou de evaluare (job #1296598) | Borderou de evaluare (job #1514170)
Borderou de evaluare (job #1514170)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
printf("%d",nr);
^
user.cpp:11:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin);
^
user.cpp:12:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.out","w",stdout);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&n,&k,&hp);
^
user.cpp:14:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%lld",&t[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 0ms | 304kb | OK | 10 |
5 | 32ms | 1316kb | OK | 10 |
6 | 40ms | 1560kb | OK | 10 |
7 | 40ms | 1564kb | OK | 10 |
8 | 40ms | 1560kb | OK | 10 |
9 | 40ms | 1560kb | OK | 10 |
10 | 40ms | 1560kb | OK | 10 |
Punctaj total | 80 |