摘要: A.直接模拟。 #include<bits/stdc++.h> using namespace std; int c,v0,v1,a,l; int main() { ios::sync_with_stdio(0); cin >> c >> v0 >> v1 >> a >> l; int ans = 阅读全文
posted @ 2017-07-24 22:29 zzzzzzzzhu 阅读(149) 评论(0) 推荐(0) 编辑
摘要: A.winners总数为(k+1)diplomas。 #include<bits/stdc++.h> using namespace std; long long n,k; int main() { ios::sync_with_stdio(0); cin >> n >> k; long long 阅读全文
posted @ 2017-07-24 12:28 zzzzzzzzhu 阅读(218) 评论(0) 推荐(0) 编辑
摘要: A.小的那个数的阶乘。 #include<bits/stdc++.h> using namespace std; int a,b; int main() { ios::sync_with_stdio(0); cin >> a >> b; int t = min(a,b); int ans = 1; 阅读全文
posted @ 2017-07-24 00:09 zzzzzzzzhu 阅读(256) 评论(0) 推荐(0) 编辑