Borderou de evaluare (job #2673377)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:27: warning: format '%lli' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lli",&v[i]);
^
main.cpp:35:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
main.cpp:36:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
main.cpp:38:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 217kb | OK | 10 |
5 | 59ms | 786kb | OK | 10 |
6 | 361ms | 5505kb | OK | 10 |
7 | 249ms | 7471kb | OK | 10 |
8 | 404ms | 6160kb | Time limit exceeded | 0 |
9 | 403ms | 4194kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 80 |