Download 1/tset1.cpp from Beifengdo/Microcontrollers: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/datasets/Beifengdo/Microcontrollers/resolve/main/1/tset1.cpp
- Command line
-
hf download hf://datasets/Beifengdo/Microcontrollers/1/tset1.cpp
-
curl -L -o tset1.cpp https://huggingface.co/datasets/Beifengdo/Microcontrollers/resolve/main/1/tset1.cpp
317 Bytes
| const int Maxi = 200; | |
| struct Seq{ | |
| string str; | |
| long long int val; | |
| void Print{ | |
| printf("%s = %lld\n",str.c_str(),val); | |
| } | |
| }; | |
| bool operator < (const Seq &l, const Seq &r){ | |
| return l.val<r.val; | |
| } | |
| int n,val[Maxi]; | |
| char op[Maxi]; | |
| Seq dpmax[Maxi] [Maxi], dpmin[Maxi] [Maxi]; | |