Pagini recente » Borderou de evaluare (job #123318) | Borderou de evaluare (job #1434729) | Borderou de evaluare (job #33595) | Borderou de evaluare (job #589938) | Borderou de evaluare (job #1237936)
Borderou de evaluare (job #1237936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("light2.in","r",stdin); freopen("light2.out","w",stdout);
^
user.cpp:11:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("light2.in","r",stdin); freopen("light2.out","w",stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%d", &n,&k);
^
user.cpp:13:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;++i) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 40ms | 268kb | OK | 10 |
8 | 104ms | 272kb | OK | 10 |
9 | 108ms | 268kb | OK | 10 |
10 | 1216ms | 272kb | OK | 10 |
Punctaj total | 100 |