let's start Code

Showing posts with label Atcoder. Show all posts
Showing posts with label Atcoder. Show all posts

D - Coloring Edges on Tree

Problem link: Coloring Edges on Tree Explanation: GfG Implementation: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. ...
Share:

B - Frog 2

B - Frog 2 Complexity: O(n*k) Topic: Basic DP  solution: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 #include<bits/stdc++.h> using namespace std; #define INF 1<<30 #define MAX 100005 #define FASTIO ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); typedef...
Share:

A - Frog 1

A - Frog 1 Solution 01: IH19980412 //copy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 #include<bits/stdc++.h> using namespace std; #define INF 1<<28 #define MAX 100005 #define FASTIO ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); typedef long long...
Share:

About

let's start CODE

Popular Posts