Borderou de evaluare (job #2061184)
Utilizator | Data | 8 noiembrie 2017 23:04:32 | |
---|---|---|---|
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:35: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:20:36: warning: unused variable ‘mij’ [-Wunused-variable]
unsigned int v[800],i,j,aux,k,nr=0,mij;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !