結果
| 問題 | No.166 マス埋めゲーム |
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-24 21:58:41 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 165 ms |
| コンパイル使用メモリ | 77,220 KB |
| 最終ジャッジ日時 | 2025-12-03 19:55:03 |
|
ジャッジサーバーID (参考情報) |
judge3 / 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