結果
| 問題 | No.3475 Many Hello Substrings |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2026-03-20 22:08:49 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 350 bytes |
| 記録 | |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 95,504 KB |
| 実行使用メモリ | 84,096 KB |
| 最終ジャッジ日時 | 2026-08-02 14:51:58 |
| 合計ジャッジ時間 | 1,764 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 7 |
ソースコード
import sys
input = sys.stdin.readline
t=int(input())
for tests in range(t):
N,P,K=list(map(int,input().split()))
if K%P==0:
q=K//P
if N>=q*5:
print("Yes")
continue
if K%P==1:
q=(K-1)//P
if N-5>=q*5:
print("Yes")
continue
print("No")
titia