弟弟的作业 (C++代码) 摘要:解题思路:注意事项:很简单的字符串处理问题参考代码:#include<iostream>#include<string>#include<cstring>#include<cstdio>using n…… 题解列表 2019年04月17日 0 点赞 0 评论 580 浏览 评分:0.0
【蟠桃记】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>int main(){ using namespace std; int n,i,sum=1; while(cin.eof()!=1)…… 题解列表 2019年04月17日 0 点赞 0 评论 947 浏览 评分:0.0
谁是你的潜在朋友 (C语言代码) 摘要:解题思路:因为没用多组测试,老是错50% 囧囧囧注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a[900000],b[…… 题解列表 2019年04月17日 0 点赞 0 评论 873 浏览 评分:0.0
C语言训练-求素数问题 (C语言代码) 摘要:解题思路:从小到大选出质数,根据每个质数,剔除后面的成倍的非质数注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n; int …… 题解列表 2019年04月17日 0 点赞 0 评论 489 浏览 评分:0.0
P1001 (C++代码)水一下 摘要:解题思路: 又水了一发啊参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.…… 题解列表 2019年04月17日 0 点赞 0 评论 534 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,k; char a[100]; gets(a); k=strl…… 题解列表 2019年04月17日 0 点赞 0 评论 506 浏览 评分:0.0
printf基础练习2 (C语言代码)我又水了一题 摘要:解题思路: 好了,写完了!参考代码:#include<stdio.h> int main(){ int a; scanf("%d",&a); printf("%#o %d %#x"…… 题解列表 2019年04月17日 0 点赞 0 评论 724 浏览 评分:0.0
[编程入门]自定义函数之字符提取 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fun(char a[1000],char b[1000]){ int j,n; for(j=0;a[j]!=&#…… 题解列表 2019年04月17日 0 点赞 0 评论 793 浏览 评分:0.0
[编程入门]自定义函数之数字后移 (C++代码) 摘要:解题思路: 改变输入输出就可以了 注意事项: for循环的起始要把握好参考代码:#include<bits/stdc++.h>using namespace std;int main(){…… 题解列表 2019年04月17日 0 点赞 0 评论 642 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int isprime(int x){ int i; if(x < 2) return 0; for(i…… 题解列表 2019年04月17日 0 点赞 0 评论 911 浏览 评分:0.0