您的位置: 首页 > IT文章 > 【gets getline的用法 char[]转化为str】poj 2418 【gets getline的用法 char[]转化为str】poj 2418 分类: IT文章 • 2023-12-04 11:28:07 http://poj.org/problem?id=2418 【注意】 1. 输入有空格,用 char str[maxn]; while(gets(str)){ str[0]!='