记录详情

Runtime Error

foo.cc: In function 'int power(int, int, BigInt&)':
foo.cc:13:6: warning: unused variable 'cnt' [-Wunused-variable]
   13 |  int cnt=0;
      |      ^~~
foo.cc:30:1: warning: no return statement in function returning non-void [-Wreturn-type]
   30 | }
      | ^
foo.cc:28:10: warning: 'i' is used uninitialized in this function [-Wuninitialized]
   28 |  for(int i; s<1000; s++,i++)
      |          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 12ms 4.375 MiB
#2 Runtime Error Segmentation fault 13ms 4.25 MiB
#3 Runtime Error Segmentation fault 12ms 4.25 MiB
#4 Runtime Error Segmentation fault 8ms 4.25 MiB
#5 Runtime Error Segmentation fault 15ms 4.25 MiB

信息

递交者
类型
递交
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 21:47:00
评测时间
2022-08-07 21:47:00
评测机
分数
0
总耗时
62ms
峰值内存
4.375 MiB