結果
| 問題 | No.3475 Many Hello Substrings |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2026-03-20 22:08:49 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 350 bytes |
| 記録 | |
| コンパイル時間 | 320 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 64,364 KB |
| 最終ジャッジ日時 | 2026-03-20 22:08:56 |
| 合計ジャッジ時間 | 3,039 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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