![](https://img-blog.csdnimg.cn/86478dec0c664680b369037d59c2ff8e.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
ECNU复试机试
ECNU复试机试
等一个好昵称
这个作者很懒,什么都没留下…
展开
-
ECNU计科复试机试(2019)
C.和模拟#include <iostream>#include <cstdio>#include <string>#include <cstring>#include <stdlib.h>using namespace std;string function(string x,string y){ int flag = 0; //进位标志 string answer = y; int current原创 2022-03-20 15:24:07 · 282 阅读 · 0 评论 -
ECNU计科复试机试(2019)
B.三数学构造#include <iostream>#include <cstdio>#include <cmath>using namespace std;int main(){ double a,b,c; cin >> a >> b >> c; //构造A(0,0) B(0,a) double C_x; double C_y; C_y = (a*a + b*b - c*原创 2022-03-19 16:50:58 · 391 阅读 · 0 评论 -
ECNU计科复试机试(2019)
A.差数学分析#include <iostream>#include <cstdio>using namespace std;int main(){ long long a,g,c,k; cin >> a >> g >> c >> k; if(k % 2 == 0){ cout << a - g << endl; } else { co原创 2022-03-19 15:50:34 · 351 阅读 · 0 评论 -
ECNU计科复试机试(2021)
B.矩形个数二维前缀和+枚举#include <iostream>#include <cstdio>using namespace std;#define DEBUG 0int map[501][501];int sum[501][501];long long answer = 0;void function(int r,int c,int k){ for(int i = 1; i <= r; ++i){ for(int j =原创 2022-03-18 16:49:58 · 315 阅读 · 0 评论 -
ECNU计科复试机试(2021)
A.平衡三进制Ⅱ#include <iostream>#include <cstdio>#include <cmath>#include <vector>#include <string>using namespace std;#define DEBUG 0vector<int> Zhengshu; //逆序vector<int> Xiaoshu; //逆序 已添0void functi原创 2022-03-13 20:15:06 · 551 阅读 · 0 评论 -
ECNU计科复试机试(2021)
C.子序列#include <iostream>#include <cstdio>#include <vector>#include <algorithm>using namespace std;#define DEBUG 0vector<long long> Num;vector<int> dp;long long Sum = 0;int main(){ int n; long long原创 2022-03-13 20:09:06 · 1065 阅读 · 0 评论