실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:15:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 15 | for (int j = 0; j < tosrs.length(); j++) { | ~~^~~~~~~~~~~~~~~~ Main.cpp:16:21: error: request for member ‘stoi’ in ‘tosrs.std::__cxx11::basic_string<char>::operator[](((std::__cxx11::basic_string<char>::size_type)j))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} 16 | zetoni[tosrs[j].stoi()] += 1; | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.