- 博客(6)
- 收藏
- 关注
原创 狂欢赛4补题
B - Drinks#include "stdafx.h"#include<iostream>#include<iomanip>int main(){ using namespace std; int n, input, num[100]; double sum = 0; cin >> n; for (int i = 0; i < n; i++) { c...
2018-02-15 13:07:34 145
原创 狂欢赛3补题
A - Let's Watch Football#include "stdafx.h"#include<iostream>int main(){ using namespace std; int a, b, c, sum, left, n; cin >> a >> b >> c; sum = a * c; left = sum - b * c; n ...
2018-02-15 10:41:11 102
原创 狂欢赛2补题
C - Cloning Toys#include "stdafx.h"#include<iostream>int main(){ using namespace std; long long x, y; cin >> x >> y; x = x - y + 1; if (x % 2 == 0) cout << "Yes"; else cout &
2018-02-14 22:18:52 99
原创 狂欢赛1补题
B - Comparing Strings#include "stdafx.h"#include<iostream>#include<string>#include<stack>int main(){ using namespace std; stack <char> contrary; string input1, input2; int test...
2018-02-14 20:49:14 126
原创 摸底测试补题及题解
补题A - Higher Math#include "stdafx.h"#includeint main(){ using namespace std; int n, a, b, c; cin >> n; for (int i = 0; i { cin >> a >> b >> c; if (a + b > c && a + c > b
2018-02-02 09:23:00 180
原创 CQUPT假期集训(栈,队列,STL)
补题A - ACboy needs your help again!#include "stdafx.h"#include #include #include #include int main(){ using namespace std; int n, num, num2; string input, fifo, filo;
2018-01-29 13:12:27 155
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人