Pagini recente » Borderou de evaluare (job #2578330) | Borderou de evaluare (job #2844133) | Borderou de evaluare (job #2722780) | Borderou de evaluare (job #1877822) | Borderou de evaluare (job #2490295)
Borderou de evaluare (job #2490295)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld %ld",&n, &k);
^
main.cpp:12:27: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mmsir.in","r",stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mmsir.out","w",stdout);
^
main.cpp:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n, &k);
^
main.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 43ms | 1441kb | OK | 10 |
5 | 82ms | 2752kb | OK | 10 |
6 | 26ms | 917kb | OK | 10 |
7 | 110ms | 4063kb | OK | 10 |
8 | 181ms | 6815kb | OK | 10 |
9 | 297ms | 10747kb | OK | 10 |
10 | 365ms | 13500kb | OK | 10 |
Punctaj total | 100 |