Pagini recente » Borderou de evaluare (job #1172023) | Borderou de evaluare (job #2252172) | Borderou de evaluare (job #577794) | Borderou de evaluare (job #2431382) | Borderou de evaluare (job #2421956)
Borderou de evaluare (job #2421956)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:9: warning: unused variable 'vmax' [-Wunused-variable]
int vmax = 0;
^~~~
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 | 3ms | 143kb | OK | 10 | 0 |
2 | 4ms | 131kb | OK | 10 |
3 | 13ms | 221kb | OK | 10 |
4 | 88ms | 131kb | OK | 10 |
5 | 201ms | 229kb | Time limit exceeded | 0 |
6 | 204ms | 131kb | Time limit exceeded | 0 | 0 |
7 | 201ms | 131kb | Time limit exceeded | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 4ms | 131kb | OK | 10 |
10 | 10ms | 225kb | OK | 10 |
Punctaj total | 0 |