結果

問題 No.809 かけ算
ユーザー CleyLCleyL
提出日時 2019-11-29 23:54:08
言語 cLay
(20240104-1)
結果
CE  
実行時間 -
コード長 28 bytes
コンパイル時間 1,466 ms
コンパイル使用メモリ 150,980 KB
最終ジャッジ日時 2023-09-19 00:31:23
合計ジャッジ時間 1,954 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:92:14: error: no matching function for call to ‘wt_L(std::__cxx11::basic_string<char>)’
   wt_L("1 "+a);
              ^
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:14: note:   ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::vector<_Tp>’
   wt_L("1 "+a);
              ^
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:14: note:   ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::set<T>’
   wt_L("1 "+a);
              ^
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:14: note:   ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::multiset<T>’
   wt_L("1 "+a);
              ^
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:14: note:   ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::pair<_T1, _T2>’
   wt_L("1 "+a);
              ^
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: ‘void wt_L(c

ソースコード

diff #

{string a;rd(a);wt("1 "+a);}
0