Submission #87155
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
2151 - 修学旅行プロコンK |
| ユーザー名 |
ei2332
|
| 投稿日時 |
2025-12-09 23:53:22 |
| 言語 |
C++17 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
17556 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/cassert:44,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:33,
from ./Main.cpp:527:
/usr/include/assert.h:69:13: error: conflicting declaration of C function ‘void __assert_fail(const char*, const char*, long long unsigned int, const char*)’
extern void __assert_fail (__const char *__assertion, __const char *__file,
^~~~~~~~~~~~~
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:45,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/container_base_dispatch.hpp:90,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/assoc_container.hpp:48,
from ./Main.cpp:368:
/usr/include/assert.h:69:13: note: previous declaration ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’
extern void __assert_fail (__const char *__assertion, __const char *__file,
^~~~~~~~~~~~~
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/cassert:44,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:33,
from ./Main.cpp:527:
/usr/include/assert.h:74:13: error: conflicting declaration of C function ‘void __assert_perror_fail(long long int, const char*, long long unsigned int, const char*)’
extern void __assert_perror_fail (int __errnum, __const char *__file,
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:45,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/container_base_dispatch.hpp:90,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/assoc_container.hpp:48,
from ./Main.cpp:368:
/usr/include/assert.h:74:13: note: previous declaration ‘void __assert_perror_fail(int, const char*, unsigned int, const char*)’
extern void __assert_perror_fail (int __errnum, __const char *__file,
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/cassert:44,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:33,
from ./Main.cpp:527:
/usr/include/assert.h:82:13: error: conflicting declaration of C function ‘void __assert(const char*, const char*, long long int)’
extern void __assert (const char *__assertion, const char *__file, int __line)
^~~~~~~~
In file included from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:45,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/detail/container_base_dispatch.hpp:90,
from /usr/local/gcc-8.2.0/include/c++/8.2.0/ext/pb_ds/assoc_container.hpp:48,
from ./Main.cpp:368:
/usr/include/assert.h:82:13: note: previous declaration ‘void __assert(const char*, const char*, int)’
extern void __assert (const char *__assertion, const char *__file, int __line)
^~~~~~~~
セット
テストケース