/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:7:12: warning: unused variable 'l' [-Wunused-variable]
     uint n,l,r,mid,len=1;scanf("%u",M);for(n=1;scanf(",%u",M+n)==1;n++);*Ans=M[n-1];
            ^
foo.cc:7:14: warning: unused variable 'r' [-Wunused-variable]
     uint n,l,r,mid,len=1;scanf("%u",M);for(n=1;scanf(",%u",M+n)==1;n++);*Ans=M[n-1];
              ^
foo.cc:7:16: warning: unused variable 'mid' [-Wunused-variable]
     uint n,l,r,mid,len=1;scanf("%u",M);for(n=1;scanf(",%u",M+n)==1;n++);*Ans=M[n-1];
                ^~~
foo.cc:7:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     uint n,l,r,mid,len=1;scanf("%u",M);for(n=1;scanf(",%u",M+n)==1;n++);*Ans=M[n-1];
                          ~~~~~^~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-06T03:19:28.555Z","handle":"2020-08-06T03:19:28.555Z","cache_start":"2020-08-06T03:19:28.562Z","read_cases":"2020-08-06T03:19:28.664Z","judge":"2020-08-06T03:19:28.665Z","done":"2020-08-06T03:19:28.839Z"}
# 状态 耗时 内存占用
#1 Accepted 0ms 128.0 KiB
#2 Accepted 0ms 128.0 KiB
#3 Accepted 0ms 128.0 KiB
#4 Accepted 0ms 128.0 KiB
#5 Accepted 0ms 128.0 KiB
#6 Accepted 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1303 导弹拦截
语言
C++
递交时间
2020-08-06 11:19:28
评测时间
2020-08-06 11:19:28
评测机
分数
100
总耗时
2ms
峰值内存
128.0 KiB