/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:40:9: warning: unused variable 'j' [-Wunused-variable]
   40 |  int i, j, x, y, ans;
      |         ^
foo.cc:41:7: warning: unused variable 'c' [-Wunused-variable]
   41 |  char c;
      |       ^
foo.cc:42:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   42 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:46:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 |    scanf("%d",&a[i]);
      |    ~~~~~^~~~~~~~~~~~
foo.cc:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 |   scanf("%d",&m);
      |   ~~~~~^~~~~~~~~
foo.cc:53:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   53 |     scanf("%d%d",&x,&y);
      |     ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read 0, expect -347590059. 10ms 396.0 KiB
#3 Accepted 4ms 512.0 KiB
#4 Accepted 11ms 796.0 KiB
#5 Accepted 36ms 1.367 MiB
#6 Accepted 38ms 2.117 MiB
#7 Wrong Answer Read 0, expect -372849114. 67ms 2.492 MiB
#8 Accepted 71ms 2.738 MiB
#9 Accepted 110ms 3.902 MiB
#10 Accepted 109ms 3.992 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2022-01-04 11:55:19
评测时间
2022-01-04 11:55:19
评测机
分数
80
总耗时
463ms
峰值内存
3.992 MiB