Pagini recente » Borderou de evaluare (job #2290199) | Borderou de evaluare (job #2174844) | Borderou de evaluare (job #3162557) | Borderou de evaluare (job #1950085) | Borderou de evaluare (job #1977271)
Borderou de evaluare (job #1977271)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
}while(prim = false);
^
user.cpp:50:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(ok = false)
^
user.cpp:57:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(prim = true)
^
user.cpp:80:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ok = true)
^
user.cpp:12:10: warning: unused variable ‘b’ [-Wunused-variable]
int b , k , i ,n, nr , a[100][100],CurrentNumber = 2,ii = 0,nn = 0,catey = -1,catex = -1;
^
user.cpp:12:18: warning: unused variable ‘i’ [-Wunused-variable]
int b , k , i ,n, nr , a[100][100],CurrentNumber = 2,ii = 0,nn = 0,catey = -1,catex = -1;
^
user.cpp:12:21: warning: unused variable ‘n’ [-Wunused-variable]
int b , k , i ,n, nr , a[100][100],CurrentNumber = 2,ii = 0,nn = 0,catey = -1,catex = -1;
^
user.cpp: In function ‘bool Prim(int)’:
user.cpp:101:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:12:24: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int b , k , i ,n, nr , a[100][100],CurrentNumber = 2,ii = 0,nn = 0,catey = -1,catex = -1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Incorect | 0 |
2 | 0ms | 396kb | Incorect | 0 |
3 | 0ms | 396kb | Incorect | 0 |
4 | 0ms | 392kb | Incorect | 0 |
5 | 0ms | 396kb | Incorect | 0 |
6 | 0ms | 396kb | Incorect | 0 |
7 | 0ms | 396kb | Incorect | 0 |
8 | 0ms | 392kb | Incorect | 0 |
9 | 0ms | 396kb | Incorect | 0 |
10 | 0ms | 396kb | Incorect | 0 |
Punctaj total | 0 |