记录详情

Accepted

foo.cc: In function 'bool spfa()':
foo.cc:19:9: warning: unused variable 'num' [-Wunused-variable]
     int num = 0;
         ^~~
foo.cc: In function 'int main()':
foo.cc:45:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:49:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d", &x, &a, &b);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 2.055 MiB
#2 Accepted 6ms 2.855 MiB
#3 Accepted 7ms 2.344 MiB
#4 Accepted 29ms 4.336 MiB
#5 Accepted 4ms 2.305 MiB
#6 Accepted 9ms 2.891 MiB
#7 Accepted 31ms 5.945 MiB
#8 Accepted 48ms 7.211 MiB
#9 Accepted 12ms 3.672 MiB
#10 Accepted 20ms 3.953 MiB

信息

递交者
类型
递交
题目
P1000 糖果
语言
C++
递交时间
2021-07-30 21:34:52
评测时间
2021-07-30 21:34:52
评测机
分数
100
总耗时
172ms
峰值内存
7.211 MiB