1669: 求圆的面积 摘要:```cpp #include #include #define pi 3.1415926 using namespace std; int main() { float r; …… 题解列表 2023年01月29日 0 点赞 0 评论 604 浏览 评分:9.9
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 444 浏览 评分:9.9
字符排列问题 摘要:解题思路:注意事项:参考代码:方法一:直接全排列再去重from itertools import permutationstry: while True: a=input() …… 题解列表 2023年01月29日 0 点赞 0 评论 267 浏览 评分:0.0
1671: 小九九 摘要:```cpp #include using namespace std; int main() { int i=1,p=1; for(p=1;p…… 题解列表 2023年01月29日 0 点赞 0 评论 741 浏览 评分:9.9
编写题解 2839: 石头剪刀布 摘要:解题思路:m[i]表示A,t[i]表示Bq表示A胜得次数,W表示B胜得次数同时注意输入完AB各自的出题规律后要循坏填补后面的对决,即创建一个满足N轮的对局数组注意事项:参考代码:a#include<s…… 题解列表 2023年01月29日 0 点赞 0 评论 699 浏览 评分:9.9
1007: [编程入门]分段函数求值(简单易懂) 摘要:```c #include int main() { int x,y; scanf("%d", &x); if (x < 1) { y = x; } else if…… 题解列表 2023年01月29日 0 点赞 0 评论 367 浏览 评分:9.9
1003密码破译 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc…… 题解列表 2023年01月29日 0 点赞 2 评论 276 浏览 评分:9.3
二分法,求阶乘 摘要:解题思路:通过规律发现:5!-> end 0 number is 110-> end 0 number is 215->end 0 number is 3…………注意事项:参考代码:import os…… 题解列表 2023年01月29日 0 点赞 0 评论 669 浏览 评分:0.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,ans=0; scanf("%d",&n); int a[n]; int b[n]; for(i…… 题解列表 2023年01月29日 0 点赞 0 评论 609 浏览 评分:6.0
菜鸟首次尝试(python)超简单解法 摘要:解题思路:注意事项:参考代码:n=int(input())for _ in range(n): x,y=map(int,input().split()) def realsum(n): …… 题解列表 2023年01月29日 0 点赞 0 评论 381 浏览 评分:8.0