실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:107:16: error: ‘__128uint’ was not declared in this scope 107 | srand((__128uint)time(NULL)); | ^~~~~~~~~ Main.cpp:109:18: error: too few arguments to function ‘void srand(unsigned int)’ 109 | sos=srand()%n; | ~~~~~^~ In file included from /usr/include/c++/11/bits/std_abs.h:38, from /usr/include/c++/11/cmath:47, from /usr/include/aarch64-linux-gnu/c++/11/bits/stdc++.h:41, from Main.cpp:1: /usr/include/stdlib.h:456:13: note: declared here 456 | extern void srand (unsigned int __seed) __THROW; | ^~~~~ Main.cpp:110:16: error: too few arguments to function ‘void srand(unsigned int)’ 110 | z=srand()%n; | ~~~~~^~ In file included from /usr/include/c++/11/bits/std_abs.h:38, from /usr/include/c++/11/cmath:47, from /usr/include/aarch64-linux-gnu/c++/11/bits/stdc++.h:41, from Main.cpp:1: /usr/include/stdlib.h:456:13: note: declared here 456 | extern void srand (unsigned int __seed) __THROW; | ^~~~~ Main.cpp: In function ‘__int128 read()’: Main.cpp:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%s", str); | ~~~~~^~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.