首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
James
2021年1月13日 11:07
string
P1364
回复 0
|
赞 4
|
浏览 7.8k
#include<iostream> #include<algorithm> #include<cstdio> #include<string> using namespace std; string a; int main(){ while(cin>>a){ if(a=="!") break; for(int i=0;i<a.length();i++){ &...
myhy001
2020年1月1日 13:26
反码
P1364
回复 0
|
赞 11
|
浏览 10.2k
#include<stdio.h> #include<string.h> int main() { char a[100]; while(scanf("%s",a)!=EOF) { char *p=a; if(*p=='!') break; else  ...
题目
字符串的反码
题解数量
2
发布题解
在线答疑
热门题解
1
反码
2
string