Pagini recente » Borderou de evaluare (job #2414136) | Borderou de evaluare (job #2676802) | Borderou de evaluare (job #68483) | Borderou de evaluare (job #585307) | Borderou de evaluare (job #2346659)
Borderou de evaluare (job #2346659)
Raport evaluator
Compilare:
main.cpp: In function 'void precalc()':
main.cpp:18:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; i++) {
~~^~~~
main.cpp: In function 'int main()':
main.cpp:91:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'ull {aka unsigned int}' [-Wformat=]
printf("%llu\n", result);
^
main.cpp:69:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in", "r", stdin);
^
main.cpp:70:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out", "w", stdout);
^
main.cpp:72:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u %u", &n, &b, &p);
^
main.cpp:75:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &v[i]);
^
main.cpp:77:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &m);
^
main.cpp:84:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u %u", &a, &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 100 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 25ms | 393kb | OK | 10 |
5 | 63ms | 655kb | OK | 10 |
6 | 255ms | 2359kb | OK | 10 |
7 | 264ms | 2359kb | OK | 10 |
8 | 630ms | 4980kb | OK | 10 |
9 | 618ms | 4849kb | OK | 10 |
10 | 622ms | 4980kb | OK | 10 |
Punctaj total | 100 |