結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー | CleyL |
提出日時 | 2020-01-18 02:04:34 |
言語 | cLay (20240104-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 29 bytes |
コンパイル時間 | 1,550 ms |
コンパイル使用メモリ | 150,964 KB |
最終ジャッジ日時 | 2023-09-19 00:35:13 |
合計ジャッジ時間 | 2,197 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:92:15: error: no matching function for call to ‘wt_L(std::__cxx11::basic_string<char>)’ wt_L(s+"ham"); ^ main.cpp:69:31: note: candidate: ‘template<class T> void wt_L(std::vector<_Tp>)’ template<class T> inline void wt_L(vector<T> x); ^~~~ main.cpp:69:31: note: template argument deduction/substitution failed: main.cpp:92:15: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::vector<_Tp>’ wt_L(s+"ham"); ^ main.cpp:70:31: note: candidate: ‘template<class T> void wt_L(std::set<T>)’ template<class T> inline void wt_L(set<T> x); ^~~~ main.cpp:70:31: note: template argument deduction/substitution failed: main.cpp:92:15: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::set<T>’ wt_L(s+"ham"); ^ main.cpp:71:31: note: candidate: ‘template<class T> void wt_L(std::multiset<T>)’ template<class T> inline void wt_L(multiset<T> x); ^~~~ main.cpp:71:31: note: template argument deduction/substitution failed: main.cpp:92:15: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::multiset<T>’ wt_L(s+"ham"); ^ main.cpp:72:42: note: candidate: ‘template<class T1, class T2> void wt_L(std::pair<_T1, _T2>)’ template<class T1, class T2> inline void wt_L(pair<T1,T2> x); ^~~~ main.cpp:72:42: note: template argument deduction/substitution failed: main.cpp:92:15: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::pair<_T1, _T2>’ wt_L(s+"ham"); ^ main.cpp:73:13: note: candidate: ‘void wt_L(char)’ inline void wt_L(char a){ ^~~~ main.cpp:73:13: note: no known conversion for argument 1 from ‘std::__cxx11::basic_string<char>’ to ‘char’ main.cpp:76:13: note: candidate: ‘v
ソースコード
{string s;rd(s);wt(s+"ham");}