Runtime Error

foo.cc: In function 'int main()':
foo.cc:5:12: warning: unused variable 'j' [-Wunused-variable]
    5 |  int n,k,i,j;
      |            ^
foo.cc:5:10: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
    5 |  int n,k,i,j;
      |          ^
foo.cc:10:15: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   10 |   while(j<=n-i+k)
      |            ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Illegal instruction 2ms 384.0 KiB
#2 Runtime Error Bus error 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1041 *组成的图形(1)
语言
C++
递交时间
2022-07-10 13:19:11
评测时间
2022-07-10 13:19:11
评测机
分数
0
总耗时
5ms
峰值内存
384.0 KiB