結果
問題 | No.390 最長の数列 |
ユーザー | kotatsugame |
提出日時 | 2019-10-12 06:48:42 |
言語 | cLay (20240104-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 92 bytes |
コンパイル時間 | 3,521 ms |
コンパイル使用メモリ | 165,212 KB |
最終ジャッジ日時 | 2023-09-19 00:27:18 |
合計ジャッジ時間 | 4,758 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:634:9: error: no matching function for call to ‘wt_L(long long int [2000000])’ wt_L(D); ^ main.cpp:586:31: note: candidate: ‘template<class T> void wt_L(std::vector<_Tp>)’ template<class T> inline void wt_L(vector<T> x); ^~~~ main.cpp:586:31: note: template argument deduction/substitution failed: main.cpp:634:9: note: mismatched types ‘std::vector<_Tp>’ and ‘long long int*’ wt_L(D); ^ main.cpp:587:31: note: candidate: ‘template<class T> void wt_L(std::set<T>)’ template<class T> inline void wt_L(set<T> x); ^~~~ main.cpp:587:31: note: template argument deduction/substitution failed: main.cpp:634:9: note: mismatched types ‘std::set<T>’ and ‘long long int*’ wt_L(D); ^ main.cpp:588:31: note: candidate: ‘template<class T> void wt_L(std::multiset<T>)’ template<class T> inline void wt_L(multiset<T> x); ^~~~ main.cpp:588:31: note: template argument deduction/substitution failed: main.cpp:634:9: note: mismatched types ‘std::multiset<T>’ and ‘long long int*’ wt_L(D); ^ main.cpp:589: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:589:42: note: template argument deduction/substitution failed: main.cpp:634:9: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘long long int*’ wt_L(D); ^ main.cpp:590:13: note: candidate: ‘void wt_L(char)’ <near match> inline void wt_L(char a){ ^~~~ main.cpp:590:13: note: conversion of argument 1 would be ill-formed: main.cpp:634:8: error: invalid conversion from ‘long long int*’ to ‘char’ [-fpermissive] wt_L(D); ^ main.cpp:593:13: note: candidate: ‘void wt_L(long long int)’ <near match>
ソースコード
ll N,D[2d6]; { rd(N,D(N)); sortA(N,D); rep(i,N)rep(j,i,2d6,i)D[j]>?=D[i]; wt(max(D)); }