結果

問題 No.904 サメトロ
ユーザー pekempey
提出日時 2019-01-18 03:55:26
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 431 bytes
コンパイル時間 185 ms
コンパイル使用メモリ 30,848 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-13 12:11:13
合計ジャッジ時間 2,031 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 24 RE * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int N;
int A[37], B[37];

int main() {
    scanf("%d", &N);
    assert(2 <= N && N <= 37);
    for (int i = 1; i < N; i++) {
        scanf("%d", &A[i]);
        assert(getchar() == ' ');
        scanf("%d", &B[i]);
        assert(getchar() == '\n');
        assert(1 <= A[i] && A[i] <= 10000);
        assert(1 <= B[i] && B[i] <= 10000);
    }
    assert(getchar() == EOF);
    return 0;
}

0