/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<g[f.x].size();i++){
               ~^~~~~~~~~~~~~~
foo.cc:11:8: warning: unused variable 'm' [-Wunused-variable]
  int n,m,a,b,c;
        ^
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:14:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&dis[i]);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 444.0 KiB
#4 Accepted 1ms 464.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 9ms 1.32 MiB
#8 Accepted 5ms 864.0 KiB
#9 Accepted 12ms 1.645 MiB
#10 Accepted 17ms 2.102 MiB

信息

递交者
类型
递交
题目
P1285 佳佳的魔法药水
语言
C++
递交时间
2021-10-14 21:23:28
评测时间
2021-10-14 21:23:28
评测机
分数
100
总耗时
56ms
峰值内存
2.102 MiB