Loading

随笔分类 -  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 阅读全文
posted @ 2021-02-23 21:29 WinterFa1L 阅读(138) 评论(0) 推荐(0)
摘要: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; 阅读全文
posted @ 2021-02-17 03:18 WinterFa1L 阅读(67) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-16 09:45 WinterFa1L 阅读(99) 评论(0) 推荐(0)
摘要: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 > 阅读全文
posted @ 2021-02-15 09:24 WinterFa1L 阅读(122) 评论(0) 推荐(0)
摘要: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 == 阅读全文
posted @ 2021-02-14 01:06 WinterFa1L 阅读(64) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-13 21:38 WinterFa1L 阅读(154) 评论(0) 推荐(0)
摘要: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 >> 阅读全文
posted @ 2021-02-13 14:50 WinterFa1L 阅读(71) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-13 02:31 WinterFa1L 阅读(50) 评论(0) 推荐(0)
摘要: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') 阅读全文
posted @ 2021-02-11 11:10 WinterFa1L 阅读(69) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-11 01:34 WinterFa1L 阅读(142) 评论(1) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-10 23:45 WinterFa1L 阅读(89) 评论(0) 推荐(0)
摘要: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; 阅读全文
posted @ 2021-02-09 11:14 WinterFa1L 阅读(66) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-09 09:32 WinterFa1L 阅读(72) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-09 08:46 WinterFa1L 阅读(63) 评论(0) 推荐(0)
摘要: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) 阅读全文
posted @ 2021-02-09 00:51 WinterFa1L 阅读(70) 评论(0) 推荐(0)
摘要: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 > 阅读全文
posted @ 2021-02-08 08:40 WinterFa1L 阅读(84) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-02-07 22:09 WinterFa1L 阅读(102) 评论(0) 推荐(0)
摘要: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 << 阅读全文
posted @ 2021-02-07 19:32 WinterFa1L 阅读(136) 评论(0) 推荐(0)
摘要: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 = 阅读全文
posted @ 2021-02-06 17:06 WinterFa1L 阅读(75) 评论(0) 推荐(0)
摘要: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 >> 阅读全文
posted @ 2021-02-05 12:25 WinterFa1L 阅读(74) 评论(0) 推荐(0)