摘要:
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 elev 阅读全文
摘要:
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 Specificat 阅读全文
摘要:
string新技巧: int a, b; cin >> a >> b; string s = to_string(a + b); 阅读全文
摘要:
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 tha 阅读全文
摘要:
傅里叶对我说,为何今天让我错了这么多 汤神你的进度,好像慢了些许多 我等你的题解,等的菜都快凉咯 汤神你不道德,强化题目放基础做 还tm不给题解,你要让我怎么做 基础我解决不了你,那就强化我锤碎你! 呜呜呜。。。 傅里叶对我说 阅读全文
摘要:
CPU的原理 计算机需要解决的最根本问题:如何代表数字 汇编语言(机器语言)的执行过程 汇编语言的本质:机器语言的助记符,其实它就是机器语言,(比如机器语言10110011可以用add表示,相对来说容易记忆)。 计算机通电-> ->CPU到固定位置读取内存中程序(所谓程序就是一个一个的指令,汇编码) 阅读全文
摘要:
最长上升子序列: #include<bits/stdc++.h> using namespace std; #define inf 0x3fffffff const int maxn=1010; int A[maxn]; int dp[maxn]; //最长上升子序列 int main(){ int 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; #define inf 0x3fffffff const int maxn=1010; struct node{ int x,y; }N[maxn]; bool cmp(node a,node b){ if(a 阅读全文
摘要:
考研毕竟是一场心理战。 目标院校我早就定下了,只是,还不到说出来的时候。 “藏在心里是动力,说出来,会变成压力!” 说不说是完全不一样的,现在只需好好做就够了。 阅读全文