Problem | shortest |
---|---|
User | DoubleShaurya |
Submission Time | 2024-02-10 13:50:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shortest.cpp: In function ‘int scal2(int, int)’:
shortest.cpp:15:19: error: expected primary-expression before ‘>’ token
15 | if((j*(j+f))<s){>
| ^
shortest.cpp:16:3: error: expected primary-expression before ‘return’
16 | return(s-(j*(j+f)));
| ^~~~~~
shortest.cpp: In function ‘int sqcalc(int, int)’:
shortest.cpp:25:19: error: expected primary-expression before ‘>’ token
25 | if((j*(j+h))<g){>
| ^
shortest.cpp:26:3: error: expected primary-expression before ‘return’
26 | return j;
| ^~~~~~
shortest.cpp: In function ‘int main()’:
shortest.cpp:49:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
49 | cout << setprecision(10)<< sqroot(2,5);
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from shortest.cpp:1: