Download spoj_cpp_clean/AE00/AE00-7.cpp from slayone/uva_spoj_raw: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/datasets/slayone/uva_spoj_raw/resolve/main/spoj_cpp_clean/AE00/AE00-7.cpp
- Command line
-
hf download hf://datasets/slayone/uva_spoj_raw/spoj_cpp_clean/AE00/AE00-7.cpp
-
curl -L -o AE00-7.cpp https://huggingface.co/datasets/slayone/uva_spoj_raw/resolve/main/spoj_cpp_clean/AE00/AE00-7.cpp
215 Bytes
| using namespace std; | |
| int main(){ | |
| int n; | |
| cin >>n; | |
| int cont=0; | |
| for (int i=1; i*i<=n;i++){ | |
| for (int j=i; j*i<=n; j++) | |
| cont++; | |
| } | |
| cout <<cont<<"\n"; | |
| return 0; | |
| } | |