ctgu-zhangjiahe
ctgu-zhangjiahe
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
ctgu-zhangjiahe的博客
全部文章
(共1篇)
D题的ctime库函数时间格式化做法(只能在Linux环境运行)
注意,只能在Linux环境运行,因为Windows 没有strptime()函数 #include<bits/stdc++.h> long char2time(char* str) { struct tm tm; strptime(str, "%H:%M:%S", &am...
2020-07-13
5
450