最复杂的解题方法(但比较好理解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,t; scanf("%d %d",&a,&b); if(a==b) …… 题解列表 2024年11月21日 0 点赞 0 评论 135 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int x,y; scanf("%d",&x); if (x<3) { y = 2*x; } e…… 题解列表 2024年11月21日 0 点赞 0 评论 135 浏览 评分:0.0
1987考试评级,无题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int t; while(scanf("%d", &t) != EOF) switch(t/10) { ca…… 题解列表 2024年11月21日 0 点赞 0 评论 158 浏览 评分:0.0
已是最短了,请放心食用 摘要:解题思路注意事项:参考代码:#include<stdio.h>#include<string.h>int PalindromeString(char *s)//写一个函数来得到每一轮的结果,返回一个…… 题解列表 2024年11月21日 0 点赞 0 评论 322 浏览 评分:0.0
1915无题.。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int a[666],b; for (int i = 0;i < 3;i++…… 题解列表 2024年11月21日 0 点赞 0 评论 187 浏览 评分:0.0
最简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>#include <string.h>int main(){ char a[80]; …… 题解列表 2024年11月21日 0 点赞 0 评论 389 浏览 评分:0.0
2038: 简化型背包,暴力搜索 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量v, m和h,并初始化h为-1 int v,m,h=-1…… 题解列表 2024年11月21日 0 点赞 0 评论 141 浏览 评分:0.0
1116: IP判断 java基础语法 摘要:import java.util.Scanner; public class Main { public static boolean ipValid(String ip) { …… 题解列表 2024年11月21日 0 点赞 0 评论 242 浏览 评分:0.0
利用math中的求余 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double a, b, r;int main() { scanf("%lf%lf", &a, &b…… 题解列表 2024年11月21日 0 点赞 0 评论 298 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c);if(a*a+b*b==c*c||b*b+c…… 题解列表 2024年11月21日 0 点赞 0 评论 186 浏览 评分:0.0