Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1
//g++ 7.4.0 #include <iostream> using namespace std; int main() { string S; cin>>S; int a = S[0]-'0'; int b = S.size(); int c = S[b-1]-'0'; cout<<a+c<<endl; }
run
|
edit
|
history
|
help
0
said
Szukanie elementu w niemalejąco posortowanej tablicy używając wyszukiwania binarnego
remove dublicates from string using recursion
pointconcat
CutRod(BottomUp)
Binary search2
template
Microsoft - # of fragments (semi-optimised)
cons1
Microsoft - MaxEmployeeAttendence (R repititions - Semi Optimised DP)