結果
| 問題 | No.2864 String of yuusaan |
| コンテスト | |
| ユーザー |
SPD_9X2
|
| 提出日時 | 2024-08-30 22:58:22 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 69 ms / 2,000 ms |
| + 972µs | |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 255 ms |
| コンパイル使用メモリ | 95,564 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-09-04 21:57:47 |
| 合計ジャッジ時間 | 3,409 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
"""
yuusaanuusaayuusaan
yuusaanuusaayuusaanuus
"""
N,K = map(int,input().split())
if K % 6 == 1:
if ((K-1)//6) % 2 == 0:
print ("y")
else:
print ("n")
else:
print ("yuusaan"[(K-1)%6])
SPD_9X2