Borderou de evaluare (job #720046)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sam (Lot Juniori) | Compilator | cpp-32 | vezi sursa |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 mai 2023 23:50:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void AddHigh(int&, int, int)':
main.cpp:65:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
65 | int main() {
| ^~
main.cpp:65:9: note: remove parentheses to default-initialize a variable
65 | int main() {
| ^~
| --
main.cpp:65:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:65:12: error: a function-definition is not allowed here before '{' token
65 | int main() {
| ^
main.cpp:122:2: error: expected '}' at end of input
122 | }
| ^
main.cpp:39:1: note: to match this '{'
39 | {
| ^