#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
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}