题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a%2==0) { printf("even\n"); }…… 题解列表 2023年04月29日 0 点赞 1 评论 999 浏览 评分:9.9
弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c=10; int sum=0; int a=0,b=0,d=0,t,k=0,i=0…… 题解列表 2023年04月29日 0 点赞 0 评论 523 浏览 评分:9.9
非直接打印的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int a){ int sum=0; for(int i=1;i<a;i++) { if(a%i==0) sum+=…… 题解列表 2023年04月29日 0 点赞 0 评论 803 浏览 评分:9.9
daxiangheshui0263461984565484752625+8749 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int h,r; cin>>h>>r; double v; …… 题解列表 2023年04月29日 0 点赞 0 评论 788 浏览 评分:9.9
打错了,是计算三角形面积的答案,大家别误会 摘要:参考代码:#includeusing namespace std;int main(){ double a; cin>>a>>b>>c>>d>>e>>f; double s=sqrt…… 题解列表 2023年04月29日 0 点赞 0 评论 719 浏览 评分:9.9
2774: 计算三角形面积 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; cin>>a>>b>>c>>d>>e>>f; …… 题解列表 2023年04月29日 0 点赞 0 评论 714 浏览 评分:9.9
并查集 + 模拟 = 恶心 #并查集+模拟总结:真的很恶心##解题思路该有的注释都有了##代码实现```javaimportjava.util.*;publicclassMain{publicstaticvoidmain(String[]args){newMain().go();}staticclassUnionFind{int 题解列表 2023年04月29日 1 点赞 2 评论 1354 浏览 评分:9.9
大小写转换(c语言代码) ```c#include#includevoidtoUp(char*strs);intmain(){charstrs[81]={0};while(gets(strs)){if(!strcmp(strs,"Endoffile")){break;}toUp(strs);//小写转大写puts(strs); 题解列表 2023年04月29日 0 点赞 1 评论 1156 浏览 评分:9.9
字符串问题(c语言递归) ```c#include#includevoidswap(char*s1,char*s2);voidreverse(char*strs,intleft,intright);intmain(){charstrs[256]={0};gets(strs);reverse(strs, 题解列表 2023年04月29日 1 点赞 0 评论 985 浏览 评分:9.9
三个数最大值 摘要:一、解题思路:三目运算符C参考代码:#include <stdio.h> int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); a=…… 题解列表 2023年04月30日 0 点赞 0 评论 720 浏览 评分:9.9