結果
| 問題 | No.392 2分木をたどれ |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-04-22 21:26:29 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 1,023 ms |
| コンパイル使用メモリ | 207,896 KB |
| 実行使用メモリ | 9,400 KB |
| 最終ジャッジ日時 | 2026-07-10 04:03:56 |
| 合計ジャッジ時間 | 1,908 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
#include<bits/stdc++.h>
#define int long long
using namespace std;
int t,n;
signed main(){
// freopen("path.in","r",stdin);
// freopen("path.out","w",stdout);
cin>>t;
while(t--){
scanf("%lld",&n);
while(n){
printf("%c",n%2==0?'R':'L');
n=(n-1)/2;
}
printf("\n");
}
return 0;
}
vjudge1