結果
問題 |
No.185 和風
|
ユーザー |
![]() |
提出日時 | 2017-10-01 21:04:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 141 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-15 21:46:00 |
合計ジャッジ時間 | 802 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 2 |
ソースコード
n = int(input()) li = [] judge = True for i in range(n): f, s = (int(i) for i in input().split()) li.append(s - f) for i in range(len(li)): if not li[i] == li[0]: judge = False break if judge: print(li[0]) else: print('-1')