11 2019 档案

摘要:#include <bits/stdc++.h> //简单快捷包括所有头文件,推荐使用 using namespace std; int n; int x[200010],y[200010],s[200010]; bool f(double w){ long double sum = 0; for(int i = 0; i < n; i++){ sum += s[i]/w; if(sum > y[ 阅读全文
posted @ 2019-11-26 20:37 TTTCoder 阅读(291) 评论(0) 推荐(0)
摘要:1 #!/usr/bin/env python3 2 import requests 3 4 def download(url): 5 try: 6 req = requests.get(url) 7 except requests.exceptions.MissingSchema: 8 print('Invalid URL "{}"'.format(url)) 9 return 10 11 if 阅读全文
posted @ 2019-11-14 16:02 TTTCoder 阅读(643) 评论(0) 推荐(0)