题解列表
1082: Tetrahedrons and Spheres
摘要:```cpp
#include
#include
#include
#include
#include
#define sqr(x)(x)*(x)
using namespace std……
1782—————找出最长的字符串来
摘要: import java.util.Scanner;
public class Main {
public static void main(String[] ……
第一个写题解的 有点意外哈哈
摘要:```c
#include
#include
int main()
{
char a[1000];
int flag=0;//flag作为间断点
gets(a);//gets能接收……
文科生的悲哀(找规律)
摘要:解题思路:第一次第二次第三次第四次第五次政治历史政治历史政治地理历史地理综合政治地理地理观察题目和表格可以发现,奇数次的政治和地理的数目分别和上一奇数次的政治和地理的数目有关系,即第x次的政治数量为x……
编写题解 3008: 买笔,
摘要:解题思路:注意事项:只因你太美参考代码:#include <iostream>using namespace std;int main(int argc, char** argv) {int x,y,……
2800: 多边形内角和
摘要:解题思路:注意事项:参考代码:m = 0n = int(input())a = list(map(int,input().split()))for i in a: m += iprint((n ……
C语言训练-阶乘和数* 笨方法
摘要:解题思路:先将符合条件的数字找出来,放在一个数组里,再来排序。希望对大家要帮助参考代码:#include<stdio.h>int R1(int n){ int sum2 = 1; for (; n >……
简单算术表达式求值(C语言)
摘要:#include<stdio.h>
void my_fun(int x,char v, int y)
{
if(v=='+')
{
printf("%d\n", x ……