結果
問題 |
No.166 マス埋めゲーム
|
ユーザー |
![]() |
提出日時 | 2018-11-25 03:08:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 279 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 24,520 KB |
最終ジャッジ日時 | 2024-12-24 19:34:48 |
合計ジャッジ時間 | 27,795 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 TLE * 13 |
ソースコード
H,W,N,K = map(int,input().split()) masu_sum = H * W flag = True while True: if flag == False: break for i in range(1,N+1): masu_sum -= 1 if masu_sum == 0: flag = False break if i == K: print("YES") else: print("NO")