实验七

实验二

任务一 问题一:生成R1到R2的随机数 问题二:生成随机学号 任务二 #include<stdio.h> int main() { double x, y; char c1, c2, c3; int a1, a2, a3; scanf("%d %d %d",&a1,&a2,&a3); getchar ......

实验二

实验任务1 源码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand(time ......

实验2 字符串和列表

一、实验结论: 1、实验任务1:task1.py 程序源码: 1 # 字符串的基础操作 2 # 课堂上没有演示的一些方法 3 4 x = 'nba FIFA' 5 print(x.upper()) # 字符串转大写 6 print(x.lower()) # 字符串转小写 7 print(x.swap ......
字符串 字符

实验二

#include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0) );//以当前 ......

实验2

#include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0) ); for ......

实验2 字符串和列表

任务1 x='nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10,'*')) print(x.ljust(10,'*')) print(x.rjust( ......
字符串 字符

实验2作业

1.代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main () { int number; int i; srand(time(0) ......

XMUOJ 2023C++实验课

XMUOJ 有的题真够恶心的。在此总结一下,同时造福后人。 厦大GPA 某位同学一共参加了4门考试,给定四门考试的总分,请问在最优情况下,4门考试绩点的和最高是多少? 分情况讨论:一门合格,两门合格,三门合格或者四门合格,只用考虑当前门合格的情况。(不然会超时) 点击查看代码 #include <b ......
实验课 XMUOJ 2023

实验2

实验1:生成随机码 问题:1.生成586 ~701之间的随机数 2.生成202283300586~202283300701的随机码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #de ......

实验2

#include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand(time(0)); for ......

nest.js学习笔记(七) --知识点拾遗

1、nestjs中引用esm插件 nestjs是使用commonjs规范进行开发,但是目前市场上很多插件是使用module的形式进行开发,所以遇到引用问题时,建议开发都绕过去,使用功能差不多的插件,但是如果遇到绕不过去的情况,那可以使用以下的方法进行引用 import { ConfigService ......
知识点 笔记 知识 nest js

Cadence入门笔记(七):布线和规则

规则设置 一般来讲规则设置主要是设置线宽和间距这两个参数 打开Cmgr规则管理器 如上所示,Physical是设置物理参数,即线宽、过孔类型之类。Spacing是这是间距 一般来讲,规则设置都是直接新建规则set,而不是直接修改default参数 例如我设置一个叫JLC的规则集,把线宽设置为最小0. ......
规则 Cadence 笔记

实验2

2.1#include <stdio.h> #include <stdlib.h> #include <time.h> #define N 6 #define R1 586 #define R2 701 int main() { int number; int i; srand(time(0)); ......

实验2

task1 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main(){ int number; int i; srand(time(0) ......

泰姬陵坐落于印度古都阿格,是十七世纪莫卧儿帝国皇帝沙杰罕为纪念其爱妃所建,她宏伟壮观,纯白大理石砌建而成的主体建筑叫人心醉神迷,成为世界七大奇迹之一。陵寝以宝石镶饰,图案之细致令人叫绝。传说陵寝中有一个三角形图案,以相同大小的圆宝石镶饰而成,共有n层,奢靡之程度,可见一斑。第一层有一块宝石,往下每一层都比它上面一层多一块宝石。这个三角形到底有多少块宝石?

泰姬陵坐落于印度古都阿格,是十七世纪莫卧儿帝国皇帝沙杰罕为纪念其爱妃所建,她宏伟壮观,纯白大理石砌建而成的主体建筑叫人心醉神迷,成为世界七大奇迹之一。陵寝以宝石镶饰,图案之细致令人叫绝。传说陵寝中有一个三角形图案,以相同大小的圆宝石镶饰而成,共有n层,奢靡之程度,可见一斑。第一层有一块宝石,往下每一 ......
陵寝 三角形 图案 爱妃 一斑

实验2

实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0 ......

实验2 字符串和列表

1.实验任务1 实验源码 task_1: #字符串的基础操作 x = 'nba FIFA' print(x.upper()) #字符串转大写 print(x.lower()) #字符串转小写 print(x.swapcase()) #字符串大小写翻转 print() x = 'abc' print( ......
字符串 字符

3.16实验2

任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0) ......
3.16 16

实验一 密码引擎-1-OpenEuler-OpenSSL编译

任务详情 0. 安装Ubuntu和OpenEuler虚拟机 1. 下载最新的OpenSSL源码(1.1版本) 2. 用自己的8位学号建立一个文件夹,cd 你的学号,用pwd获得绝对路径 3. 参考https://www.cnblogs.com/rocedu/p/5087623.html先在Ubunt ......

影评:《七武士》祭奠逝去的崇高

我们常常看到感叹某个时代、某种精神逝去的电影,如《布达佩斯大饭店》《罗曼蒂克消亡史》《老炮儿》,每每看到,都令人唏嘘。 在如今这个时代,大家似乎格外怀念曾经的单纯质朴。我们向往崇尚英雄主义和舍生取义的时代,也会像阮籍观昔日楚汉战场那样慨叹“时无英雄使竖子成名”。 《七武士》正是这样一部祭奠逝去崇高的 ......
影评 武士

实验2 字符串与列表

1 x='nba FIFA' 2 print(x.upper()) 3 print(x.lower()) 4 print(x.swapcase()) 5 print() 6 7 x='abc' 8 print(x.center(10,'*')) 9 print(x.ljust(10,'*')) 10 ......
字符串 字符

实验2

task1 x = 'phone_number' print(x.isidentifier()) x = '222test' print(x.isidentifier()) print() x = ' ' print(x.isspace()) x = '\n' print(x.isspace()) ......

实验2 字符串和列表

1.实验任务1 task1.py 程序源代码: 1 x = 'nba FIFA' 2 print(x.upper()) 3 print(x.lower()) 4 print(x.swapcase()) 5 print() 6 7 x = 'abc' 8 print(x.center(10, '*') ......
字符串 字符

实验2 字符串和列表

实验任务1 task1.py 实验源码: x = 'nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10,'*')) print (x.ljust(10, ......
字符串 字符

实验2

x = 'nba FIFA' print(x.upper()) print(x.lower()) print(x.swapcase()) print() x = 'abc' print(x.center(10,'*')) print(x.ljust(10,'*')) print(x.rjust(10 ......

实验2 字符串和列表

1. 实验任务1 task1.py 1 # 字符串的基础操作 2 # 课堂上没有演示的一些方法 3 x = 'nba FIFA' 4 print(x.upper()) # 字符串转大写 5 print(x.lower()) # 字符串转小写 6 print(x.swapcase()) # 字符串大小 ......
字符串 字符

实验2

实验任务1 问题一:line18将几个随机数组合起来 问题二:根据当时的电脑时间,随机生成四个四位数 实验任务2 #include<stdio.h> #include<stdlib.h> int main() { double x, y; char c1, c2, c3; int a1, a2, a ......

实验二

task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0 ......

2023年3月22日【实验二】吴曦远

task1.py 源代码: x = 'nba FIFA' print(x.upper()) # 字符串转大写 print(x.lower()) # 字符串转小写 print(x.swapcase()) # 字符串大小写翻转 x = 'abc' print(x.center(10, '*')) # 字 ......
2023

SYNU PTA C++ 第二章实验题

本随笔仅提供参考,具体题目请见PTA 7-1 测试C++ 1 #include "iostream" 2 #include "vector" 3 using namespace std; 4 int main(){ 5 int n; 6 cin>>n; 7 vector<int> nums(n); ......
第二章 SYNU PTA