Pagini recente » Borderou de evaluare (job #1591818) | Borderou de evaluare (job #198909) | Borderou de evaluare (job #2160621) | Borderou de evaluare (job #2674533) | Borderou de evaluare (job #2421954)
Borderou de evaluare (job #2421954)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32: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);
^
main.cpp:33: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);
^
main.cpp:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
main.cpp:42:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &head[i]);
^
main.cpp:44:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:39:16: warning: iteration 1003 invokes undefined behavior [-Waggressive-loop-optimizations]
arb[i] = i;
~~~~~~~^~~
main.cpp:38:22: note: within this loop
for(int i = 1; i <= NMAX; i++)
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 50 |
2 | 4ms | 131kb | OK | 10 |
3 | 12ms | 225kb | OK | 10 |
4 | 124ms | 229kb | OK | 10 |
5 | 156ms | 131kb | OK | 10 |
6 | 201ms | 131kb | Time limit exceeded | 0 | 0 |
7 | 203ms | 131kb | Time limit exceeded | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 4ms | 131kb | OK | 10 |
10 | 9ms | 131kb | OK | 10 |
Punctaj total | 50 |