結果
問題 | No.185 和風 |
ユーザー | m_yukihiro |
提出日時 | 2015-04-25 18:31:32 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 141 bytes |
コンパイル時間 | 434 ms |
コンパイル使用メモリ | 6,632 KB |
実行使用メモリ | 5,996 KB |
最終ジャッジ日時 | 2023-09-18 11:24:45 |
合計ジャッジ時間 | 714 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 12 ms
5,908 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 13 ms
5,992 KB |
testcase_05 | WA | - |
testcase_06 | AC | 13 ms
5,980 KB |
ソースコード
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