- 博客(6)
- 收藏
- 关注
原创 acm第一期第8题
#include using namespace std; int main() { int a, b, s; while (cin >> a >> b >> s) { if ((a + b )> s) cout << “NO” << endl; else { if (s ==( a + b)) cout << “YES...
2018-12-09 15:18:02
144
原创 acm第一期第4题
#include using namespace std; int main() { int m; double a, b, c; cin >> m ; for (int i = 0; i < m; i++) { cin >> a >> b >> c; if (a > 0 && a < 1000 &&
2018-12-09 15:16:57
84
原创 adc第一期第一题
#include using namespace std; int main() { int w; cin >> w; if (w >= 1 && w <= 100) { if (w == 2) cout << “NO”; else { if (w % 2 == 0) cout << “YES”; else cout <<...
2018-12-09 15:15:50
146
原创 第六题
#include #include using namespace std; int main() { char s[3]; while (cin >> s) { sort(s, s + 3); cout << s[0] << " " <<
2018-12-07 20:06:59
98
原创 第七题
#include #include #define PI 3.1415927 using namespace std; int main() { &nbsp;double r; &nbsp;while(cin &gt;&gt; r) &nbsp;{ &nbsp;&nbsp;double v; &nbsp;&nbsp;v = ((4PIrrr)
2018-12-07 19:39:58
235
原创 第八题
#include using namespace std; int main() { int a, b; while (cin>>a>>b) { if ((a + b) % 86 == 0) cout << “yes”<<endl; &a
2018-12-07 18:45:10
190
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人