Problem | mathexam |
---|---|
User | DoubleShaurya |
Submission Time | 2024-03-22 15:08:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathexam.cpp: In function ‘int main()’:
mathexam.cpp:12:5: error: ‘vector’ was not declared in this scope
12 | vector<string> results; // Use string for formatted output
| ^~~~~~
mathexam.cpp:4:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
3 | #include <iomanip>
+++ |+#include <vector>
4 | #include <limits>
mathexam.cpp:12:18: error: expected primary-expression before ‘>’ token
12 | vector<string> results; // Use string for formatted output
| ^
mathexam.cpp:12:20: error: ‘results’ was not declared in this scope
12 | vector<string> results; // Use string for formatted output
| ^~~~~~~
mathexam.cpp:32:33: error: ‘sqrt’ was not declared in this scope
32 | double result = sqrt(A * A + B * B);
| ^~~