結果
問題 |
No.392 2分木をたどれ
|
ユーザー |
![]() |
提出日時 | 2025-04-18 15:26:39 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 4,467 ms |
コンパイル使用メモリ | 208,224 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-18 15:26:45 |
合計ジャッジ時間 | 4,976 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 3 |
ソースコード
#include<bits/stdc++.h> #define int long long using namespace std; void sol(){ int n,c; cin>>n; n++; while(n>1){ if(n&1) cout<<"L"; else cout<<"R"; n>>=1; }cout<<endl; } signed main(){ // freopen(".in","r",stdin); // freopen(".out","w",stdout); int T; cin>>T; while(T--) sol(); }