首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
// public class Main{
//     public static double add(double a, double b){
//         return a + b;
//     }
    
//     public static double minus(double a, double b){
//         return a - b;
//     }
    
//     public static double multiply(double a, double b){
//         return a * b;
//     }
......................
阅读全部 | GunL 贴于 2021年12月15日 08:48     hide bbsi
// public class Main{
//     public static double add(double a, double b){
//         return a + b;
//     }
    
//     public static double minus(double a, double b){
//         return a - b;
//     }
    
//     public static double multiply(double a, double b){
//         return a * b;
//     }
......................
阅读全部 | GunL 贴于 2021年12月15日 08:26     hide bbsi
public class Main{
    public static double add(double a, double b){
        return a + b;
    }
    
    public static double minus(double a, double b){
        return a - b;
    }
    
    public static double multiply(double a, double b){
        return a * b;
    }
......................
阅读全部 | GunL 贴于 2021年12月15日 08:13     hide bbsi
import turtle as t
def rectangle(horizontal, vertical, color):
    t.pendown()
    t.pensize(1)
    t.color(color)
    t.begin_fill()
    for counter in range(1,3):
        t.forward(horizontal)
        t.right(90)
        t.forward(vertical)
        t.right(90)
    t.end_fill()
......................
阅读全部 | 单俊杰 贴于 2021年12月12日 16:10     hide bbsi
n= int(input())
cp = list()
for i in range(n):
  cp.append(input().split())
  
m = input()
dog = input().split()
dog = set(dog)
for c in cp:
  if c[0] in dog and c[1] in dog:
    dog.remove(c[0])
    dog.remove(c[1])
......................
阅读全部 | GunL 贴于 2021年12月11日 21:59     hide bbsi
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        final int N = sc.nextInt();
        int[] scores = new int[N];
        for(int i = 0; i < N; i++){
            scores[i] = sc.nextInt();
        }
        sc.close();
        
......................
阅读全部 | GunL 贴于 2021年12月11日 14:38     hide bbsi
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        final int N = sc.nextInt();
        ArrayList<Integer> scores = new ArrayList<>();
        
        for(int i = 0; i < N; i++){
            scores.add(sc.nextInt());
......................
阅读全部 | GunL 贴于 2021年12月11日 14:37     hide bbsi
import java.util.Scanner;
import java.util.Arrays;

public class Main{
    public static void  main(String args[]){
        Scanner scan = new Scanner(System.in);
        final int N = scan.nextInt();
        int[] scores = new int[N];
        
        for(int i = 0; i < N; i++){
            scores[i] = scan.nextInt();
        }
......................
阅读全部 | GunL 贴于 2021年12月11日 14:36     hide bbsi
eeee
阅读全部 | hellobird 贴于 2021年12月11日 11:37     show bbsi
import java.util.Iterator;
import java.util.Set;
import java.util.TreeSet;

public class Main{    //创建Main类
    public static void main(String args[]){
        Set<Integer> set = new TreeSet<Integer>(); //使用TreeSet创建Set集合对象
        //向Set集合中添加元素
        set.add(-5);
        set.add(-7);
        set.add(10);
        set.add(6);
......................
阅读全部 | GunL 贴于 2021年12月11日 08:13     hide bbsi
上一页 61 62 63 64 65 66 67 68 69 70 下一页