/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:91:31: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  scanf("%d%d",&n,&m);cin>>Type+1;
                           ~~~~^~
foo.cc:91:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);cin>>Type+1;
  ~~~~~^~~~~~~~~~~~~~
foo.cc:92:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++)scanf("%lld",val+i);
                       ~~~~~^~~~~~~~~~~~~~
foo.cc:94:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&u,&v);link(u,v);link(v,u);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:122:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d%d",&a,&x,&b,&y);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 512.0 KiB
#6 Accepted 2ms 544.0 KiB
#7 Accepted 2ms 512.0 KiB
#8 Accepted 7ms 2.332 MiB
#9 Accepted 7ms 2.336 MiB
#10 Accepted 6ms 2.238 MiB
#11 Accepted 7ms 2.242 MiB
#12 Accepted 441ms 94.875 MiB
#13 Accepted 438ms 94.977 MiB
#14 Accepted 463ms 95.266 MiB
#15 Accepted 462ms 95.254 MiB
#16 Accepted 469ms 95.246 MiB
#17 Accepted 623ms 95.27 MiB
#18 Accepted 565ms 87.25 MiB
#19 Accepted 552ms 87.258 MiB
#20 Accepted 427ms 90.699 MiB
#21 Accepted 422ms 90.691 MiB
#22 Accepted 464ms 91.074 MiB
#23 Accepted 609ms 91.047 MiB
#24 Accepted 595ms 91.133 MiB
#25 Accepted 561ms 91.078 MiB

信息

递交者
类型
递交
题目
P2063 保卫王国
语言
C++
递交时间
2021-06-28 21:09:22
评测时间
2021-06-28 21:09:22
评测机
分数
100
总耗时
7142ms
峰值内存
95.27 MiB