結果

問題 No.515 典型LCP
ユーザー ei1333333
提出日時 2017-04-05 01:20:56
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 490 bytes
コンパイル時間 1,250 ms
コンパイル使用メモリ 158,040 KB
実行使用メモリ 29,824 KB
最終ジャッジ日時 2024-07-08 11:08:08
合計ジャッジ時間 2,318 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

typedef long long int64;

int N, M;
int64 x, d;
string S[800000];

int main()
{
  cin >> N;
  assert(1 <= N && N <= 100000);

  int all = 0;
  for(int i = 0; i < N; i++) {
    cin >> S[i];
    for(auto &c : S[i]) assert(islower(c));
    all += S[i].size();
  }
  assert(1 <= all && all <= 800000);

  cin >> M >> x >> d;
  assert(1 <= M && M <= 3000000);
  assert(0 <= x && x < 1LL * N * (N - 1));
  assert(0 <= d && d < 1LL * N * (N - 1));
}
0