Pagini recente » Borderou de evaluare (job #1357430) | Borderou de evaluare (job #2209677)
Borderou de evaluare (job #2209677)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez);
^
user.cpp:34:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fout,"w",stdout);
^
user.cpp:37:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&a,&b);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | OK | 10 |
2 | 0ms | 804kb | OK | 10 |
3 | 0ms | 808kb | OK | 10 |
4 | 0ms | 752kb | OK | 10 |
5 | 0ms | 760kb | OK | 10 |
6 | 4ms | 932kb | OK | 10 |
7 | 8ms | 868kb | OK | 10 |
8 | 16ms | 756kb | OK | 10 |
9 | 28ms | 848kb | OK | 10 |
10 | Depăşit | 1036kb | Time limit exceeded. | 0 |
Punctaj total | 90 |