Problem | prefixsums |
---|---|
User | ToiletBrIcker |
Submission Time | 2024-06-19 09:06:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp:9:1: error: stray ‘`’ in program
9 | ` std::cin >> A[i]
| ^
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:3:7: error: ‘cin’ is not a member of ‘std’
3 | std::cin >> N >> Q;
| ^~~
prefixsums.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main(){
prefixsums.cpp:6:2: error: expected initializer before ‘A’
6 | A[0] = 0;
| ^
prefixsums.cpp:9:9: error: ‘cin’ is not a member of ‘std’
9 | ` std::cin >> A[i]
| ^~~
prefixsums.cpp:9:9: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
prefixsums.cpp:9:16: error: ‘A’ was not declared in this scope
9 | ` std::cin >> A[i]
| ^
prefixsums.cpp:12:3: error: ‘A’ was not declared in this scope