/ StarOI /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:3: error: 'll' was not declared in this scope
   ll n = 0, a = 0, ans = 0;
   ^~
/in/foo.cc:7:10: error: 'n' was not declared in this scope
   cin >> n;
          ^
/in/foo.cc:9:12: error: 'a' was not declared in this scope
     cin >> a;
            ^
/in/foo.cc:13:5: error: 'a' was not declared in this scope
     a = pq.top(), pq.pop();
     ^
/in/foo.cc:15:5: error: 'ans' was not declared in this scope
     ans += a, pq.push(a);
     ^~~
/in/foo.cc:18:5: error: 'a' was not declared in this scope
     a = pq.top(), pq.pop();
     ^
/in/foo.cc:26:7: error: 'ans' was not declared in this scope
       ans += a, pq.push(a);
       ^~~
/in/foo.cc:29:11: error: 'ans' was not declared in this scope
   cout << ans << endl;
           ^~~

信息

递交者
类型
递交
题目
Bob and Chips
语言
C++
递交时间
2018-09-17 21:44:48
评测时间
2018-09-17 21:44:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes