結果

問題 No.390 最長の数列
コンテスト
ユーザー kotatsugame
提出日時 2019-10-12 06:48:42
言語 cLay
(20250308-1 + boost 1.89.0)
コンパイル:
clayc _filename_
実行:
./a.out
結果
CE  
実行時間 -
コード長 92 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,867 ms
コンパイル使用メモリ 185,952 KB
最終ジャッジ日時 2026-03-26 22:14:39
合計ジャッジ時間 3,655 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、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:590:13: note: candidate: ‘void wt_L(char)’ (near match)
  590 | inline void wt_L(const 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]
  634 |   wt_L(D);
      |        ^
      |        |
      |        long long int*
main.cpp:593:13: note: candidate: ‘void wt_L(long long int)’ (near match)
  593 | inline void wt_L(long long x){
      |             ^~~~
main.cpp:593:13: note:   conversion of argument 1 would be ill-formed:
main.cpp:634:8: error: invalid conversion from ‘long long int*’ to ‘long long int’ [-fpermissive]
  634 |   wt_L(D);
      |        ^
      |        |
      |        long long int*
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:   

ソースコード

diff #
raw source code

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));
}
0