题解列表

筛选

ikun崩溃代码

摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(){    int f;    float c;    scanf("%d",&f);     c =(f-32)……

python最简短做法

摘要:解题思路: 在一篇博客找到的原理图。可以根据此图设计六个方向,x,y轴方向如图所示。注意事项: 可以注意到点变化的方向只有(1,0)、(-1,0)、(0,1)、(0,-1)、(1,1)、(-1,-1)……

1480: 模拟计算器

摘要:```cpp #include using namespace std; int main() { int a,b; char c; cin>>a>>b>>c;……

向量点积计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,ans=0; scanf("%d",&n); int a[n]; int b[n]; for(i……

二分法,求阶乘

摘要:解题思路:通过规律发现:5!-> end 0 number is 110-> end 0 number is 215->end 0 number is 3…………注意事项:参考代码:import os……

1003密码破译

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc……