Runtime Error

foo.cc: In function 'int main()':
foo.cc:7:13: warning: unused variable 's' [-Wunused-variable]
    7 |  int n,n1,x,s=0,d1=1,zc=0;
      |             ^
foo.cc:38:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   38 |  cout<<x-zc;
      |          ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 30, expect 29. 2ms 384.0 KiB
#2 Wrong Answer Read 291, expect 264. 2ms 384.0 KiB
#3 Wrong Answer Read -23610, expect 950. 15ms 384.0 KiB
#4 Runtime Error Segmentation fault 12ms 512.0 KiB
#5 Runtime Error Segmentation fault 14ms 768.0 KiB

信息

递交者
类型
递交
题目
P1322 2-3 参赛人数
语言
C++
递交时间
2022-05-19 20:08:50
评测时间
2022-05-19 20:08:50
评测机
分数
0
总耗时
48ms
峰值内存
768.0 KiB