跳到正文

个人记录

史上最短15行题解

George39约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月12日
篇幅
约 1 分钟

版本

  1. v1当前

#include<iostream> using namespace std; string s1; int c; int res; int main(){ cin>>s1; for(int i=0;i<s1.size();i++){ if(s1[i]>=‘A’&&s1[i]<=‘Z’||s1[i]>=‘a’&&s1[i]<=‘z’){ cout<<s1[i]; } } return 0;

}

原文