摘要:
第一天算法2025/8/13 复习内容:二分 2.P1102 A-B #include<bits/stdc++.h> using namespace std; const int N=2e5+6; int a[N]; map<int,int>mp;//存放数组里每个数出现次数 int main(){ 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int data[3200]; int main(){ int digit=1;//当前位数 data[0]=1;//0的阶乘 data[1]=1;//1的阶乘 int n; cin>>n; for(int i 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; struct { int num;//编号 int val;//结点值 }a[1000]; int main(){ //处理乘方的方法 //cout<<(2<<3); a<<b表示a化成二进制后左移b位 ,如左 阅读全文
摘要:
HQL聚合查询 其实是考察的聚合函数 1.count函数(统计数量) select count(name) from film where dates like'2014%'; 2.平均 select avg(prince) from film where dates like'2015%'; 平均 阅读全文