Pagini recente » Borderou de evaluare (job #2715226) | Borderou de evaluare (job #2618686) | Borderou de evaluare (job #1670408) | Borderou de evaluare (job #1965420) | Borderou de evaluare (job #2421953)
Borderou de evaluare (job #2421953)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30: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:31: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:35: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:41:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &head[i]);
^
main.cpp:43:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:37:16: warning: iteration 1003 invokes undefined behavior [-Waggressive-loop-optimizations]
arb[i] = i;
~~~~~~~^~~
main.cpp:36: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 | Incorect | 0 | 0 |
2 | 3ms | 131kb | OK | 10 |
3 | 7ms | 131kb | OK | 10 |
4 | 155ms | 200kb | OK | 10 |
5 | 156ms | 131kb | OK | 10 |
6 | 202ms | 131kb | Time limit exceeded | 0 | 0 |
7 | 203ms | 143kb | Time limit exceeded | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 4ms | 131kb | OK | 10 |
10 | 8ms | 208kb | OK | 10 |
Punctaj total | 0 |