結果
問題 |
No.859 路線A、路線B、路線C
|
ユーザー |
![]() |
提出日時 | 2025-06-12 21:44:30 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 216 bytes |
コンパイル時間 | 250 ms |
コンパイル使用メモリ | 81,536 KB |
実行使用メモリ | 51,712 KB |
最終ジャッジ日時 | 2025-06-12 21:48:56 |
合計ジャッジ時間 | 1,479 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 7 |
ソースコード
x, y, z = map(int, input().split()) S0, t0 = input().split() t0 = int(t0) S1, t1 = input().split() t1 = int(t1) if S0 == S1: print(abs(t0 - t1)) else: if t0 == t1: print(1) else: print(2)