Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:8:26: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized]
    8 |                 for(j=1;j<=n;j++)
      |                         ~^~~
foo.cc:5:13: note: ‘n’ was declared here
    5 |         int n,i,j;
      |             ^
# 状态 耗时 内存占用
#1 Wrong Answer Read ***********, expect *. 2ms 324.0 KiB
#2 Wrong Answer Read ***********, expect *. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1049 *组成的图形(1)
语言
C++
递交时间
2024-03-29 16:06:13
评测时间
2024-03-29 16:06:13
评测机
分数
0
总耗时
5ms
峰值内存
536.0 KiB