結果
| 問題 | No.185 和風 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-27 16:40:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 85,140 KB |
| 実行使用メモリ | 62,036 KB |
| 最終ジャッジ日時 | 2026-05-08 04:08:36 |
| 合計ジャッジ時間 | 3,621 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 2 |
ソースコード
N = int(input())
x, y = map(int, input().split())
ans = y - x
for i in range(N - 1):
x, y = map(int, input().split())
if y - x != ans:
print(-1)
exit()
print(ans)