실행 실패 (제출 코드 컴파일 에러)
Main.cpp:8:20: error: declaration of ‘std::queue<int> QueueStackElement::queue’ changes meaning of ‘queue’ [-fpermissive] 8 | queue<int> queue; | ^~~~~ In file included from /usr/include/c++/11/queue:64, from Main.cpp:2: /usr/include/c++/11/bits/stl_queue.h:96:11: note: ‘queue’ declared here as ‘class std::queue<int>’ 96 | class queue | ^~~~~ Main.cpp:9:20: error: declaration of ‘std::stack<int> QueueStackElement::stack’ changes meaning of ‘stack’ [-fpermissive] 9 | stack<int> stack; | ^~~~~ In file included from /usr/include/c++/11/stack:61, from Main.cpp:3: /usr/include/c++/11/bits/stl_stack.h:99:11: note: ‘stack’ declared here as ‘class std::stack<int>’ 99 | class stack | ^~~~~ Main.cpp: In function ‘int main()’: Main.cpp:17:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 17 | for (size_t i = 0; i < ContainerCount; i++) | ~~^~~~~~~~~~~~~~~~ Main.cpp:24:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 24 | for (size_t i = 0; i < ContainerCount; i++) { | ~~^~~~~~~~~~~~~~~~ Main.cpp:40:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 40 | for (size_t i = 0; i < InputCount; i++) | ~~^~~~~~~~~~~~ Main.cpp:43:38: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 43 | for (size_t i = 0; i < ContainerCount; i++) | ~~^~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.