提出 #9641031
ソースコード 拡げる
H=int(input()) W=int(input()) N=int(input()) if H<=W: big=W else: big=H if N%big==0: ans=N//big else: ans=N//big+1 print(ans)
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Painting |
| ユーザ | tatopr |
| 言語 | Python (3.4.3) |
| 得点 | 100 |
| コード長 | 134 Byte |
| 結果 | AC |
| 実行時間 | 17 ms |
| メモリ | 2940 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample-01.txt, sample-02.txt, sample-03.txt |
| All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, sample-01.txt, sample-02.txt, sample-03.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 01.txt | AC | 17 ms | 2940 KiB |
| 02.txt | AC | 17 ms | 2940 KiB |
| 03.txt | AC | 17 ms | 2940 KiB |
| 04.txt | AC | 17 ms | 2940 KiB |
| 05.txt | AC | 17 ms | 2940 KiB |
| 06.txt | AC | 17 ms | 2940 KiB |
| 07.txt | AC | 17 ms | 2940 KiB |
| sample-01.txt | AC | 17 ms | 2940 KiB |
| sample-02.txt | AC | 17 ms | 2940 KiB |
| sample-03.txt | AC | 17 ms | 2940 KiB |