結果
問題 |
No.2864 String of yuusaan
|
ユーザー |
|
提出日時 | 2024-08-30 22:13:04 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 3,020 ms |
コンパイル使用メモリ | 244,380 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-08-30 22:13:08 |
合計ジャッジ時間 | 3,695 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 11 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; int main(){ ll n,k; cin>>n>>k; if(n==1){ string s="yuusaan"; cout<<s[k-1]<<endl; exit(0); } k%=12; string s="yuusaanuusaa"; cout<<s[k]<<endl; }