/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   33 |  scanf("%d%d", &n, &q);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   35 |   scanf("%d", &a[i]);
      |   ~~~~~^~~~~~~~~~~~~
foo.cc:39:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   39 |   scanf("%d%d", &x, &y);
      |   ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 5ms 384.0 KiB
#2 Runtime Error Segmentation fault 4ms 512.0 KiB
#3 Runtime Error Segmentation fault 4ms 512.0 KiB
#4 Runtime Error Segmentation fault 3ms 512.0 KiB
#5 Runtime Error Segmentation fault 3ms 512.0 KiB
#6 Runtime Error Segmentation fault 4ms 640.0 KiB
#7 Runtime Error Segmentation fault 2ms 512.0 KiB
#8 Runtime Error Segmentation fault 4ms 512.0 KiB
#9 Runtime Error Segmentation fault 2ms 512.0 KiB
#10 Runtime Error Segmentation fault 3ms 512.0 KiB

信息

递交者
类型
递交
题目
P1369 【模板】最近公共祖先(LCA)
题目数据
下载
语言
C++
递交时间
2022-07-22 10:38:34
评测时间
2022-07-22 10:38:34
评测机
分数
0
总耗时
38ms
峰值内存
640.0 KiB