/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:30:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d",ans);
                    ^
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",nums+i);
   ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 3, expect 3. 1ms 256.0 KiB

信息

递交者
类型
自测
题目
P1615 旅行
语言
C++
递交时间
2021-10-11 19:47:57
评测时间
2021-10-11 19:47:57
评测机
分数
0
总耗时
1ms
峰值内存
256.0 KiB