Pagini recente » Borderou de evaluare (job #1022544) | Borderou de evaluare (job #2596573) | Borderou de evaluare (job #2275780) | Borderou de evaluare (job #2967010) | Borderou de evaluare (job #2384121)
Borderou de evaluare (job #2384121)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:69:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(y2!=0) if(sumlin[x1]!=sumcol[y1]) swap(y1,y2);
^
main.cpp:47:23: warning: iteration 10004 invokes undefined behavior [-Waggressive-loop-optimizations]
if(frecv[i]>maxim)
~~~~~~~^
main.cpp:45:22: note: within this loop
for(int i=1;i<=nr;i++)
~^~~~
main.cpp:85:38: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized]
rasp1=magic_sum-sumcol[y1]+a[x1][y1];
~~~~~~~~~^
main.cpp:69:47: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(y2!=0) if(sumlin[x1]!=sumcol[y1]) swap(y1,y2);
~~~~~~~~~^
main.cpp:85:48: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
rasp1=magic_sum-sumcol[y1]+a[x1][y1];
~~~~~~~~^
main.cpp:80:48: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
rasp1=magic_sum-sumlin[x1]+a[x1][y1];
~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 4ms | 131kb | OK | 10 |
10 | 4ms | 131kb | Incorect | 0 |
Punctaj total | 30 |