/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:26:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |         for(int i=0;i<g[f.x].size();i++){
      |                     ~^~~~~~~~~~~~~~
foo.cc:11:11: warning: unused variable 'm' [-Wunused-variable]
   11 |     int n,m,a,b,c;
      |           ^
foo.cc:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:14:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |         scanf("%d",&dis[i]);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 7ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 13ms 1.371 MiB
#8 Accepted 11ms 896.0 KiB
#9 Accepted 16ms 1.617 MiB
#10 Accepted 42ms 1.992 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2022-03-14 21:25:04
评测时间
2022-03-14 21:25:04
评测机
分数
100
总耗时
110ms
峰值内存
1.992 MiB