Borderou de evaluare (job #2209675)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez);
^
user.cpp:33: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:34: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:36: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:38: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 | 792kb | OK | 10 |
2 | 0ms | 936kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 796kb | OK | 10 |
5 | 0ms | 756kb | OK | 10 |
6 | 4ms | 800kb | OK | 10 |
7 | 8ms | 876kb | OK | 10 |
8 | 16ms | 756kb | OK | 10 |
9 | 28ms | 860kb | OK | 10 |
10 | Depăşit | 1040kb | Time limit exceeded. | 0 |
Punctaj total | 90 |