結果
| 問題 | No.2607 Add One Digit |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-01-19 21:23:24 |
| 言語 | cLay (20241019-1 + boost 1.89.0) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 124 bytes |
| 記録 | |
| コンパイル時間 | 2,418 ms |
| コンパイル使用メモリ | 167,964 KB |
| 最終ジャッジ日時 | 2024-09-28 03:52:24 |
| 合計ジャッジ時間 | 2,723 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:233:7: error: call of overloaded ‘wt_L(std::set<long long int>::size_type)’ is ambiguous
233 | wt_L(S.size());
| ~~~~^~~~~~~~~~
main.cpp:73:13: note: candidate: ‘void wt_L(char)’
73 | inline void wt_L(const char a){
| ^~~~
main.cpp:76:13: note: candidate: ‘void wt_L(int)’
76 | inline void wt_L(int x){
| ^~~~
main.cpp:98:13: note: candidate: ‘void wt_L(unsigned int)’
98 | inline void wt_L(unsigned x){
| ^~~~
main.cpp:112:13: note: candidate: ‘void wt_L(long long int)’
112 | inline void wt_L(long long x){
| ^~~~
main.cpp:134:13: note: candidate: ‘void wt_L(long long unsigned int)’
134 | inline void wt_L(unsigned long long x){
| ^~~~
main.cpp:155:13: note: candidate: ‘void wt_L(double)’
155 | inline void wt_L(double x){
| ^~~~
ソースコード
string@N;set<ll>S;REP(i,N.size()+1)REP(d,0,10)S.insert(stoll(N.substr(0,i)+to_string(d)+N.substr(i,N.size())));wt(S.size());