Borderou de evaluare (job #3180234)
Utilizator | Data | 4 decembrie 2023 21:09:17 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:15: warning: left operand of comma operator has no effect [-Wunused-value]
13 | if(b%d == 0, a%d == 0) {
| ~~~~^~~~
main.cpp:15:14: error: expected ',' before '/' token
15 | a= [a/d];
| ^
| ,
main.cpp:15:14: error: expected identifier before '/' token
main.cpp: In lambda function:
main.cpp:15:17: error: expected '{' before ';' token
15 | a= [a/d];
| ^
main.cpp: In function 'int main()':
main.cpp:15:12: error: cannot convert 'main()::<lambda()>' to 'int' in assignment
15 | a= [a/d];
| ^~~~~
| |
| main()::<lambda()>
main.cpp:16:14: error: expected ',' before '/' token
16 | b= [b/d];
| ^
| ,
main.cpp:16:14: error: expected identifier before '/' token
main.cpp: In lambda function:
main.cpp:16:17: error: expected '{' before ';' token
16 | b= [b/d];
| ^
main.cpp: In function 'int main()':
main.cpp:16:12: error: cannot convert 'main()::<lambda()>' to 'int' in assignment
16 | b= [b/d];
| ^~~~~
| |
| main()::<lambda()>
main.cpp:18:13: error: expected '}' before 'else'
18 | else
| ^~~~
main.cpp:13:31: note: to match this '{'
13 | if(b%d == 0, a%d == 0) {
| ^
main.cpp: At global scope:
main.cpp:24:5: error: 'fout' does not name a type
24 | fout << c;
| ^~~~
main.cpp:26:5: error: expected unqualified-id before 'return'
26 | return 0;
| ^~~~~~
main.cpp:27:1: error: expected declaration before '}' token
27 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !