Problem ny_mathexam
User CuriousFox
Submission Time 2024-07-15 20:46:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ny_mathexam.cpp:2:1: error: ‘deftype’ does not name a type; did you mean ‘decltype’?
2 | deftype long long ll
| ^~~~~~~
| decltype
ny_mathexam.cpp: In function ‘int main()’:
ny_mathexam.cpp:6:2: error: ‘ll’ was not declared in this scope
6 | ll r;
| ^~
ny_mathexam.cpp:7:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
7 | cin >> r;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from ny_mathexam.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
ny_mathexam.cpp:7:9: error: ‘r’ was not declared in this scope
7 | cin >> r;
| ^
ny_mathexam.cpp:8:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
8 | cout << (4 * 20 * r * r