結果
| 問題 |
No.185 和風
|
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-10-01 20:54:20 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-11-15 21:45:57 |
| 合計ジャッジ時間 | 943 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 2 |
ソースコード
n = int(input())
li = []
judge = True
for i in range(n):
li.append(list(map(int, input().split())))
for i in li:
if not n + i[0] == i[1]:
judge = False
break
if judge:
print(n)
else:
print("-1")
turner18_jp