melon.
melon.
全部文章
分类
归档
标签
去牛客网
登录
/
注册
melon.的博客
全部文章
(共117篇)
题解 | #四舍五入#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
197
题解 | #简单运算#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-12
1
169
题解 | #类型转换#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-01-09
0
196
题解 | #被5整除问题#
#include <stdio.h> #include <string.h> int main() { int i; scanf("%d", &i); char result[] = "NO"; ...
2023-07-25
1
273
题解 | #小飞机#
#include <stdio.h> void print(char s[]) { int i; for (i = 0; i < 2; i++) { printf("%s\n", s); } } int main() ...
2023-07-25
1
243
题解 | #[NOIP2008]笨小猴#
def f(n): # 判断质数 if n < 2: # 由于差值可能不是大于一的正整数,所以... return False if n == 2: return True for i in range(2,n): i...
Python3
Python2
C++
C
C#
Javascript V8
Javascript Node
数学
字符串
2023-02-19
1
256
题解 | #登录验证#
while 1: try: username,password = input().split() if username == 'admin' and password == 'admin': print('Login Success...
2023-02-19
1
209
题解 | #[NOIP2018]标题统计#
s = input() for i in s: if i.isspace(): s = s.replace(i,'') print(len(s))
2023-02-19
1
0
题解 | #筛选法求素数#
while 1: try: n = int(input()) list = [i for i in range(2,n+1)] zero = 0 for j in list: for ...
2023-02-19
1
230
题解 | #小乐乐查找数字#
len = int(input()) list = list(map(int,input().split())) num = int(input()) print(list.count(num))
2023-02-19
1
265
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页