結果
問題 |
No.2864 String of yuusaan
|
ユーザー |
![]() |
提出日時 | 2024-08-31 01:16:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 262 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-08-31 01:16:28 |
合計ジャッジ時間 | 1,783 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 6 WA * 12 |
ソースコード
import sys input = sys.stdin.readline S="yuusaan" X="yuusaan" for i in range(5): T="" for s in S: if s=="y" or s=="n": T+=X else: T+=s S=T N,K=map(int,input().split()) S="yuusaanuusaa" N-=1 print(S[K%12])