chong_0428
chong_0428
全部文章
分类
归档
标签
去牛客网
登录
/
注册
chong_0428的博客
全部文章
(共63篇)
题解 | #找最小数#
while True: try: n = int(input()) arr = [] brr = [] for i in range(n): a, b = map(int, input().split()...
2024-03-04
0
170
题解 | #数字之和#
def Digit(n): arr = [] square = [] t=n while int(n): t =n % 10 arr.append(t) n = int(n/10) return arr def ...
2024-03-04
0
217
题解 | #三角形的边#
def tria_max(a, b, c): if a>b and a>c: return a if b>a and b>c: return b if c>a and c>b: retur...
2024-03-04
0
263
题解 | #数组逆置#
while True: try: s = input() print(s[::-1]) except: break
2024-03-03
0
191
题解 | #字符串链接#
while True: try: s1, s2 = input().split() print(s1+s2) except: break
2024-03-03
0
171
题解 | #最大公约数#
#include <stdio.h> int main() { int a, b, t; while (scanf("%d %d", &a, &b) != EOF) { // 注意 while 处理多个 case //...
2024-03-03
0
157
题解 | #找x#
def ind(l, i): c=-1 flag=0 for j in l: c+=1 if i == j: flag = 1 print(c) if flag == 0: ...
2024-03-03
0
193
题解 | #最小长方形#
def fun(a, b): maxa = max(a) maxb = max(b) mina = min(a) minb = min(b) print("%d %d %d %d"%(mina, minb, maxa, maxb)) ...
2024-03-03
0
193
题解 | #还是畅通工程#
#include <stdio.h> #include <math.h> struct Point { double x; double y; }; struct Edge { int from; int to; int lengt...
2024-03-03
0
179
题解 | #统计同成绩学生人数#
def count(s, t): c=0 for i in s: if i == t: c+=1 print(c) while True: try: n = int(input()) if n =...
2024-03-03
0
198
首页
上一页
1
2
3
4
5
6
7
下一页
末页