Problem | mathexam |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-01-19 14:33:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathexam.cpp: In function ‘int32_t main()’:
mathexam.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n; cin>>n;
| ^
| yn
mathexam.cpp:6:13: error: ‘i’ was not declared in this scope
6 | for(int i = 0; i<n; i++){
| ^
mathexam.cpp:7:13: error: ‘n1’ was not declared in this scope; did you mean ‘y1’?
7 | int n1,n2; cin>>n1;
| ^~
| y1
mathexam.cpp:7:16: error: ‘n2’ was not declared in this scope
7 | int n1,n2; cin>>n1;
| ^~
mathexam.cpp:10:17: error: ‘number’ was not declared in this scope
10 | int number = (n1+n2)/2;
| ^~~~~~
mathexam.cpp:14:17: error: ‘number’ was not declared in this scope
14 | int number = floor(sqrt(n1*n1+n2*n2));
| ^~~~~~
mathexam.cpp:27:21: