結果

問題 No.907 Continuous Kadomatu
ユーザー pekempeypekempey
提出日時 2019-03-27 12:14:59
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 422 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 29,056 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-13 12:52:58
合計ジャッジ時間 2,635 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 5
other WA * 10 RE * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <assert.h>

int main() {
  int N;
  assert(scanf("%d", &N) == 1);
  assert(getchar() == '\n');
  assert(3 <= N && N <= 100);
  for (int i = 0; i < N; i++) {
    int l, r;
    assert(scanf("%d", &l) == 1);
    assert(getchar() == ' ');
    assert(scanf("%d", &r) == 1);
    assert(getchar() == '\n');
    assert(1 <= l && l < r && r <= 1000000000);
  }
  assert(getchar() == EOF);
  return 0;
}
0