Problem cuberoot
User SharpnessChipped
Submission Time 2023-06-12 23:53:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp:1:2: error: invalid preprocessing directive #incude; did you mean #include?
1 | #incude <bits/stdc++.h>
| ^~~~~~
| include
cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> t;
| ^~~
cuberoot.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #incude <bits/stdc++.h>
cuberoot.cpp:12:3: error: ‘cout’ was not declared in this scope
12 | cout << pow(i, 1/3) << "\n";
| ^~~~
cuberoot.cpp:12:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
cuberoot.cpp:12:11: error: ‘pow’ was not declared in this scope
12 | cout << pow(i, 1/3) << "\n";
| ^~~