結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー | hkawa117 |
提出日時 | 2015-09-04 09:21:04 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 364 bytes |
コンパイル時間 | 57 ms |
コンパイル使用メモリ | 6,524 KB |
実行使用メモリ | 6,284 KB |
最終ジャッジ日時 | 2023-09-26 04:18:07 |
合計ジャッジ時間 | 2,427 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 12 ms
5,976 KB |
testcase_02 | AC | 11 ms
5,976 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 13 ms
6,004 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | AC | 12 ms
5,952 KB |
testcase_12 | WA | - |
ソースコード
import itertools as it v = 30000 * 100 N = int(raw_input()) exprate = {} for i in range(1, N + 1): g, d = map(int, raw_input().split()) exprate[i] = g - 30000 * d maxexp = max(exprate.values()) if maxexp * 6 < v: print 'NO' else: print 'YES' for i in range(1, 7): exprate[i] = maxexp for j in range(1, 7): print i