HWOJ输出单向链表中倒数第k个结点

import java.util.*;
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] num = new int[n];
        for(int i=0; i

你可能感兴趣的:(HWOJ输出单向链表中倒数第k个结点)