主頁 >  其他 > 湖南大學2020屆ACM新生賽 全部題解

湖南大學2020屆ACM新生賽 全部題解

2021-01-04 16:11:29 其他

新生賽過后,熬了4天夜,終于把模型機驗收完了,還有一星期多期末考試,抽空寫個題解,

A Counting 0 and 1 in string
0->1 1->10
1是由0,1轉移過來,0是由1轉移過來,
因此列出狀態轉移的方程即可

#include <iostream>

using namespace std;

long long f0[100], f1[100];
int main()
{
    f0[0] = 1, f1[0] = 1;
    int t;
    cin >> t;

    for (int i = 1; i <= 50; i ++)
    {
        f0[i] = f1[i - 1];
        f1[i] = f0[i - 1] + f1[i - 1];
    }

    while (t --)
    {
        int n;
        cin >> n;
        cout << f0[n - 1] << ' ' << f1[n - 1] <<endl;
    }
    return 0;
}


B Where is the billiard ball going?
考試的時候腦子壞掉了,寫了三百多行的模擬還錯了,

考后思考:小球的最后位置x,y是相互獨立的,因此可以分別處理x的坐標和y的坐標,
小球的移動可看成光線的反射和直射,

例如對于處理x : 可以先假設臺球桌面是無限大的,因此算出t秒后球的位置,球的位置模上(x - 2r)或是t秒后球在桌面上的位置,或是球相對桌面的鏡面反射,因此只需要判斷球是在原本的位置上,還是在鏡面反射的位置上即可,最后注意邊界情況,如小球恰好停在邊界上,

#include <iostream>
#include <cstring>

using namespace std;
typedef long long LL;

int main()
{
    LL l, w, r, px, py, vx, vy, t;
    int T;
    cin >> T;
    while (T --)
    {
        cin >> l >> w >> r >> px >> py >> vx >> vy >> t;
        LL len = l - r - r;
        
        px -= r;
        px = px + t * vx;
        int flag = (px >= 0) ? 1 : 0;
        LL res = abs(px) / len;
        px = (px % len + len) % len;
        
        if ((res % 2 == 0 && flag) || (res % 2 == 1 && !flag))
        {
            if (flag || (!flag && px != 0))
                px = px + r;
            else
                px = len + r;
        }
        else
        {
            if (flag || (!flag) && px != 0)
                px = len - px + r;
            else
                px = r;
        }
        
        LL wid = w - r - r;
        py -= r;
        py = py + t * vy;
        flag = (py >= 0) ? 1 : 0;
        res = abs(py) / wid;
        py = (py % wid + wid) % wid;
       if ((res % 2 == 0 && flag) || (res % 2 == 1 && !flag))
        {
            if (flag || (!flag && py != 0))
                py = py + r;
            else
                py = wid + r;
        }
        else
        {
            if (flag || (!flag) && py != 0)
                py = wid - py + r;
            else
                py = r;
        }
        
        cout << px << ' ' << py << endl;
    }
}

另一種思路:對于處理x,球的位置模上2(x - 2 * r),思路同上,但是少了一些邊界情況的判斷,


C Scissors-Paper

簡單的貪心,能出剪刀時就盡量出剪刀,不能出剪刀時就出布,可以證得是最優方案,

#include <iostream>

using namespace std;
string s;
int t;

int main()
{
    cin >> t;
    while (t --)
    {
        int bu = 0, jiandao = 0, ans = 0;
        int n;
        cin >> n >> s;
        for (int i = 0; i < n; i ++)
        {
            if (s[i] == 'P')
            {
                if (jiandao < bu)
                {
                    jiandao ++;
                    ans ++;
                }
                else
                {
                    bu ++;
                }
            }
            else if (s[i] == 'S')
            {
                if (jiandao < bu)
                {
                    jiandao ++;
                }
                else
                {
                    bu ++;
                    ans --;
                }
            }
        }
        cout << ans <<endl;
    }
    return 0;
}


D Treasure cave
如果有一對數(2個)相等,則輸出這個數,
如果有兩對不同的數相等,則不能滿足方案,
如果三個及以上的數相等,不能滿足方案,

#include <iostream>
#include <algorithm>
const int N = 1e5 + 10;
int a[N];

using namespace std;

int main()
{
    int t, x, n;
    cin >> t;
    while (t --)
    {
        int equals = 0, is_success = 1, num = 0;
        cin >> n >> x;
        for (int i = 0; i < n; i ++)
        {
            scanf("%d", &a[i]);
        }
        a[n] = x;
        sort(a, a + n + 1);
        for (int i = 0; i <= n; i ++)
        {
            if ( (i <= n - 1) && a[i] == a[i + 1])
            {
                equals ++;
                num = a[i];
                if (equals >= 2)
                {
                    is_success = 0;
                    break;
                }
            }
            if ((i <= n - 2) && a[i] == a[i + 1] && a[i] == a[i + 2])
            {
                is_success = 0;
                break;
            }
        }
        if (!is_success)
            cout << 0 <<endl;
        else
        {
            if (equals == 1)
                cout << num << endl;
            else
                cout << a[n] <<endl;
        }

    }
    return 0;
}

E Chicken and rabbit in the same cage

思路:搜索
因為k比較小,搜索k,
注意到:the starfish with fewer tentacles has higher value,因此注意搜索時的列舉順序即可,

#include <iostream>
#include <algorithm>

using namespace std;
int t, n, m, k;
bool is_success = 0;
typedef long long LL;
int a[10];
int b[10];

struct spice
{
    int cnt;
    int bianhao;
    bool operator < (spice W)
    {
        return cnt < W.cnt;
    }
};
spice person[100];

void dfs(int step, int sum)
{
    if (is_success)
        return;
    if (step == k)
    {
        a[k] = n - sum;
        long long num = 0;
        for (int i = 1; i <= k; i ++)
            num += (LL)a[i] * person[i].cnt;
        if (num == m)
        {

            for (int i = 1; i <= k; i ++)   b[person[i].bianhao] = a[i];
            for (int i = 1; i <= k; i ++)   cout << b[i] << ' ';
            cout << endl;
            is_success = 1;
        }
        return;
    }

    for (int i = n - sum; i >= 0; i --)
    {
        a[step] = i;
        dfs(step + 1, sum + i);
    }
}

int main()
{
    cin >> t;
    int ss = 0;
    while (t --)
    {
        is_success = 0;
        cin >> n >> m >> k;
        for (int i = 1; i <= k; i ++)
        {
            cin >> person[i].cnt;
            person[i].bianhao = i;
        }
        sort(person + 1, person + k + 1);
        dfs(1, 0);
        if (!is_success)
            cout << -1 << endl;
        else
            ss ++;
    }
    cout << ss;
    return 0;
}


F forest
是這次比賽的防AK題(然而最多的人才做了7道,我好菜呀)

動態規劃法
f[i][j][k] 表示前i棵樹中,能看到j棵樹,且其中最高的樹高為k的需要的最小運算元,本題狀態轉移時從i -> i + 1,比較方便,

f[i + 1][j][max(a[i + 1], k)] = min(f[i][j][k]) (不選擇a[i + 1])

f[i + 1][j + 1][a[i + 1]] = min(f[i][j][k]) (a[i + 1]大于k時,選擇a[i + 1])

f[i + 1][j + 1][k + 1] = min(f[i][j][k] + k + 1 - a[i + 1]) (a[i + 1]小于等于k,選擇a[i + 1])

#include <iostream>
#include <map>

using namespace std;
const int N = 110;

typedef long long LL;
map<int, LL> f[N][N];
int a[N];
#define x first
#define y second

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i ++)    cin >> a[i];
    
    
    f[0][0][0] = 0;
    for (int i = 0; i <= n; i ++)
    {
        for (int j = 0; j <= n; j ++)
        {
            for (auto g: f[i][j])
            {
                int x = g.x;
                int y = max(g.x, a[i + 1]);

                if (!f[i + 1][j].count(y))   f[i + 1][j][y] = f[i][j][x];
                else f[i + 1][j][y] = min(f[i + 1][j][y], f[i][j][x]);
                
                if (a[i + 1] > x)
                {
                    if (!f[i + 1][j + 1].count(a[i + 1]))   f[i + 1][j + 1][a[i + 1]] = f[i][j][x];
                    else f[i + 1][j + 1][a[i + 1]] = min(f[i][j][x], f[i + 1][j + 1][a[i + 1]]);
                }
                
                else
                {
                    int k = x + 1;
                    if (!f[i + 1][j + 1].count(k))  f[i + 1][j + 1][k] = f[i][j][x] + k - a[i + 1];
                    else     f[i + 1][j + 1][k] = min(f[i + 1][j + 1][k], f[i][j][x] + k - a[i + 1]);
                }
            }
        }
    }
    
    //  for (int i = 0; i <= n; i ++)
    //      for (int j = 1; j <= n; j ++)
    //      {
    //          for (auto x: f[i][j])
    //              printf("--i%d--j%d--k%d--val%lld\n", i, j, x.first, x.second);
    //      }
     //   cout << f[1][1][0];
    
        for (int j = 1; j <= n; j ++)
        {
            LL res = 1e18;
            for (auto x: f[n][j])
            {
                res = min(res, x.second);
            }
            cout << res << ' ' ;
        }
}

貪心法
期末考試后補
出題人rain_w :還可以用并查集+線段樹優化,使n可以到1e6,


G Lucky numbers

搜索,for回圈皆可

#include <iostream>

using namespace std;
int book[10];
int a[10];

void dfs(int step)
{
    if (step == 10)
    {

            int num1 = 100 * a[1] + 10 * a[2] + a[3];
            int num2 = 100 * a[4] + 10 * a[5] + a[6];
            int num3 = 100 * a[7] + 10 * a[8] + a[9];
            if (num1 + num2 + num3 == 999 && num1 < num2 && num2 < num3)
            {
                cout << num1 << ' ' <<num2 << ' ' <<num3 <<endl;
            }
        return;
    }
    for (int i = 1; i <= 9; i ++)
    {
        if (!book[i])
        {
            book[i] = 1;
            a[step] = i;
            dfs(step + 1);
            book[i] = 0;
        }
    }
}

int main()
{
    dfs(1);
    return 0;
}

H Maximum subsegment product
簡單的DP
f[i] 表示從1到i最大的乘積值
狀態轉移:f[i] = max(f[i], f[i - 1] * f[i]);

#include <iostream>

using namespace std;
const int N = 1e5 + 10;
double f[N];

double maxn = 0;

int main()
{
    f[0] = 1;
    int n;
    cin >> n;
    for (int i = 1; i <= n; i ++)
    {
        cin >> f[i];
    }

    for (int i = 1; i <= n; i ++)
    {
        f[i] = max(f[i], f[i - 1] * f[i]);
        maxn = max(f[i], maxn);
    }

    printf("%.2lf", maxn);
    return 0;
}


I How many sequences?

組合數問題,
m為序列長度,n為不超過的數
答案為C(m, m + n + 1)
比如說m=5,n=4
則序列44444 則表示(0, 1) -> (0, 4) -> (5, 4)
序列11111表示(0, 1)->(5, 1)->(5,4)
序列12344表示(0, 1)->(1, 1)->(1, 2)->(2, 2)->(2, 3)->(3, 3)->(3,4)->(4, 4)->(5,4)

求組合數通過求階乘逆元/盧卡斯定理(之前博客不同范圍求組合數)

#include <iostream>
#include <cstring>

using namespace std;
int n;
const int N = 2e6 + 10;
int fact[N]; //n的階乘
int infact[N]; //n的階乘的逆元
int MOD = 1e9 + 7;
typedef long long LL;

int qumi(int p, int k, int m) //快速冪
{
    int res = 1;
    while (k)
    {
        if (k & 1)  res = (LL)res * p % m;
        p = (LL)p * p % m;
        k >>= 1;
    }
    return res;
}

int main()
{
    fact[0] = infact[0] = 1; 
    cin >> n;
    for (int i = 1; i < N; i ++)
    {
        fact[i] = (LL)fact[i - 1] * i % MOD;
        infact[i] = (LL)infact[i - 1] * qumi(i, MOD - 2, MOD) % MOD;  // (a * b)^-1 和 (a ^ -1) * (b ^ -1) 同余 
    }
    
    while (n --)
    {
        int a, b;
        cin >> a >> b;
        a = a + b - 1;
        cout << (LL)fact[a] * infact[b] % MOD * infact[a - b] % MOD <<endl;
    }
}

J Sakuyalove Loves Math

我不知道pell方程,是打表找規律做的,發現數不是完全平方數就滿足規律,

#include <iostream>
#include <cmath>

using namespace std;

int main()
{
    int T;
    cin >> T;
    while (T --)
    {
        int n;
        cin >> n;
        int ss = sqrt(n);
        if (ss * ss == n)
            cout << "no" <<endl;
        else
            cout << "yes" <<endl;
    }
    return 0;
}


K Sakuyalove Loves Games
出題人Sakuyalove:子彈的下降,相當于人的上升,因此只要人往左上,上,右上走不遇到子彈并且能走到頂部,就輸出yes,

我的暴力做法:陣列blt保存子彈的坐標,用陣列st記錄人的橫向的坐標和當前所在時間,人每次走時,只要判斷每個子彈是否落在人的身上決定能否走,當經過時間大于地圖的縱向長度(n),就輸出yes,
顯然暴力做法復雜度大,每次操作需要判斷每個子彈能否落在人身上,

#include <iostream>
#include <cstring>

using namespace std;
const int N = 110;
typedef pair<int, int> PII;
PII blt[N * N];   //子彈
int cnt;
char g[N][N];     
int st[N][N];   // y坐標和t時間
int n, m;
PII person;      //人的位置
#define x first
#define y second
PII q[N * N];
int tt, hh;

int dy[3] = {-1, 0, 1};
bool judge(int y, int t)
{
    if (y <= 0 || y > m)    return true;
    if (st[y][t])    return true;
    int x = person.x;
    for (int i = 0; i < cnt; i ++)
    {
        if (t == x - blt[i].x && blt[i].y == y)
           return true;
    }
    return false;
}

int main()
{
    int T;
    cin >> T;
    while (T --)
    {
        memset(st, 0, sizeof st);
        cnt = 0;
        bool is_success = 0;
        cin >> n >> m;
        for (int i = 1; i <= n; i ++)
            for (int j = 1; j <= m; j ++)
            {
                cin >> g[i][j];
                if (g[i][j] == 'S')
                {
                    person.x = i, person.y = j;
                    // cout << "!!!";
                }
                else if (g[i][j] == 'O')
                    blt[cnt ++] = {i, j};
            }
        
        // printf("---%d--%d\n", person.x, person.y);
        hh = tt = 0;
        st[person.y][0] = 1;
        q[0] = {person.y, 0};
        while (hh <= tt)
        {
            auto p = q[hh ++];
            int t = p.y;
            if (t >= n)
            {
                is_success = 1;
                cout << "yes" << endl;
                break;
            }
            int y = p.x;
            
            for (int i = 0; i < 3; i ++)
            {
                int ey = y + dy[i];
                int et = t + 1;
                if (judge(ey, et)) continue;
                q[++ tt] = {ey, et};
                st[ey][et] = 1;
            }
        }
        if (!is_success)
        {
            cout << "no" << endl;
        }
    }
}

L Sakuyalove Loves Circles

對于四個點x1, y1, x2, y2, x3, y3, x4, y4
可以分別求出x1, y1, x2, y2, x3, y3三個點中垂線的交點(X0, Y0)
x1, y1, x2, y2, x4, y3三個點中垂線的交點(X1, Y1)
(首先要判斷不存在交點的情況,即兩條直線平行)

如果交點重合,則在一個圓上,否則不在
需要先手寫推出交點的坐標,然后代入公式即可

#include <iostream>
#include <cstring>
#include <cmath>

using namespace std;

const double eps = 1e-8;

double X0, Y0, X1, Y1;

double fun1(double x1, double y1, double x2, double y2, double x3, double y3, bool & p)
{
    double m = (x3 - x1) * (y2 - y1) - (x2 - x1)*(y3 - y1);
    if (fabs(m) < eps)
    {
        p = 0;
        return -1;
    }
    return ((y3 - y2) * (y3 - y1) * (y2 - y1) + (x3 - x1) * (x3 + x1) * (y2 - y1) - (x2 - x1) * (x2 + x1) * (y3 - y1)) / 2 / m;
}

double fun2(double x1, double y1, double x2, double y2, double x3, double y3, double X)
{
    if (fabs(y2 - y1) < eps)
        return - (x3 - x1) * (X - (x1 + x3) / 2) / (y3 - y1) + (y1 + y3) / 2;
    return - (x2 - x1) * (X - (x1 + x2) / 2) / (y2 - y1) + (y1 + y2) / 2;
}

int main()
{
    double x1, y1, x2, y2, x3, y3, x4, y4;
    int T;
    cin >> T;
    
    while (T --)
    {
        bool is_success = 1;
        cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3 >> x4 >> y4;
        
        X0 = fun1(x1, y1, x2, y2, x3, y3, is_success);
        X1 = fun1(x1, y1, x2, y2, x4, y4, is_success);
        
        if (is_success)
        {
            Y0 = fun2(x1, y1, x2, y2, x3, y3, X0);
            Y1 = fun2(x1, y1, x2, y2, x4, y4, X1);
        }
        
        if (is_success == 1 && fabs(X0 - X1) < eps && fabs(Y0 - Y1) < eps)
            cout << "yes" << endl;
        else
            cout << "no" << endl;
    }
}

隊友思路:
注意是凹四邊形時的情況
在這里插入圖片描述

在這里插入圖片描述
根據定理,判斷B,C在AD的同側還是異側,然后使用余弦定理,同側則cosABD,cosACD相等,否則相反

#include<bits/stdc++.h>
using namespace std;
const double eps=1e-10;
typedef pair<double,double> PII;
#define x first
#define y second
double len(PII p)
{
    double res=sqrt(p.x*p.x+p.y*p.y);
    //printf("%.2lf\n",res);
    return res;
}

double len2(PII p)
{
     double res=(p.x*p.x+p.y*p.y);
    //printf("%.2lf\n",res);
    return res;
}
double cha(PII p1,PII p2)
{
    double res=p1.x*p2.y-p1.y*p2.x;
    //printf("%2.lf\n",res);
    return res;
}
int main()
{
    int t;cin>>t;
    while(t--)
    {
        PII A,B,C,D;
        cin>>A.x>>A.y;
        cin>>B.x>>B.y;
        cin>>C.x>>C.y;
        cin>>D.x>>D.y;
        PII BA,BD,CA,CD, AD;
        BA.x=A.x-B.x;BA.y=A.y-B.y;
        BD.x=D.x-B.x;BD.y=D.y-B.y;
        CA.x=A.x-C.x;CA.y=A.y-C.y;
        CD.x=D.x-C.x;CD.y=D.y-C.y;
        AD.x=D.x-A.x;AD.y=D.y-A.y;
        /*if(cha(BA,BD)<eps||cha(CA,CD)<eps)
        {
            puts("no");
            continue;
        }*/
        double s1=(len2(CD) + len2(CA) - len2(AD)) /  2/ len(CD) / len(CA);
        
        double s2=(len2(BD) + len2(BA) - len2(AD)) /  2/ len(BD) / len(BA);
        //printf("%.2lf\n%.2lf\n",o1,o2);
        if(cha(BA,BD)*cha(CA,CD)>0&&fabs(s1-s2)<eps)
            puts("yes");
        else if(cha(BA,BD)*cha(CA,CD)<0&&fabs(s1+s2)<eps)
            puts("yes");
        else puts("no");
    }
    return 0;
}

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/244372.html

標籤:其他

上一篇:哈夫曼樹實作電文編碼譯碼

下一篇:復試安排及常見問題

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • 2023年最新微信小程式抓包教程

    01 開門見山 隔一個月發一篇文章,不過分。 首先回顧一下《微信系結手機號資料庫被脫庫事件》,我也是第一時間得知了這個訊息,然后跟蹤了整件事情的經過。下面是這起事件的相關截圖以及近日流出的一萬條資料樣本: 個人認為這件事也沒什么,還不如關注一下之前45億快遞資料查詢渠道疑似在近日復活的訊息。 訊息是 ......

    uj5u.com 2023-04-20 08:48:24 more
  • web3 產品介紹:metamask 錢包 使用最多的瀏覽器插件錢包

    Metamask錢包是一種基于區塊鏈技術的數字貨幣錢包,它允許用戶在安全、便捷的環境下管理自己的加密資產。Metamask錢包是以太坊生態系統中最流行的錢包之一,它具有易于使用、安全性高和功能強大等優點。 本文將詳細介紹Metamask錢包的功能和使用方法。 一、 Metamask錢包的功能 數字資 ......

    uj5u.com 2023-04-20 08:47:46 more
  • vulnhub_Earth

    前言 靶機地址->>>vulnhub_Earth 攻擊機ip:192.168.20.121 靶機ip:192.168.20.122 參考文章 https://www.cnblogs.com/Jing-X/archive/2022/04/03/16097695.html https://www.cnb ......

    uj5u.com 2023-04-20 07:46:20 more
  • 從4k到42k,軟體測驗工程師的漲薪史,給我看哭了

    清明節一過,盲猜大家已經無心上班,在數著日子準備過五一,但一想到銀行卡里的余額……瞬間心情就不美麗了。最近,2023年高校畢業生就業調查顯示,本科畢業月平均起薪為5825元。調查一出,便有很多同學表示自己又被平均了。看著這一資料,不免讓人想到前不久中國青年報的一項調查:近六成大學生認為畢業10年內會 ......

    uj5u.com 2023-04-20 07:44:00 more
  • 最新版本 Stable Diffusion 開源 AI 繪畫工具之中文自動提詞篇

    🎈 標簽生成器 由于輸入正向提示詞 prompt 和反向提示詞 negative prompt 都是使用英文,所以對學習母語的我們非常不友好 使用網址:https://tinygeeker.github.io/p/ai-prompt-generator 這個網址是為了讓大家在使用 AI 繪畫的時候 ......

    uj5u.com 2023-04-20 07:43:36 more
  • 漫談前端自動化測驗演進之路及測驗工具分析

    隨著前端技術的不斷發展和應用程式的日益復雜,前端自動化測驗也在不斷演進。隨著 Web 應用程式變得越來越復雜,自動化測驗的需求也越來越高。如今,自動化測驗已經成為 Web 應用程式開發程序中不可或缺的一部分,它們可以幫助開發人員更快地發現和修復錯誤,提高應用程式的性能和可靠性。 ......

    uj5u.com 2023-04-20 07:43:16 more
  • CANN開發實踐:4個DVPP記憶體問題的典型案例解讀

    摘要:由于DVPP媒體資料處理功能對存放輸入、輸出資料的記憶體有更高的要求(例如,記憶體首地址128位元組對齊),因此需呼叫專用的記憶體申請介面,那么本期就分享幾個關于DVPP記憶體問題的典型案例,并給出原因分析及解決方法。 本文分享自華為云社區《FAQ_DVPP記憶體問題案例》,作者:昇騰CANN。 DVPP ......

    uj5u.com 2023-04-20 07:43:03 more
  • msf學習

    msf學習 以kali自帶的msf為例 一、msf核心模塊與功能 msf模塊都放在/usr/share/metasploit-framework/modules目錄下 1、auxiliary 輔助模塊,輔助滲透(埠掃描、登錄密碼爆破、漏洞驗證等) 2、encoders 編碼器模塊,主要包含各種編碼 ......

    uj5u.com 2023-04-20 07:42:59 more
  • Halcon軟體安裝與界面簡介

    1. 下載Halcon17版本到到本地 2. 雙擊安裝包后 3. 步驟如下 1.2 Halcon軟體安裝 界面分為四大塊 1. Halcon的五個助手 1) 影像采集助手:與相機連接,設定相機引數,采集影像 2) 標定助手:九點標定或是其它的標定,生成標定檔案及內參外參,可以將像素單位轉換為長度單位 ......

    uj5u.com 2023-04-20 07:42:17 more
  • 在MacOS下使用Unity3D開發游戲

    第一次發博客,先發一下我的游戲開發環境吧。 去年2月份買了一臺MacBookPro2021 M1pro(以下簡稱mbp),這一年來一直在用mbp開發游戲。我大致分享一下我的開發工具以及使用體驗。 1、Unity 官網鏈接: https://unity.cn/releases 我一般使用的Apple ......

    uj5u.com 2023-04-20 07:40:19 more