| Problem | chemistry |
|---|---|
| User | CHRK |
| Submission Time | 2026-02-21 21:25:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
chemistry.cpp: In function ‘int main()’:
chemistry.cpp:7:5: error: expected primary-expression before ‘<’ token
7 | <long long> A(N);
| ^
chemistry.cpp:7:6: error: expected primary-expression before ‘long’
7 | <long long> A(N);
| ^~~~
chemistry.cpp:8:40: error: ‘A’ was not declared in this scope
8 | for (int i = 0; i < N; i++) cin >> A[i];
| ^
chemistry.cpp:15:41: error: ‘A’ was not declared in this scope
15 | if (mask & (1 << i)) sum += A[i];
| ^