/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(register int j=0;j<e[i].size();j++)
                        ~^~~~~~~~~~~~
foo.cc:35:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(register int j=0;j<e[i].size();j++)
                        ~^~~~~~~~~~~~
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld",&n);
  ~~~~~^~~~~~~~~~~
foo.cc:20:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld%lld",&x,&y);
   ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:24:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(register int i=1;i<=n;i++) scanf("%lld",&a[i]);
                                 ~~~~~^~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-28T08:20:44.645Z","handle":"2020-07-28T08:20:44.645Z","cache_start":"2020-07-28T08:20:44.652Z","read_cases":"2020-07-28T08:20:46.374Z","judge":"2020-07-28T08:20:46.374Z","done":"2020-07-28T08:20:47.009Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 6.25 MiB
#2 Accepted 3ms 6.25 MiB
#3 Accepted 2ms 6.25 MiB
#4 Accepted 2ms 6.25 MiB
#5 Accepted 3ms 6.375 MiB
#6 Accepted 3ms 6.285 MiB
#7 Accepted 20ms 8.293 MiB
#8 Accepted 45ms 10.801 MiB
#9 Accepted 76ms 14.055 MiB
#10 Accepted 75ms 13.914 MiB

信息

递交者
类型
递交
题目
P1906 联合权值
语言
C++
递交时间
2020-07-28 16:20:44
评测时间
2020-07-28 16:20:44
评测机
分数
100
总耗时
236ms
峰值内存
14.055 MiB