Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:10: warning: comparison of constant '10' with boolean expression is always true [-Wbool-compare]
    7 |   if(1<=T<=10);
      |      ~~~~^~~~
/in/foo.cc:7:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    7 |   if(1<=T<=10);
      |      ~^~~
/in/foo.cc:7:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    7 |   if(1<=T<=10);
      |   ^~
/in/foo.cc:8:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    8 |      cout<<"R";
      |      ^~~~
/in/foo.cc:9:10: warning: comparison of constant '20' with boolean expression is always true [-Wbool-compare]
    9 |   if(10<T<=20);
      |      ~~~~^~~~
/in/foo.cc:9:8: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    9 |   if(10<T<=20);
      |      ~~^~
/in/foo.cc:9:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    9 |   if(10<T<=20);
      |   ^~
/in/foo.cc:10:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   10 |      cout<<"L";
      |      ^~~~
/in/foo.cc:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   11 |   if(T>10);
      |   ^~
/in/foo.cc:12:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   12 |      cout<<T;
      |      ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 480.0 KiB
#2 Wrong Answer 3ms 500.0 KiB
#3 Wrong Answer 2ms 536.0 KiB
#4 Wrong Answer 2ms 376.0 KiB
#5 Wrong Answer 2ms 528.0 KiB
#6 Wrong Answer 2ms 476.0 KiB
#7 Wrong Answer 3ms 480.0 KiB
#8 Wrong Answer 2ms 508.0 KiB
#9 Wrong Answer 3ms 476.0 KiB
#10 Wrong Answer 2ms 488.0 KiB

信息

递交者
类型
递交
题目
P3009 手机电量显示202512GESP1级T2
比赛
2026.1.10初级班结业测试
语言
C++
递交时间
2026-01-10 09:29:17
评测时间
2026-01-10 09:29:17
评测机
分数
0
总耗时
28ms
峰值内存
536.0 KiB