목록분류 전체보기 (427)
안 쓰던 블로그
123456789101112131415161718192021222324252627282930313233343536373839404142434445#include int n, m[3000][3000], res[3]; void solve(int x, int y, int size) { int paper = m[y][x]; int same = true; for (int i = y; (i
12345678910111213141516171819202122232425262728293031323334353637#include int n, q[64][64]; void tree(int x, int y, int size) { int pic = q[y][x]; int same = true; for (int i = y; (i
12345678910111213141516#include #define NM 1000int n, dp[NM+1]; int f(int a /*i*/) { if (a == 0 || a == 1) return 1; if (a
12345678910111213141516#include #define NM 1000int n, dp[NM+1]; int f(int a /*i*/) { if (a == 0 || a == 1) return 1; if (a
123456789101112131415161718192021222324252627282930313233#include #include using namespace std; #define NM 1000 int dp[NM+1], n, price[10001]; int max(int a, int b) { if (a
[DNS]server1에서 bind 까는 동안server2 selinux disabled로 바꾸기 server1 다깔리면 named.conf에서 any바꾸고 정, 역방향 수정cp named.localhost 다하고내부망에서 DNS 192.168.1.5 (자기 아이피) 역방향 1.168.192.in-addr.arpafile"1.168.192.rev"; NS @IN A 192.168.1.55 IN PTR planetside.com.5 IN PTR mail.planetside.com.5 IN PTR ftp.planetside.com. 10 IN PTR starcraft.com.10 IN PTR mail.starcraft.com.10 IN PTR ftp.starcraft.com. [DHCP]server2[roo..
[socketserver.cpp] 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667#include #include #pragma comment(lib, "wsock32.lib") int main() { SOCKET socketdescriptor, csocketdescriptor; //socket descriptor WSADATA WSAdata; //winsock data struct sockaddr_in socketin; //socket struct struct sockaddr_in client_addr; int size = siz..