题解列表

筛选

1152题解c语言

摘要:解题思路:注意事项:参考代码:方法一#include <stdio.h>#include <math.h>int main(){ int m,i; double t=1; scanf("%d",&m)……

C语言 宏定义的练习&

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define remainder(a,b) printf("%d",a%b) int main(){            int a……

自守数问题之满满的套路(格式+数据范围)

摘要:解题思路:                题前小磕:这一题真是满满的套路啊,足足被卡了半个多小时,第一次错误是答案少了两个;第二次是格式错误。但我好不容易AC了这一题,我必须写个题解给大家避避坑。  ……

高精度加法(简单版)

摘要:解题思路:用数组用数组用数组(重要的事情说三遍)注意事项:注意进位和逆序输入输出参考代码:#include<stdio.h>#include<string……

next_permutation全排序

摘要:```cpp #include //next_permutation全排序 using namespace std; int main() { int n,len=0; cin>……

C语言 带参数宏定义练习&

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define exchange(a,b) int t;t = a; a = b; b = tint main(){         i……

1391基础解法(Python)

摘要:解题思路:注意事项:参考代码:import sysfor line in sys.stdin:    line = list(map(int,line[1:].split()))    line.so……