Problem | exponentiate |
---|---|
User | AndyBoiiii725 |
Submission Time | 2022-12-27 16:35:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:18:8: error: ‘cin’ is not a member of ‘std’
18 | std::cin >> T;
| ^~~
exponentiate.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <cstdint>
+++ |+#include <iostream>
2 |
exponentiate.cpp:21:10: error: ‘cin’ is not a member of ‘std’
21 | std::cin >> A >> B >> M;
| ^~~
exponentiate.cpp:21:10: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exponentiate.cpp:22:10: error: ‘cout’ is not a member of ‘std’
22 | std::cout << exponentiate(A, B, M) << std::endl;
| ^~~~
exponentiate.cpp:22:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
exponentiate.cpp:22:48: error: ‘endl’ i