牛客409727319号
牛客409727319号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客409727319号的博客
全部文章
(共6篇)
题解 | #优先编码器电路①#
`timescale 1ns/1ns module encoder_0( input [8:0] I_n , output wire [3:0] Y_n ); assign Y_n = (I_n[8] == 0) ? 4'd6...
2024-08-13
0
81
题解 | #a+b#
#include <iostream> using namespace std; int main() { int a, b; while (cin >> a >> b) { // 注意 while 处理多个 case cout ...
2023-02-15
0
284
题解 | #最小长方形#
#include <iostream> #include <vector> #include<algorithm> using namespace std; int main() { int a, b; vector<int> xx,...
2023-02-12
2
329
题解 | #奇偶校验#
#include <iostream> using namespace std; int* bin(int a){ int num=7,cou=0; static int ans[8];; do{ ans[num--]=a%2; ...
2023-02-12
0
221
题解 | #Freckles#
#include<cmath> #include <iostream> #include <algorithm> #include <vector> using namespace std; struct point{ float x,y; ...
2023-02-10
0
261
题解 | #Freckles#
from math import sqrt def dis(x,y): return sqrt((x[0]-y[0])**2+(x[1]-y[1])**2) a=[] dist=[] res=0 c=input() for i in range(int(c)): x,...
2023-02-09
1
342