結果
問題 |
No.185 和風
|
ユーザー |
![]() |
提出日時 | 2020-09-20 01:42:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-24 00:12:07 |
合計ジャッジ時間 | 1,179 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 |
ソースコード
a = int(input()) b,c = map(int,input().split()) e = c-b if e <= 0: print(-1) quit() for i in range(a-1): b,c = map(int,input().split()) d = c-b if d != e: print(-1) quit() print(e)