2 条题解

  • 1
    @ 2026-8-14 17:06:52

    小白代码

    #include <iostream>
    using namespace std;
    int main()
    {
    	short t, p; 
    	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;
    }
    

    信息

    ID
    3425
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    递交数
    103
    已通过
    37
    上传者