记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:81:23: warning: division by zero [-Wdiv-by-zero]
   81 |             cout << 2 / 0 << endl;
      |                     ~~^~~
foo.cc:54:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |     scanf("%d %d", &n, &q);
      |     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:63:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   63 |         scanf("%d", &op);
      |         ~~~~~^~~~~~~~~~~
foo.cc:66:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   66 |             scanf("%d %d %d", &l, &r, &v);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:70:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   70 |             scanf("%d %d", &x, &v);
      |             ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   77 |             scanf("%d", &x);
      |             ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Illegal instruction 6ms 512.0 KiB
#2 Runtime Error Illegal instruction 3ms 384.0 KiB
#3 Runtime Error Illegal instruction 5ms 512.0 KiB
#4 Runtime Error Illegal instruction 5ms 512.0 KiB
#5 Runtime Error Illegal instruction 4ms 512.0 KiB
#6 Runtime Error Illegal instruction 3ms 512.0 KiB
#7 Runtime Error Illegal instruction 3ms 512.0 KiB
#8 Runtime Error Illegal instruction 223ms 16.992 MiB
#9 Runtime Error Illegal instruction 185ms 16.992 MiB
#10 Runtime Error Illegal instruction 199ms 16.992 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-09 16:40:58
评测时间
2022-07-09 16:40:58
评测机
分数
0
总耗时
639ms
峰值内存
16.992 MiB