题目1
import java.util.Scanner;public class Main {public static void main(String[] args) {Scanner sc new Scanner(System.in);int n sc.nextInt();int max Integer.MIN_VALUE;int min Integer.MAX_VALUE;double sum 0;for(int i0;i<n;i) {int x sc.nextInt()…
代码
select
hour(click_time) as click_hour
,count(hour(click_time)) as click_cnt
from user_ad_click_time
group by click_hour
order by click_cnt desc
limit 1知识点 order by和limit的连用,取出所需结果 YEAR() 返回统计的年份 MONTH() 返回统计的月份 D…