1866: 三位数反转 摘要:解题思路:注意事项:参考代码:while True: try: a = int(input()) b = a // 100 s = (a - b * 1…… 题解列表 2022年11月24日 0 点赞 5 评论 615 浏览 评分:6.0
2771: 大象喝水 摘要:解题思路:注意事项:参考代码:import math h,r = map(int,input().strip().split()) v = math.pi * h * r**2 print(mat…… 题解列表 2022年11月24日 0 点赞 0 评论 645 浏览 评分:6.0
先求sum,找出最大值相减即可解决。 摘要:解题思路:先求总和,然后找出最大值;最后相减即可得到答案。注意事项:注意一下输出格式就好了,然后它是多组的输出。所以需要前面是while(scanf("%d",&a)!=EOF)参考代码://不与最大…… 题解列表 2022年11月25日 0 点赞 0 评论 335 浏览 评分:6.0
1185: 作业调度方案 摘要:```cpp #include using namespace std; int work[21],num[501],lasttime[21],times[21][21],need[21][21…… 题解列表 2022年11月30日 0 点赞 0 评论 424 浏览 评分:6.0
2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:import sys a = int(input())if a < 1 or a > 7: sys.exit() #退出程序elif a != …… 题解列表 2022年12月01日 0 点赞 0 评论 482 浏览 评分:6.0
废物新人的笨方法 摘要:解题思路:注意事项:参考代码:#include"stdio.h"#include<math.h> int main(){ int n,i,j; scanf("%d%d%d",&n,&i,&j); fo…… 题解列表 2022年12月01日 0 点赞 0 评论 521 浏览 评分:6.0
2914: 铺地毯 摘要:```cpp #include using namespace std; struct Tan { int g,k,a,b,c,d; }; bool In_tan(struct …… 题解列表 2022年12月02日 0 点赞 0 评论 424 浏览 评分:6.0
编写题解 2797: 最高的分数c语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n1, n2; int num = 0; int i = 0; scanf("%d", &n1); fo…… 题解列表 2022年12月04日 0 点赞 0 评论 413 浏览 评分:6.0
题目 1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ printf("1*1=1\n"); printf("1*2=2 2*2=4\n"); print…… 题解列表 2022年12月05日 0 点赞 1 评论 300 浏览 评分:6.0
1036: [编程入门]带参数宏定义练习 摘要:```cpp #include #define change(a,b) t=a,a=b,b=t int main() { int a,b,t; scanf("%d %d",&a,&b…… 题解列表 2022年12月06日 0 点赞 0 评论 409 浏览 评分:6.0