题解 1061: 二级C语言-计负均正(Python) 摘要:解题思路:注意事项:需要输入两行数字才能成功参考代码:x=input().split()y=input().split()m=[int(i) for i in x+y if int(i)<0]n=[i…… 题解列表 2022年03月27日 0 点赞 0 评论 356 浏览 评分:8.0
[编程入门]水仙花数判断 摘要:解题思路:将三位数每一位分离出来是重点注意事项:参考代码:for i in range(100,1000): a=i%10 b=(i%100)/10 c=i/100 if i=…… 题解列表 2022年03月27日 0 点赞 0 评论 294 浏览 评分:0.0
模拟过程,注意判断条件 摘要:解题思路:注意事项:参考代码:T = int(input()) for _ in range(T): n = int(input()) matrix = [list(inpu…… 题解列表 2022年03月27日 0 点赞 0 评论 238 浏览 评分:0.0
蓝桥杯基础练习VIP-龟兔赛跑预测Python版 摘要:解题思路:注意事项:参考代码:#蓝桥杯基础练习VIP-龟兔赛跑预测Python版 v1,v2,t,s,l = map(int,input().strip().split()) x1,x2,time…… 题解列表 2022年03月27日 0 点赞 0 评论 621 浏览 评分:9.9
for循环实现,12行代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; str…… 题解列表 2022年03月27日 0 点赞 0 评论 381 浏览 评分:9.9
新手易懂啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>#include<stdlib.h>int check(int x,…… 题解列表 2022年03月27日 0 点赞 0 评论 471 浏览 评分:9.9
数据结构-链表的基本操作 摘要:注意: 别用gets()来获取字符串,不然会跑不通 代码:按模块编写函数即可 #include #include #include int l…… 题解列表 2022年03月27日 0 点赞 0 评论 479 浏览 评分:0.0
用while使输入输出简便化 摘要:参考代码:#include"iostream" int main() { char list[5],l=0; while(std::cin>>list[l])l++; std::cou…… 题解列表 2022年03月27日 0 点赞 0 评论 478 浏览 评分:9.9
1097: 蛇行矩阵 摘要:```java public class _1097_蛇行矩阵 { public static void main(String[] args) { Scanner scanner=new…… 题解列表 2022年03月27日 0 点赞 0 评论 365 浏览 评分:9.9
运用循环小数的特点 摘要:解题思路:该题就是运用循环小数的特点:纯循环小数转化为分数:如0.4285742857…找到循环体42857,该循环体有5位,故而0.4285742857…就是42857/99999,这里有5个9这个…… 题解列表 2022年03月27日 0 点赞 0 评论 817 浏览 评分:7.1