/ 7FOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:72:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
         if(ji[z1]<=z2&z2%2==1)
            ~~~~~~^~~~
foo.cc:42:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lld%lld%lld",&n,&m,&p);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:50:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lld%lld",&z1,&z2);
         ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:61:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lld%lld",&z1,&z2);
         ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:45:14: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
         ji[i]=99999999;
         ~~~~~^~~~~~~~~
foo.cc:43:24: note: within this loop
     for(long long i=1;i<=100005;i++)
                       ~^~~~~~~~

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-28T08:12:00.360Z","handle":"2020-05-28T08:12:00.360Z","cache_start":"2020-05-28T08:12:00.367Z","read_cases":"2020-05-28T08:12:00.482Z","judge":"2020-05-28T08:12:00.485Z","done":"2020-05-28T08:12:02.251Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 2.875 MiB
#2 Accepted 2ms 2.875 MiB
#3 Accepted 3ms 2.875 MiB
#4 Accepted 2ms 2.875 MiB
#5 Accepted 2ms 2.875 MiB
#6 Accepted 2ms 2.875 MiB
#7 Accepted 2ms 2.875 MiB
#8 Accepted 2ms 2.875 MiB
#9 Accepted 2ms 2.875 MiB
#10 Accepted 2ms 2.875 MiB
#11 Accepted 2ms 2.875 MiB
#12 Accepted 2ms 2.875 MiB
#13 Accepted 5ms 2.875 MiB
#14 Accepted 4ms 2.875 MiB
#15 Accepted 5ms 2.875 MiB
#16 Accepted 5ms 2.875 MiB
#17 Accepted 44ms 5.387 MiB
#18 Accepted 47ms 5.695 MiB
#19 Accepted 49ms 5.227 MiB
#20 Accepted 50ms 5.754 MiB

信息

递交者
类型
递交
题目
P1056 「CSP2019 J」零件加工
语言
C++
递交时间
2020-05-28 16:12:00
评测时间
2020-05-28 16:12:00
评测机
分数
100
总耗时
241ms
峰值内存
5.754 MiB