Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(n=4)
     ~^~
foo.cc:6:8: warning: unused variable 'i' [-Wunused-variable]
  int n,i,j,k,m;
        ^
foo.cc:6:10: warning: unused variable 'j' [-Wunused-variable]
  int n,i,j,k,m;
          ^
foo.cc:6:12: warning: unused variable 'k' [-Wunused-variable]
  int n,i,j,k,m;
            ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Wrong Answer Read ****************..., expect ****************.... 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1155 *组成的图形(6)
语言
C++
递交时间
2021-11-20 20:03:23
评测时间
2021-11-20 20:03:23
评测机
分数
50
总耗时
3ms
峰值内存
384.0 KiB