結果
問題 |
No.338 アンケート機能
|
ユーザー |
![]() |
提出日時 | 2016-01-30 00:36:02 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 51 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-11-08 02:55:54 |
合計ジャッジ時間 | 1,902 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
A,B=map(int,raw_input().split());N=r=201 for a in xrange(N): for b in xrange(N): s=a+b if s and round(a*100./s)==A and round(b*100./s)==B:r=min(r,s) print r