結果
問題 |
No.2864 String of yuusaan
|
ユーザー |
![]() |
提出日時 | 2024-09-12 10:16:32 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 403 bytes |
コンパイル時間 | 2,505 ms |
コンパイル使用メモリ | 246,028 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-26 14:39:49 |
合計ジャッジ時間 | 3,173 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 19 |
ソースコード
#include <bits/stdc++.h> #define _1 (__int128)1 using namespace std; using ll = long long; void FileIO (const string s) { freopen(string(s + ".in").c_str(), "r", stdin); freopen(string(s + ".out").c_str(), "w", stdout); } string ans = "yuusaanuusaan"; ll n, k; signed main () { ios::sync_with_stdio(0), cin.tie(0); // FileIO(""); cin >> n >> k; cout << ans[(k - 1) % 12]; return 0; }