結果
| 問題 | No.2864 String of yuusaan |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-30 22:29:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 84,912 KB |
| 実行使用メモリ | 53,432 KB |
| 最終ジャッジ日時 | 2026-04-03 23:42:36 |
| 合計ジャッジ時間 | 1,592 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 12 |
ソースコード
import os, sys
if os.path.exists("input.txt"):
sys.stdin = open('input.txt', 'r')
N, K = map(int, input().split())
if K <= 7:
K -= 1
print('yuusaan'[K])
else:
K -= 7
K %= 12
print('uusaayuusaan'[K])