- 博客(7)
- 收藏
- 关注
原创 【pta甲级】1009. Product of Polynomials (25)
Sample Input:2 1 2.4 0 3.22 2 1.5 1 0.5Sample Output:3 3 3.6 2 6.0 1 1.6还是用map做的,还是做复杂了,用普通的数组直接做就挺好的用map反而不好处理细节#include<bits/stdc++.h>using namespace std;int main(){ int n; ...
2019-11-17 11:53:41 176
原创 【pta甲级】1005 Spell It Right (20 分)
1005 Spell It Right (20 分)Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file co...
2019-11-12 17:26:47 104
原创 【pta甲级】1006 Sign In and Sign Out (25 分)
1006 Sign In and Sign Out (25 分)At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the recor...
2019-11-12 16:09:09 236
原创 vscode常用快捷键
Ctrl + Shift + P,打开命令面板Ctrl + f 搜索Ctrl +` 打开终端Ctrl + 放大Ctrl - 缩小Ctrl + ←→ 以单词为单位移动光标Ctrl + Shift + \ 在括号间跳转移动光标的同时按住shift,会把字符全部选中Ctrl + shift + k 删除当前代码行Ctrl + x 剪切当前代码行Ctrl + enter 在当前行...
2019-11-12 00:20:08 448
原创 【pta 甲级】1002 A+B for Polynomials (25 分)
1002 A+B for Polynomials (25 分)This time, you are supposed to find A+B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and ...
2019-11-11 11:31:11 129
原创 【pta 甲级】1008 Elevator (20 分)
1008 Elevator (20 分)The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified ...
2019-11-11 09:06:46 139
原创 [pta 甲级]1001 A+B Format (20 分)
1001 A+B Format (20 分)Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Specif...
2019-11-10 18:42:00 181
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人