摘要: #include <bits/stdc++.h> using namespace std; int main () { int a, b; cin >> a >> b; a += b; stack<int> s; bool flag = 0; while(abs(a) > 999) { s.push 阅读全文
posted @ 2020-05-25 16:27 LightAc 阅读(107) 评论(0) 推荐(0) 编辑
摘要: class LRUCache { private: int capacity; list<pair<int, int>> cache; unordered_map<int, list<pair<int, int>> :: iterator> map; public: LRUCache(int cap 阅读全文
posted @ 2020-05-25 15:18 LightAc 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://codeforces.com/contest/1360 /* A题 creat by dzz */ #include <bits/stdc++.h> using namespace std; int main () { int T; cin >> T; while(T--) 阅读全文
posted @ 2020-05-25 09:45 LightAc 阅读(239) 评论(0) 推荐(0) 编辑
返回顶端