실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘std::vector<int> to_arrb5430(std::string)’: Main.cpp:12:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 12 | for(int i = 0 ; i < str.size() ; i ++ ) { | ~~^~~~~~~~~~~~ Main.cpp: In function ‘void result_b5430(std::vector<int>, bool)’: Main.cpp:37:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for(int i = 0 ; i < arr.size() - 1 ; i ++ ) { | ~~^~~~~~~~~~~~~~~~ Main.cpp: In function ‘int b5430()’: Main.cpp:58:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | for(int i = 0 ; i < cmd.size() ; i ++) { | ~~^~~~~~~~~~~~ Main.cpp:90:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 90 | for(int i = 0; i < command.size() ; i ++ ) { | ~~^~~~~~~~~~~~~~~~ /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/../../../aarch64-linux-gnu/crt1.o: in function `__wrap_main': (.text+0x38): undefined reference to `main' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.