Pagini recente » Borderou de evaluare (job #2714353) | Borderou de evaluare (job #1581268) | Borderou de evaluare (job #236456) | Borderou de evaluare (job #1733391) | Borderou de evaluare (job #2771213)
Borderou de evaluare (job #2771213)
Raport evaluator
Compilare:
main.cpp: In function 'int main(int, const char**)':
main.cpp:23:18: warning: unused variable 'j' [-Wunused-variable]
int n, m, i, j, x, y, step, cnt, sol;
^
main.cpp:25:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
main.cpp:26:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
main.cpp:36:38: warning: iteration 100098 invokes undefined behavior [-Waggressive-loop-optimizations]
for(i = 2; i <= nmax; ++i) lg[i] = lg[i/2] + 1;
~~~~~~^~~~~~~~~~~~~
main.cpp:36:18: note: within this loop
for(i = 2; i <= nmax; ++i) lg[i] = lg[i/2] + 1;
~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 524kb | OK | 10 | 10 |
| 2 | 6ms | 524kb | OK | 10 | 10 |
| 3 | 19ms | 917kb | OK | 10 | 10 |
| 4 | 1013ms | 4325kb | OK | 10 | 10 |
| 5 | 1256ms | 4456kb | OK | 10 | 0 |
| 6 | 1301ms | 5111kb | Time limit exceeded | 0 |
| 7 | 1300ms | 6815kb | Time limit exceeded | 0 | 0 |
| 8 | 1300ms | 8097kb | Time limit exceeded | 0 | 0 |
| 9 | 1305ms | 8257kb | Time limit exceeded | 0 | 0 |
| 10 | 1300ms | 8126kb | Time limit exceeded | 0 | 0 |
| Punctaj total | 40 |