Pagini recente » Borderou de evaluare (job #2053881) | Borderou de evaluare (job #2555642) | Borderou de evaluare (job #2039839) | Borderou de evaluare (job #2681522) | Borderou de evaluare (job #2387820)
Borderou de evaluare (job #2387820)
Raport evaluator
Compilare:
main.cpp: In function 'long long int dfs(long long int)':
main.cpp:11:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[x].size();i++)
~^~~~~~~~~~~~
main.cpp:10:17: warning: unused variable 'j' [-Wunused-variable]
long long i,j,aux,cnt=0,verif[15020],max1=0,max2=0,ok,okk=1;
^
main.cpp:10:29: warning: variable 'verif' set but not used [-Wunused-but-set-variable]
long long i,j,aux,cnt=0,verif[15020],max1=0,max2=0,ok,okk=1;
^~~~~
main.cpp:10:42: warning: unused variable 'max1' [-Wunused-variable]
long long i,j,aux,cnt=0,verif[15020],max1=0,max2=0,ok,okk=1;
^~~~
main.cpp:10:49: warning: unused variable 'max2' [-Wunused-variable]
long long i,j,aux,cnt=0,verif[15020],max1=0,max2=0,ok,okk=1;
^~~~
main.cpp:10:56: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
long long i,j,aux,cnt=0,verif[15020],max1=0,max2=0,ok,okk=1;
^~
main.cpp: In function 'int main()':
main.cpp:66:17: warning: unused variable 'j' [-Wunused-variable]
long long i,j,x,y,aux,okk=1;
^
main.cpp:100:23: warning: 'aux' may be used uninitialized in this function [-Wmaybe-uninitialized]
valmax=aux;
~~~~~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 301ms | 3014kb | Incorect | 0 |
Punctaj total | 0 |