Pagini recente » Borderou de evaluare (job #1425814) | Borderou de evaluare (job #608017) | Borderou de evaluare (job #2687094) | Borderou de evaluare (job #2834929) | Borderou de evaluare (job #2601372)
Borderou de evaluare (job #2601372)
Raport evaluator
Compilare:
main.cpp: In function 'long long int get_x()':
main.cpp:12:7: warning: unused variable 'c' [-Wunused-variable]
ll c = 0,xmax = 50005;
^
main.cpp: In function 'long long int get_y()':
main.cpp:36:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
ll c = 0,ymax;
^
main.cpp: In function 'void solve()':
main.cpp:54:5: warning: unused variable 'i' [-Wunused-variable]
{ll i,j;
^
main.cpp:54:7: warning: unused variable 'j' [-Wunused-variable]
{ll i,j;
^
main.cpp: In function 'int main()':
main.cpp:60:7: warning: unused variable 'j' [-Wunused-variable]
{ll i,j;
^
main.cpp: In function 'long long int get_x()':
main.cpp:19:39: warning: iteration 50004 invokes undefined behavior [-Waggressive-loop-optimizations]
for (j = 1; j <= xmax; j++) st2[j] = st[j - 1] + st2[j - 1];
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:19:18: note: within this loop
for (j = 1; j <= xmax; j++) st2[j] = st[j - 1] + st2[j - 1];
~~^~~~~~~
main.cpp: In function 'long long int get_y()':
main.cpp:44:39: warning: iteration 50004 invokes undefined behavior [-Waggressive-loop-optimizations]
for (j = 1; j <= ymax; j++) st2[j] = st[j - 1] + st2[j - 1];
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:44:18: note: within this loop
for (j = 1; j <= ymax; j++) st2[j] = st[j - 1] + st2[j - 1];
~~^~~~~~~
main.cpp:40:65: warning: iteration 50004 invokes undefined behavior [-Waggressive-loop-optimizations]
for (i = 1; i <= ymax; i++) st[i] = dr[i] = st2[i] = dr2[i] = 0;
~~~~~~~^~~
main.cpp:40:19: note: within this loop
for (i = 1; i <= ymax; i++) st[i] = dr[i] = st2[i] = dr2[i] = 0;
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 1703kb | asa se fac punctele.. | 10 |
2 | 7ms | 1703kb | asa se fac punctele.. | 10 |
3 | 7ms | 1703kb | asa se fac punctele.. | 10 |
4 | 7ms | 1703kb | asa se fac punctele.. | 10 |
5 | 12ms | 1966kb | asa se fac punctele.. | 10 |
6 | 19ms | 2097kb | asa se fac punctele.. | 10 |
7 | 14ms | 1966kb | asa se fac punctele.. | 10 |
8 | 21ms | 2228kb | asa se fac punctele.. | 10 |
9 | 27ms | 2359kb | asa se fac punctele.. | 10 |
10 | 30ms | 2490kb | asa se fac punctele.. | 10 |
Punctaj total | 100 |