题解列表

筛选

编写题解 1671: 小九九

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i = 0, j = 0; for(i = 1; i <= 9; i++) ……

编写题解 1670: 拆分位数

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int num = 0; sca……

python--倒叙解法

摘要:解题思路:从后往前推,计算从每个位置开始的可以拦截的最多的 导弹数注意事项:无参考代码:tall = list(map(int, input().split()))tall.reverse()max_……

简单粗暴===保留字母

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[80];    gets(a);//从键盘获取字符串,回……

用python打个样

摘要:解题思路:注意事项:参考代码:a=float(input())print(&#39;%f&#39;%a)print(&#39;%.5f&#39;%a)print(&#39;%e&#39;%a)prin……

用format函数格式化输出

摘要:解题思路:水平不高勉强看看吧注意事项:参考代码:a,b,c,d=map(str,input().split())print(&#39;{0} {1:>4d} {2:.2f} {3:.12f}&#39;……

解码 (Java代码)

摘要:import java.util.Scanner; public class Main { public static void main(String[] args)  {   ……

循环题解矩形的福利

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main() {      int i,j;      int t,a=0……