Download uva_cpp_clean/10071/10071-5.cpp from slayone/uva_spoj_raw: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/datasets/slayone/uva_spoj_raw/resolve/main/uva_cpp_clean/10071/10071-5.cpp
- Command line
-
hf download hf://datasets/slayone/uva_spoj_raw/uva_cpp_clean/10071/10071-5.cpp
-
curl -L -o 10071-5.cpp https://huggingface.co/datasets/slayone/uva_spoj_raw/resolve/main/uva_cpp_clean/10071/10071-5.cpp
191 Bytes
| main() | |
| { | |
| int v,t; | |
| while(scanf("%d %d",&v,&t)==2) | |
| { | |
| if(v>=-100 && v<=100) | |
| { | |
| if(t>=0 && t<= 200) | |
| printf("%d\n",2*v*t); | |
| } | |
| else | |
| break; | |
| } | |
| return 0; | |
| } | |