Borderou de evaluare (job #2061177)
Utilizator | Data | 8 noiembrie 2017 23:01:25 | |
---|---|---|---|
Problema | Numarare triunghiuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:68: error: ISO C++ forbids declaration of ‘cautarebinara’ with no type [-fpermissive]
cautarebinara(unsigned int ls, unsigned int ld, unsigned int v[800])
^
user.cpp: In function ‘int main()’:
user.cpp:36:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k!=-1 && v[i]+v[k]>=v[j] && v[j]+v[k]>=v[i] && k!=j && k!=i )
^
user.cpp:21:36: warning: unused variable ‘mij’ [-Wunused-variable]
unsigned int v[800],i,j,aux,k,nr=0,mij;
^
user.cpp: In function ‘int cautarebinara(unsigned int, unsigned int, unsigned int*)’:
user.cpp:14:2: warning: control reaches end of non-void function [-Wreturn-type]
}}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !