結果

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

ソースコード

diff #

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

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

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