Borderou de evaluare (job #2985404)
Utilizator | Data | 26 februarie 2023 14:14:48 | |
---|---|---|---|
Problema | Mostenire3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:2: error: 'ng' does not name a type
10 | {ng
| ^~
main.cpp: In function 'void verificare_finala(int*, int, long long int, int, copii*)':
main.cpp:29:26: error: 'struct copii' has no member named 'aur'
29 | lol[nr2].aur=sum;
| ^~~
main.cpp:18:9: warning: unused variable 'nr' [-Wunused-variable]
18 | int nr=0,nr2=0,sac=0;
| ^~
main.cpp: In function 'long long int cautbin(long long int, long long int, int*, int, int, copii*)':
main.cpp:60:9: warning: unused variable 'num' [-Wunused-variable]
60 | int num,nr=0,raspuns;
| ^~~
main.cpp:60:13: warning: unused variable 'nr' [-Wunused-variable]
60 | int num,nr=0,raspuns;
| ^~
main.cpp: In function 'bool cmp1(copii, copii)':
main.cpp:78:14: error: 'struct copii' has no member named 'aur'
78 | return a.aur<b.aur;
| ^~~
main.cpp:78:20: error: 'struct copii' has no member named 'aur'
78 | return a.aur<b.aur;
| ^~~
main.cpp: In function 'int main()':
main.cpp:103:18: error: 'struct copii' has no member named 'aur'
103 | fout<<lol[1].aur;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !