随笔分类 - ATcoder
摘要:A - Circle #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int r; int main(){ cin >> r; cout << r * r << end
阅读全文
摘要:A - Can't Wait for Holiday #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; string s; int main() { cin >> s;
阅读全文
摘要:A - November 30 #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b, c, d; int main() { cin >> a >> b
阅读全文
摘要:A - Entrance Examination #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; double a, b; int main(){ cin >> a >
阅读全文
摘要:A - B +/- A #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a,b; int main(){ cin >> a >> b; if (b % a ==
阅读全文
摘要:A - Still TBD #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int main(){ string s; cin >> s; if (s[5] == '1
阅读全文
摘要:A - Favorite Sound #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int main(){ int a, b, c; cin >> a >> b >>
阅读全文
摘要:A - White Cells #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int main(){ int a,b,c,d; cin >> a >> b >> c
阅读全文
摘要:A - Double Helix #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int main(){ char c; cin >> c; if (c == 'A')
阅读全文
摘要:A - Five Antennas #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a[5]; int main() { for (int i = 0; i
阅读全文
摘要:A - Buttons #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b; int main(){ cin>>a>>b; cout << max({a
阅读全文
摘要:A - Biscuit Generator #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b, t; int main(){ cin>>a>>b>>t;
阅读全文
摘要:A - New Year #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int n; int main(){ cin >> n; cout << 24 - n + 2
阅读全文
摘要:A - Already 2018 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; string s; int main(){ cin>>s; s[3] = '8'; c
阅读全文
摘要:A - Product #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b; int main(){ cin >> a >> b; if ((a * b)
阅读全文
摘要:A - Buying Sweets #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b, x; int main() { cin >> x >> a >
阅读全文
摘要:A - Infinite Coins #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int n, a; int main() { cin >> n >> a; if
阅读全文
摘要:A - Grouping 2 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int n; int main(){ cin >> n; cout << n / 3 <<
阅读全文
摘要:A - Diagonal String #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; char a[3][3]; int main() { for (int i =
阅读全文
摘要:A - Traveling Budget #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b, c, d; int main(){ cin >> a >>
阅读全文

浙公网安备 33010602011771号