Borderou de evaluare (job #790109)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Album (clasa a 6-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 16 oct. 2024 16:22:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve_case_2(const std::vector<int>&, std::ofstream&)':
main.cpp:45:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
45 | auto [first_digit, second_digit] = largest_digits[i];
| ^
main.cpp:51:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
51 | auto [sticker_digit1, sticker_digit2] = largest_digits[j];
| ^
main.cpp:38:13: warning: unused variable 'first_sticker' [-Wunused-variable]
38 | int first_sticker = stickers[i];
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:97:9: error: 'solve_case_1' was not declared in this scope; did you mean 'solve_case_2'?
97 | solve_case_1(stickers, fout);
| ^~~~~~~~~~~~
| solve_case_2