실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void BackTrack(int, int, int, int, int)’: Main.cpp:9:22: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 9 | MaxSum = max(MaxSum, CurrValue); | ^~~ | std::max 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’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.