結果
| 問題 | 
                            No.166 マス埋めゲーム
                             | 
                    
| コンテスト | |
| ユーザー | 
                             a_ten
                         | 
                    
| 提出日時 | 2016-03-24 21:58:41 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 165 bytes | 
| コンパイル時間 | 168 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 13,752 KB | 
| 最終ジャッジ日時 | 2024-10-02 00:14:38 | 
| 合計ジャッジ時間 | 3,880 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 4 WA * 1 TLE * 1 -- * 14 | 
ソースコード
#coding:utf-8 H,W,N,K=map(int,raw_input().split()) all=H*W cnt=0 while 0 < all: all-=1 cnt+=1 if cnt==N: cnt=0 if cnt==K: print 'YES' else: print 'NO'
            
a_ten