Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:2: error: 'sumj' was not declared in this scope
  sumj=365*yj;
  ^~~~
/in/foo.cc:10:17: error: 'n' was not declared in this scope
  for(int i=1;i<=n;i++)
                 ^
/in/foo.cc:12:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(y+i%4==0&&y+i%100!=0||y+i%100!=0)
      ~~~~~~~~^~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1183 生日日数
语言
C++
递交时间
2023-12-07 15:10:31
评测时间
2023-12-07 15:10:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes