結果
問題 | No.185 和風 |
ユーザー | tkr182 |
提出日時 | 2019-02-27 13:39:49 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 127 bytes |
コンパイル時間 | 102 ms |
コンパイル使用メモリ | 10,572 KB |
実行使用メモリ | 7,928 KB |
最終ジャッジ日時 | 2023-09-05 09:15:30 |
合計ジャッジ時間 | 1,007 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 19 ms
7,804 KB |
testcase_01 | AC | 19 ms
7,928 KB |
testcase_02 | AC | 18 ms
7,844 KB |
testcase_03 | AC | 18 ms
7,892 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 19 ms
7,848 KB |
ソースコード
s=[] for i in range(int(input())): x,y=map(int,input().split()) s.append(y-x) print(s[0]if len(list(set(s)))==1 else-1)