记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:5:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 {   int a,b(0<a<b<10000),k(0<=k<=9); cin>>a>>b>>k;
             ~^~
foo.cc:5:18: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
 {   int a,b(0<a<b<10000),k(0<=k<=9); cin>>a>>b>>k;
             ~~~~~^~~~~~
foo.cc:5:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 {   int a,b(0<a<b<10000),k(0<=k<=9); cin>>a>>b>>k;
             ~~~^~
foo.cc:5:32: warning: comparison of constant '9' with boolean expression is always true [-Wbool-compare]
 {   int a,b(0<a<b<10000),k(0<=k<=9); cin>>a>>b>>k;
                            ~~~~^~~
foo.cc:5:29: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 {   int a,b(0<a<b<10000),k(0<=k<=9); cin>>a>>b>>k;
                            ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1211 C5 页码中有多少个k
比赛
2020苏青奥赛集训营(2021-1-30课堂小练)
语言
C++
递交时间
2021-01-30 20:10:19
评测时间
2021-01-30 20:10:19
评测机
分数
100
总耗时
11ms
峰值内存
384.0 KiB