실행 실패 (제출 코드 컴파일 에러)
In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/aarch64-linux-gnu/c++/11/bits/stdc++.h:41, from Main.cpp:1: /usr/include/c++/11/bits/stl_algobase.h: In instantiation of ‘constexpr typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int (*)[22]; _Tp = int; typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type = void]’: /usr/include/c++/11/bits/stl_algobase.h:969:21: required from ‘constexpr void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = int (*)[22]; _Tp = int]’ /usr/include/c++/11/bits/stl_algobase.h:999:20: required from ‘constexpr void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int (*)[22]; _Tp = int]’ Main.cpp:22:13: required from here /usr/include/c++/11/bits/stl_algobase.h:924:18: error: incompatible types in assignment of ‘const int’ to ‘int [22]’ 924 | *__first = __tmp; | ~~~~~~~~~^~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.