Pagini recente » Borderou de evaluare (job #1963921) | Borderou de evaluare (job #2156873) | Borderou de evaluare (job #2262023) | Borderou de evaluare (job #2080458) | Borderou de evaluare (job #2238586)
Borderou de evaluare (job #2238586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in", "r", stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out", "w", stdout);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &n, &k);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &f[i]);
^
user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &b);
^
user.cpp:28:14: warning: iteration 1000 invokes undefined behavior [-Waggressive-loop-optimizations]
h[i] = 1, p[i] = i;
~~~~~^~~
user.cpp:27:22: note: within this loop
for(int i = 1; i <= NMAX; i++)
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 808kb | OK | 10 | 50 |
2 | 0ms | 936kb | OK | 10 |
3 | 4ms | 756kb | OK | 10 |
4 | 84ms | 872kb | OK | 10 |
5 | 120ms | 752kb | OK | 10 |
6 | Depăşit | 876kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 936kb | Time limit exceeded. | 0 |
8 | 0ms | 756kb | OK | 10 |
9 | 0ms | 932kb | OK | 10 |
10 | 4ms | 860kb | OK | 10 |
Punctaj total | 50 |