上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页
摘要: # A. Calandar ```cpp #include using namespace std; #define int long long #define mp make_pair typedef pair pii; typedef pair psi; int res = LLONG_MIN; 阅读全文
posted @ 2023-08-02 12:47 PHarr 阅读(12) 评论(0) 推荐(0) 编辑
摘要: # A - Chord ```cpp #include using namespace std; int32_t main() { ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr); string s; cin >> s 阅读全文
posted @ 2023-07-31 19:40 PHarr 阅读(34) 评论(0) 推荐(0) 编辑
摘要: # A. Two Rival Students 让两个人向两侧走就好了。 ```cpp #include using namespace std; void solve(){ int n , x , a , b; cin >> n >> x >> a >> b; if( a > b ) swap( 阅读全文
posted @ 2023-07-28 15:52 PHarr 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 数字三角形 ```cpp #include using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false), cin.tie(nullptr); int n; while( cin > 阅读全文
posted @ 2023-07-28 09:36 PHarr 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # A. Escalator Conversations ```cpp #include using namespace std; #define int long long void solve(){ int n , m , k ,H; cin >> n >> m >> k >> H; vecto 阅读全文
posted @ 2023-07-26 19:50 PHarr 阅读(73) 评论(0) 推荐(0) 编辑
摘要: # A-雨 ```cpp #include using namespace std; #define int long long void solve() { vector a(4); int x; for( auto &i : a ) cin >> i; cin >> x; for( auto i 阅读全文
posted @ 2023-07-26 19:49 PHarr 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 多项式输出 小细节比较多 ```cpp #include using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nul 阅读全文
posted @ 2023-07-25 18:26 PHarr 阅读(21) 评论(0) 推荐(0) 编辑
摘要: # A - First ABC ```cpp #include using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nu 阅读全文
posted @ 2023-07-25 13:15 PHarr 阅读(32) 评论(0) 推荐(0) 编辑
摘要: # A. There Are Two Types Of Burgers ```cpp #include using namespace std; #define int long long void solve() { int b, p, f, h, c; cin >> b >> p >> f>> 阅读全文
posted @ 2023-07-24 18:43 PHarr 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # A. To My Critics ```cpp #include using namespace std; #define int long long void solve(){ vector a(3); for( auto & i : a ) cin >> i; sort( a.begin() 阅读全文
posted @ 2023-07-22 09:30 PHarr 阅读(109) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页