题解列表
鸡尾酒疗法,简单方法
摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; ……
奶奶个蛋,比赛的时候写的一样,但是肯定不对
摘要:#include
using namespace std;
#define int long long
int n;
const int N=1e5+1;
struct fly
{
i……
C++STL ,结构体 来写,简单明了
摘要:#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
struct str{
int a……
简单的a+b (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int b; while("%d %d",&a,&b)!=EOF) ……
妹子杀手的故事 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b; while(scanf("%d %d",&a,&b) == 2 && a){ print……
C语言程序设计教程(第三版)课后习题9.2 (C++代码)
摘要:解题思路:注意事项:直接设变量取模参考代码:#include<cstdio>
#include<stdio.h>
int main()
{
int a,b,c;\\c变量取模
scanf("……
金明的预算方案 (C++代码)
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <stdio.h>#include <algorithm>#include <v……
C语言程序设计教程(第三版)课后习题10.3 (Java代码)
摘要:解题思路:Java字符串的简单应用注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(Strin……
蓝桥杯算法提高VIP-找素数 (C++代码)
摘要:解题思路: 请看 1790。参考代码:#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
bo……