Pagini recente » Borderou de evaluare (job #1744251) | Borderou de evaluare (job #2444914) | Borderou de evaluare (job #1694942) | Borderou de evaluare (job #797123) | Borderou de evaluare (job #1065813)
Borderou de evaluare (job #1065813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:14: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
{if(i==x1&&i+1==y1||i==x2&&i+1==y2)
^
user.cpp:9:24: warning: variable ‘maxim’ set but not used [-Wunused-but-set-variable]
unsigned long long i,n,maxim,pr,x1,y1,x2,y2,s,maxim1,maxim2,s1,ds1,ds2,x3,s2,maxim3;
^
user.cpp:50:29: warning: ‘x3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{s2+=a[i]*a[i+1]*a[i+2];
^
user.cpp:33:30: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{if(i==x1&&i+1==y1||i==x2&&i+1==y2)
^
user.cpp:33:33: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{if(i==x1&&i+1==y1||i==x2&&i+1==y2)
^
user.cpp:33:14: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{if(i==x1&&i+1==y1||i==x2&&i+1==y2)
^
user.cpp:33:17: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
{if(i==x1&&i+1==y1||i==x2&&i+1==y2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 0ms | 420kb | OK | 10 |
5 | 0ms | 424kb | OK | 10 |
6 | 0ms | 424kb | OK | 10 |
7 | 4ms | 424kb | Incorect | 0 |
8 | 4ms | 424kb | Incorect | 0 |
9 | 4ms | 424kb | OK | 10 |
10 | 0ms | 428kb | OK | 10 |
Punctaj total | 80 |