实验1#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", ...
分类:
其他好文 时间:
2020-11-20 12:08:00
阅读次数:
9
有一个二维平面,一个机器人从原点出发。重复执行一个长度为$m$的操作序列(有上下左右四种操作)。给出机器人$n$个时刻的坐标,求一个可能的操作序列。 ...
分类:
其他好文 时间:
2020-11-20 11:54:04
阅读次数:
6
//将圆弧看成一段段的直线段,每个单元时间为dt //每一段路径长为 v1dt 和 v2dt //对于v2来说,存在径向速度vx(向外) 和 切向速度vy(绕圆) (vx^2 + vy^2 = v2^2) //又v1/R = w(角速度)= vy/r (r是运动过程中离圆心的距离)r属于[0, R] ...
分类:
其他好文 时间:
2020-11-20 11:47:20
阅读次数:
4
#include <math.h> #include<stdio.h> int main (){ float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f%f",&a, ...
分类:
其他好文 时间:
2020-11-20 11:37:01
阅读次数:
10
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c) != EOF ...
分类:
其他好文 时间:
2020-11-20 11:32:25
阅读次数:
7
实验内容 1.实验任务1 #include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,image; printf("Enter a,b,c: "); while(scanf("%f,%f,%f" ...
分类:
其他好文 时间:
2020-11-19 12:36:32
阅读次数:
6
ex1 #include <stdio.h> #include <math.h> int main() { float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c: "); while(scanf("%f%f%f",&a,&b,&c ...
分类:
其他好文 时间:
2020-11-19 12:21:43
阅读次数:
5
Data Structures and Algorithms COMP9024 20T3AssignmentTripPlannerObjectivesThe assignment aims to give you more independent, self-directed practicewit ...
分类:
其他好文 时间:
2020-11-19 12:11:27
阅读次数:
7
# include<stdio.h> # include<stdlib.h> # include<math.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("请输入a,b,c:"); while(scanf("%f%f% ...
分类:
其他好文 时间:
2020-11-18 12:56:50
阅读次数:
11
Aimee 很简单的kmp小题目 设最小单元为s的话,显然$L>L_s$ 那么的话,假如给的串串为s+一个s的后半截,那么显然ne[end]会匹配到出现在完整串的位置 这样 L-ne[end]就是答案了 其余同理 #include<iostream> #include<cstring> #inclu ...
分类:
其他好文 时间:
2020-11-13 12:56:06
阅读次数:
6