Borderou de evaluare (job #764253)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Permutări | Compilator | cpp-32 |
Rundă | lasm_22_02_2024_clasa12 | Status | evaluat |
Dată | 22 feb. 2024 12:39:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bt2(int)':
main.cpp:65:37: error: too few arguments to function 'int succesor(int)'
65 | as= succesor();
| ~~~~~~~~^~
main.cpp:16:5: note: declared here
16 | int succesor(int k){
| ^~~~~~~~
main.cpp:66:42: error: too few arguments to function 'int valid(int)'
66 | if(as) ev = valid();
| ~~~~~^~
main.cpp:24:5: note: declared here
24 | int valid(int k){
| ^~~~~
main.cpp:69:35: error: too few arguments to function 'int solutie(int)'
69 | if(solutie()) tipar();
| ~~~~~~~^~
main.cpp:30:5: note: declared here
30 | int solutie(int k){
| ^~~~~~~
main.cpp:72:37: error: too few arguments to function 'void init(int)'
72 | init();
| ~~~~^~
main.cpp:10:6: note: declared here
10 | void init(int k){
| ^~~~
main.cpp:68:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
68 | if(as)
| ^
main.cpp:76:9: error: 'else' without a previous 'if'
76 | else k--;
| ^~~~