摘要:
解题思路 先正序排列,打印一遍,再倒序打印一遍 #include <iostream> #include <algorithm> using namespace std; int main() { // 请在此输入您的代码 long long N= 1e5*5; long long A[N]; ci 阅读全文
摘要:
#include <iostream> using namespace std; int __data[200]; int halfIntervalSearch(const int n) { int r,l,h = 0; l = 0; r = 200; h = (r+l)/2; while(__da 阅读全文
摘要:
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ long lon 阅读全文
摘要:
DIV(unsigned divide)无符号数除法 被除数的位数取决于除数 格式:DIV SRC 操作: SRC为字节时,商=( A L ) ← ( A X ) / ( S R C ) ,余数=( A H ) ← ( A X ) / ( S R C ) SRC为字时,商=( A X ) ← ( D 阅读全文