
字符串处理
Achanss
My life is good, and u just make it better!
展开
-
字符串与数字的相互转换
#include <stdio.h> #include <string.h> int main() { int num = -150; char str[128]; int rsl; // 数字转字符串 sprintf(str, "%d", num); // 字符串转数字 sscanf(str, "%d", &rsl); printf("%s\n", str); printf("%d\n", rsl);原创 2021-03-29 16:57:36 · 159 阅读 · 0 评论 -
POJ 1035 Spell checker
Spell checker Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 25840 Accepted: 9473 Description You, as a member of a development team for a new spell check原创 2017-08-16 17:30:25 · 317 阅读 · 0 评论