div3(2)
-
Codeforces Round #486 (Div. 3)
이번엔 D까지 풀었지만, D 문제의 레이팅이 1800이라 엄청 잘 본 라운드였다. A - Diverse Team Problem - A - Codeforces codeforces.com 이해하는데 8분, 코드짜는데 1분 걸린 문제다. 역시 이해빨 문제 그냥 하라는 대로 하면 된다. ㅋㅋ 자세한 건 코드 참고. 9분에 AC 딥3 A번치곤 너무 늦게 푼듯. ㅜㅜ #include #define MEM 200006 #define sanic ios_base::sync_with_stdio(0) using namespace std; typedef long long ll; typedef pair pi; const ll MOD = 1e9+7; ll n,m; ll cnt[MEM], a[MEM]; set s; int main..
2020.09.14 -
Codeforces Round #479 (Div. 3)
코포 버추얼을 매일 돌릴 예정이다. 이번 라운드가 쉬워서 그런지 F 빼고 다 풀었다. A - Wrong Subtraction Problem - A - Codeforces codeforces.com 걍 구현. 2분에 AC #include #define MEM 100 #define sanic ios_base::sync_with_stdio(0) using namespace std; typedef long long ll; typedef pair pi; const ll MOD = 1e9+7; ll n,m; int main() { sanic; cin.tie(0); cin >> n >> m; for(int i=0; i n; cin >> s; for(int i=0; isecond), it->first}); for(au..
2020.09.12