Borderou de evaluare (job #2421953)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 16 mai 2019 19:39:24
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
12ms131kbIncorect00
23ms131kbOK10
37ms131kbOK10
4155ms200kbOK10
5156ms131kbOK10
6202ms131kbTime limit exceeded00
7203ms143kbTime limit exceeded0
83ms131kbOK10
94ms131kbOK10
108ms208kbOK10
Punctaj total0

Ceva nu functioneaza?