TUATPC2024Summer (Algorithm)
コンテスト日時
2024/09/26 (Th) 20:00 - 23:00
提出 #14794
提出日時10/04 03:21:44
問題I: Passing Trash
ユーザpotato167
言語C++20 (g++ 12.2.0)
得点0
結果
CE

コンパイルエラー

/Users/Shared/po167_library/ds/Doubling.hpp: In member function 'po167::Doubling_op<T, op>::result po167::Doubling_op<T, op>::max_right(int, T, auto:53)':
/Users/Shared/po167_library/ds/Doubling.hpp:62:17: error: 'res' was not declared in this scope; did you mean 'rep'?
/Users/Shared/po167_library/ds/Doubling.hpp: In instantiation of 'po167::Doubling_op<T, op>::result po167::Doubling_op<T, op>::max_right(int, T, auto:53) [with auto:53 = solve()::<lambda(ll)>; T = long long int; T (* op)(T, T) = op]':
a.cpp:60:31:   required from here
/Users/Shared/po167_library/ds/Doubling.hpp:62:42: error: could not convert '{<expression error>, start_ind, start_val}' from '<brace-enclosed initializer list>' to 'po167::Doubling_op<long long int, op>::result'