/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:8:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf ("%d",&t);
  ~~~~~~^~~~~~~~~
foo.cc:10:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf ("%d",&n);
   ~~~~~~^~~~~~~~~
foo.cc:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf ("%d",&a[i]);
    ~~~~~~^~~~~~~~~~~~
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf ("%d",&b[i]);
    ~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 408.0 KiB
#2 Wrong Answer Read 25102, expect 2. 2ms 396.0 KiB
#3 Runtime Error Segmentation fault 4ms 1.262 MiB
#4 Runtime Error Segmentation fault 3ms 1.438 MiB
#5 Runtime Error Segmentation fault 3ms 1.277 MiB
#6 Runtime Error Segmentation fault 3ms 1.285 MiB
#7 Runtime Error Segmentation fault 3ms 1.285 MiB
#8 Runtime Error Segmentation fault 2ms 1.398 MiB
#9 Runtime Error Segmentation fault 2ms 1.43 MiB
#10 Wrong Answer Read 4994991916, expect 500. 3ms 1.375 MiB

信息

递交者
类型
递交
题目
P1264 神秘的咒语
语言
C++
递交时间
2021-09-30 22:23:19
评测时间
2021-09-30 22:23:19
评测机
分数
10
总耗时
30ms
峰值内存
1.438 MiB