Problem | prefixsums |
---|---|
User | supercel980 |
Submission Time | 2024-07-26 16:51:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin.tie(0); ios_base::sync_with_stdio(0); cout.tie(0)
| ^~~
prefixsums.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
prefixsums.cpp:4:17: error: ‘ios_base’ has not been declared
4 | cin.tie(0); ios_base::sync_with_stdio(0); cout.tie(0)
| ^~~~~~~~
prefixsums.cpp:4:47: error: ‘cout’ was not declared in this scope
4 | cin.tie(0); ios_base::sync_with_stdio(0); cout.tie(0)
| ^~~~
prefixsums.cpp:4:47: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
prefixsums.cpp:6:12: error: ‘A’ was not declared in this scope
6 | cin >> A >> Q;