/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:104:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&k);
  ~~~~~^~~~~~~~~
foo.cc:105:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:111:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%s",&a[i],&b[i],str[i]+1);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 3069, expect 2721. 1ms 384.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer Read 1773, expect 1682. 1ms 384.0 KiB
#6 Runtime Error Segmentation fault 1ms 392.0 KiB
#7 Wrong Answer Read 2553, expect 2523. 1ms 384.0 KiB
#8 Wrong Answer Read 2552, expect 2246. 1ms 384.0 KiB
#9 Runtime Error Segmentation fault 1ms 384.0 KiB
#10 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1169 丘比特的烦恼
语言
C++
递交时间
2021-11-05 09:48:10
评测时间
2021-11-05 09:48:10
评测机
分数
30
总耗时
17ms
峰值内存
392.0 KiB