摘要:
import java.util.Scanner; public class Work2 { public static void main(String []args){ Scanner in = new Scanner(System.in); int year = in.nextInt(); i 阅读全文
摘要:
#include <stdio.h> int count = 0; int chess[8][8]={0}; int notDanger( int row, int col ) { int i,k; // 判断列方向 for( i=0; i < 8; i++ ) { if( chess[i][col 阅读全文
摘要:
1.首先了解 int cmp(const void* a, const void* b) 表示声明cmp函数,其返回值为int型,参数为两个不可修改(const)的void型指针 2.函数原型 函数声明 void qsort(void *base, number, size, int (*cmp)( 阅读全文