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.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
int main() | |
{ | |
int test_case_num; | |
cin >> test_case_num; |
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.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
int main() | |
{ | |
int input_num; | |
cin >> input_num; |
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.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <map> | |
#include <set> | |
using namespace std; | |
// 단어의 사이즈를 점수로 변환 | |
const int size2score[9] = {-987654321, 0, 0, 1, 1, 2, 3, 5, 11}; |
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.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
int matrix[101][101]; | |
int cache[101][101]; | |
int matrix_num; | |
int DP(int x, int y) | |
{ |
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.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
int matrix[101][101]; | |
int cache[101][101]; | |
int matrix_num; | |
unsigned long reach_end_counter; | |
int DP(int x, int y) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <unistd.h> | |
#include <wait.h> | |
#define CHUNK 1 | |
char** res = NULL; |
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.
Learn more about bidirectional Unicode characters
import subprocess | |
import unittest | |
import sys | |
import filecmp | |
bash_call = './' + sys.argv[1] | |
def subprocess_pipe(cmd_list): | |
prev_stdin = None | |
last_p = None |
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.
Learn more about bidirectional Unicode characters
module multiplexer(Y, A, B, C, D); | |
output Y; | |
input A, B, C, D; | |
assign Y = (A&B)|(C&D); | |
endmodule | |
module D_ff(Q, CLK, D); | |
output Q; | |
input CLK, D; |
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.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
slim = tf.contrib.slim | |
class Unet(object): | |
def __init__(self, input, class_num, reuse = False): | |
self.input = input | |
self.reuse = reuse | |
self.class_num = class_num | |
self.build_model() |
OlderNewer