Time Exceeded

foo.cc: In function ‘int main()’:
foo.cc:5:19: warning: unused variable ‘a’ [-Wunused-variable]
    5 |         int n,i,j,a,b,c;
      |                   ^
foo.cc:5:21: warning: unused variable ‘b’ [-Wunused-variable]
    5 |         int n,i,j,a,b,c;
      |                     ^
foo.cc:5:23: warning: unused variable ‘c’ [-Wunused-variable]
    5 |         int n,i,j,a,b,c;
      |                       ^
foo.cc:8:18: warning: ‘n’ is used uninitialized [-Wuninitialized]
    8 |         for(i=1;i<=n;i++)
      |                 ~^~~
foo.cc:5:13: note: ‘n’ was declared here
    5 |         int n,i,j,a,b,c;
      |             ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1063ms ≥536.0 KiB
#2 Time Exceeded ≥1067ms ≥324.0 KiB

信息

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