結果
問題 | No.2864 String of yuusaan |
ユーザー |
|
提出日時 | 2024-08-31 20:18:13 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 2,831 ms |
コンパイル使用メモリ | 243,256 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-26 14:38:52 |
合計ジャッジ時間 | 3,670 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 19 |
ソースコード
#include <bits/stdc++.h> using i64 = long long; int main() { std::cin.tie(nullptr)->sync_with_stdio(false); i64 n, k; std::cin >> n >> k; --k; const std::string s = "yuusaanuusaa"; std::cout << s[k % s.size()] << '\n'; return 0; }