실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:12:26: warning: for increment expression has no effect [-Wunused-value] 12 | for(int i = 0; i++ ; i < t){ | ~~^~~ Main.cpp:15:17: warning: comparison of integer expressions of different signedness: ‘std::map<int, std::vector<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 15 | if(m.size() < n){ | ~~~~~~~~~^~~ Main.cpp:26:22: warning: comparison of integer expressions of different signedness: ‘std::map<int, std::vector<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 26 | else if(m.size() == n){ | ~~~~~~~~~^~~~ Main.cpp:30:28: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 30 | if(p.second.size() < min){ | ~~~~~~~~~~~~~~~~^~~~~ Main.cpp:33:19: error: cannot convert ‘std::vector<int>’ to ‘int’ in assignment 33 | min = p.second; | ~~^~~~~~ | | | std::vector<int> Main.cpp:34:27: error: ‘class std::vector<int>’ has no member named ‘szie’; did you mean ‘size’? 34 | }else if(p.second.szie() == min){ | ^~~~ | size
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.