Compile Error

foo.cc: In function 'int main()':
foo.cc:8:14: warning: unused variable 'a1' [-Wunused-variable]
    8 |  long long n,a1=1,c1=1,k=0,s=0,b1=1;
      |              ^~
foo.cc:8:19: warning: unused variable 'c1' [-Wunused-variable]
    8 |  long long n,a1=1,c1=1,k=0,s=0,b1=1;
      |                   ^~
foo.cc:8:32: warning: unused variable 'b1' [-Wunused-variable]
    8 |  long long n,a1=1,c1=1,k=0,s=0,b1=1;
      |                                ^~
foo.cc:24:37: error: expected '}' at end of input
   24 |  cout<<mi<<" "<<ma<<" "<<ma-mi<<endl;
      |                                     ^
foo.cc:7:1: note: to match this '{'
    7 | {
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1328 5-7 玩整数
语言
C++
递交时间
2022-07-09 12:30:51
评测时间
2022-07-09 12:30:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes