| Problem | firstabc | 
|---|---|
| User | christal | 
| Submission Time | 2023-12-06 09:43:08 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 firstabc.cpp: In function ‘int main()’:
firstabc.cpp:13:5: error: expected initializer before ‘int’
   13 |     int ans = (n * (n + 1)) / 2;
      |     ^~~
firstabc.cpp:26:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   26 |             ans += min(b_index, c_index);
      |             ^~~
      |             abs
firstabc.cpp:33:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   33 |             ans += min(a_index, c_index);
      |             ^~~
      |             abs
firstabc.cpp:40:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   40 |             ans += min(a_index, b_index);
      |             ^~~
      |             abs
firstabc.cpp:44:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   44 |     return ans;
      |            ^~~
      |            abs
firstabc.cpp:46:12: error: redeclaration of ‘std::string str’
   46 |     st