1 条题解

  • 0
    @ 2026-1-10 23:27:05
    #include <bits/stdc++.h>
    using namespace std;
    const int N = 1e5+10;
    const int INF = 0x3f3f3f3f;
    int t,p; 
    int main()
    {
    	cin>>t;
    	while(t--){
    	cin>>p;
    	if(p<=10)
    	cout<<"R"<<endl;
    	else if(p>10&&p<=20)
    	cout<<"L"<<endl;
    	else
    	cout<<p<<endl;	
    	}
    
    	return 0;
    }
    
    
    
    
    • 1

    信息

    ID
    3425
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    递交数
    61
    已通过
    20
    上传者