실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void BackTrack(int, int, int, int, int)’: Main.cpp:10:22: error: ‘max’ was not declared in this scope 10 | MaxSum = max(MaxSum, CurrValue); | ^~~ Main.cpp:10:22: note: suggested alternatives: In file included from /usr/include/c++/11/string:52, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from Main.cpp:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /usr/include/c++/11/algorithm:64, from Main.cpp:2: /usr/include/c++/11/bits/ranges_algo.h:3011:29: note: ‘std::ranges::max’ 3011 | inline constexpr __max_fn max{}; | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.