Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 15th, 2018
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
string s = "22:13:44";
int a = (s[0] - '0') * 10 + s[1] - '0';
int a = stoi(s.substr(0,2));
int b = stoi(s.substr(3,2));
Add Comment
Please,
Sign In
to add comment
Public Pastes
Servo Control rev_09
Arduino | 12 min ago | 3.16 KB
Potentiometer Control rev_08
Arduino | 13 min ago | 3.18 KB
Servo Control rev_07
Arduino | 16 min ago | 3.13 KB
Servo Control rev_05
Arduino | 21 min ago | 3.32 KB
Servo Control rev_04
Arduino | 22 min ago | 3.22 KB
Servo Control rev_03
Arduino | 24 min ago | 2.91 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 31 min ago | 0.39 KB
alsa-info.txt
Bash | 32 min ago | 47.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!