Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:4: error: 'flag' was not declared in this scope
    flag=0;
    ^~~~
/in/foo.cc:66:6: error: expected ';' before '}' token
      }
      ^
/in/foo.cc:69:8: error: expected primary-expression before ')' token
    for()
        ^
/in/foo.cc:70:4: error: expected primary-expression before '}' token
    } 
    ^
/in/foo.cc:70:4: error: expected ';' before '}' token
/in/foo.cc:70:4: error: expected primary-expression before '}' token
/in/foo.cc:70:4: error: expected ')' before '}' token
/in/foo.cc:70:4: error: expected primary-expression before '}' token
/in/foo.cc:22:14: warning: unused variable 'temp' [-Wunused-variable]
    struct ST temp;
              ^~~~
/in/foo.cc:23:16: warning: unused variable 'fleg' [-Wunused-variable]
    int n,i,j,k,fleg;
                ^~~~

信息

递交者
类型
递交
题目
P1154 结构体-手机通话记录2
语言
C++
递交时间
2021-11-14 18:53:23
评测时间
2021-11-14 18:53:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes