Accepted

foo.cc: In function ‘int main()’:
foo.cc:5:15: warning: unused variable ‘i’ [-Wunused-variable]
    5 |         int n,i,j;
      |               ^
foo.cc:5:17: warning: unused variable ‘j’ [-Wunused-variable]
    5 |         int n,i,j;
      |                 ^
foo.cc:7:17: warning: ‘i’ is used uninitialized [-Wuninitialized]
    7 |         for(int i=i;i<=n;i++)
      |                 ^
foo.cc:7:17: note: ‘i’ was declared here
    7 |         for(int i=i;i<=n;i++)
      |                 ^
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB
#2 Accepted 2ms 540.0 KiB

信息

递交者
类型
递交
题目
P1049 *组成的图形(1)
语言
C++
递交时间
2024-03-29 15:56:41
评测时间
2024-03-29 15:56:41
评测机
分数
100
总耗时
6ms
峰值内存
540.0 KiB