結果
| 問題 | No.185 和風 |
| コンテスト | |
| ユーザー |
m_yukihiro
|
| 提出日時 | 2015-04-25 18:31:32 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 81,408 KB |
| 最終ジャッジ日時 | 2026-07-17 13:28:00 |
| 合計ジャッジ時間 | 1,461 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 4 |
ソースコード
num = input()
for i in xrange(num):
a, b = raw_input().split(" ")
ans = int(b) - int(a)
if ans < 0:
print "-1"
else:
print ans
m_yukihiro