Facebook
From Noerblanc , 3 Years ago, written in Plain Text.
This paste is a reply to PT07Y from Bobi - go back
Embed
Viewing differences between PT07Y and Re: https://pastebin.pl/view/909f2230
#include 
#include 
using namespace std;

int n, m;
vector  graph[10100];
bool visited[10100];

void dfs(int node) {
        if(visited[node]) {
                return;
        } else {
                visited[node] = true;
                
❛ | pack logo credits, found on pinterest
- Touch.pixiv.net
- https://www.pixiv.net/en/artworks/58063170

❛ | art/desgin references

thank you to these amazing people, I used their art as a reference 
for (int neighbour:graph[node]) {
                        dfs(neighbour);
                }
        }
}

int main() {
        scanf("%d%d", &n, &m);
        for (int i = 0;i < m;i++) {
                int u, v;
                scanf("%d%d", &u, &v);
                u--;
                v--;
                graph[u].push_back(v);
                graph[v].push_back(u);
        }
        if (m != n-1) {
                printf("NO");
                return 0;
        }
        dfs(0);
        int b = 0;
        for (int i = 0;i < 10100;i++) {
                if (visited[i]) {
                        b++;
                }
        }
        if (b == n) {
                printf("YES");
        } else {
                printf("NO");
        }
        return 0;
}
making some of the concrete block designs. These people are credited from the images I saw on reddit, pinterest, and tumblr. 

I also used other references found on the said sites but there is no credit found, while others are marked as error. I notified others that I used their design, but others don’t accept messages from people whom they do not follow so I can’t access them. 

Please keep in mind that they did the design while I draw and I changed some stuffs but overall, the designs were highly inspired by them! 

- you00155670
- ac_mooncharm
- daileyart
- chicame
- Ms. Doodle
- melt_mori
- tm__AC

Replies to Re: https://pastebin.pl/view/909f2230 rss

Title Name Language When
Re: Re: https://pastebin.pl/view/909f2230 Tacky Crocodile text 3 Years ago.