Time Exceeded

foo.cc: In function 'int main()':
foo.cc:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    9 |     while (i<=n);
      |     ^~~~~
foo.cc:10:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   10 |     {
      |     ^
foo.cc:12:18: warning: 'k' is used uninitialized in this function [-Wuninitialized]
   12 |      while(j<=n-i+k)
      |               ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1098ms ≥256.0 KiB
#2 Time Exceeded ≥1099ms ≥512.0 KiB

信息

递交者
类型
递交
题目
P1041 *组成的图形(1)
语言
C++
递交时间
2022-07-09 20:34:09
评测时间
2022-07-09 20:34:09
评测机
分数
0
总耗时
≥2198ms
峰值内存
≥512.0 KiB