Pagini recente » Borderou de evaluare (job #1980027) | Borderou de evaluare (job #2216466) | Borderou de evaluare (job #783459) | Borderou de evaluare (job #329568) | Borderou de evaluare (job #2605474)
Borderou de evaluare (job #2605474)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:100:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
scanf("%d%d", &n, &k);
^
main.cpp:98:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.in", "r", stdin);
^
main.cpp:99:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.out", "w", stdout);
^
main.cpp:100:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:103:27: 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 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 6ms | 131kb | OK | 10 |
4 | 49ms | 393kb | OK | 10 |
5 | 334ms | 2490kb | OK | 10 |
6 | 472ms | 2490kb | OK | 10 |
7 | 481ms | 2490kb | OK | 10 |
8 | 493ms | 2490kb | OK | 10 |
9 | 491ms | 2621kb | OK | 10 |
10 | 477ms | 2490kb | OK | 10 |
Punctaj total | 100 |