/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<v[i].size();++j)
               ~^~~~~~~~~~~~
foo.cc:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int k=j+1;k<v[i].size();++k)
                  ~^~~~~~~~~~~~
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:14:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&id[i]);
   ~~~~~^~~~~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&col[i]);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 2.719 MiB
#2 Accepted 3ms 2.676 MiB
#3 Accepted 4ms 2.738 MiB
#4 Accepted 4ms 2.723 MiB
#5 Accepted 28ms 4.832 MiB
#6 Accepted 37ms 5.375 MiB
#7 Accepted 627ms 4.164 MiB
#8 Accepted 115ms 4.465 MiB
#9 Accepted 40ms 4.715 MiB
#10 Accepted 35ms 5.301 MiB

信息

递交者
类型
递交
题目
P1976 求和
语言
C++
递交时间
2021-10-20 20:26:51
评测时间
2021-10-20 20:26:51
评测机
分数
100
总耗时
901ms
峰值内存
5.375 MiB