結果
| 問題 |
No.390 最長の数列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-10-12 06:48:42 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 92 bytes |
| コンパイル時間 | 3,242 ms |
| コンパイル使用メモリ | 169,492 KB |
| 最終ジャッジ日時 | 2024-07-05 13:24:38 |
| 合計ジャッジ時間 | 4,030 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:634:7: error: no matching function for call to ‘wt_L(long long int [2000000])’
634 | wt_L(D);
| ~~~~^~~
main.cpp:586:31: note: candidate: ‘template<class T> void wt_L(const std::vector<_Tp>&)’
586 | template<class T> inline void wt_L(const vector<T> &x);
| ^~~~
main.cpp:586:31: note: template argument deduction/substitution failed:
main.cpp:634:7: note: mismatched types ‘const std::vector<_Tp>’ and ‘long long int [2000000]’
634 | wt_L(D);
| ~~~~^~~
main.cpp:587:31: note: candidate: ‘template<class T> void wt_L(const std::set<T>&)’
587 | template<class T> inline void wt_L(const set<T> &x);
| ^~~~
main.cpp:587:31: note: template argument deduction/substitution failed:
main.cpp:634:7: note: mismatched types ‘const std::set<T>’ and ‘long long int [2000000]’
634 | wt_L(D);
| ~~~~^~~
main.cpp:588:31: note: candidate: ‘template<class T> void wt_L(const std::multiset<T>&)’
588 | template<class T> inline void wt_L(const multiset<T> &x);
| ^~~~
main.cpp:588:31: note: template argument deduction/substitution failed:
main.cpp:634:7: note: mismatched types ‘const std::multiset<T>’ and ‘long long int [2000000]’
634 | wt_L(D);
| ~~~~^~~
main.cpp:589:42: note: candidate: ‘template<class T1, class T2> void wt_L(std::pair<_T1, _T2>)’
589 | template<class T1, class T2> inline void wt_L(const pair<T1,T2> x);
| ^~~~
main.cpp:589:42: note: template argument deduction/substitution failed:
main.cpp:634:7: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘long long int*’
634 | wt_L(D);
| ~~~~^~~
main.cpp:590:13: note: candidate: ‘void wt_L(char)’ (near match)
590 | inline void wt_L(const char a){
| ^~~~
main.cpp:590:13: note: conve
ソースコード
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));
}