Pagini recente » Borderou de evaluare (job #2663650) | Borderou de evaluare (job #1710897) | Borderou de evaluare (job #3317081) | Borderou de evaluare (job #1959804) | Borderou de evaluare (job #1065814)
Borderou de evaluare (job #1065814)
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:15: warning: variable ‘maxim’ set but not used [-Wunused-but-set-variable]
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 | 424kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 428kb | OK | 10 |
| 4 | 0ms | 428kb | OK | 10 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 0ms | 432kb | OK | 10 |
| 7 | 0ms | 428kb | Incorect | 0 |
| 8 | 4ms | 432kb | Incorect | 0 |
| 9 | 4ms | 428kb | OK | 10 |
| 10 | 0ms | 432kb | OK | 10 |
| Punctaj total | 80 |