Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <iostream>
#include <vector>
#include <memory.h>
using namespace std;
int t, v, e; int color[20001]; bool check;
vector<int> adj[20001];
void search(int now, int col) {
//visited[now] = true;
color[now] = col;
// 1197.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include <stdio.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <memory.h>