Pagini recente » Borderou de evaluare (job #1358648) | Borderou de evaluare (job #350075) | Borderou de evaluare (job #1745688) | Borderou de evaluare (job #2212072) | Borderou de evaluare (job #2771214)
Borderou de evaluare (job #2771214)
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:37:38: warning: iteration 100098 invokes undefined behavior [-Waggressive-loop-optimizations]
for(i = 2; i <= nmax; ++i) lg[i] = lg[i/2] + 1;
~~~~~~^~~~~~~~~~~~~
main.cpp:37: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 | 871ms | 4325kb | OK | 10 | 10 |
5 | 1268ms | 4456kb | OK | 10 | 0 |
6 | 1303ms | 4980kb | Time limit exceeded | 0 |
7 | 1302ms | 6684kb | Time limit exceeded | 0 | 0 |
8 | 1300ms | 8126kb | Time limit exceeded | 0 | 0 |
9 | 1302ms | 8126kb | Time limit exceeded | 0 | 0 |
10 | 1300ms | 8257kb | Time limit exceeded | 0 | 0 |
Punctaj total | 40 |