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 <stdio.h> | |
int main() { | |
int year, month, day; | |
scanf("%d.%d.%d", &year, &month, &day); | |
printf("%04d년 %02d월 %02d일\n", year, month, day); | |
return 0; | |
} |
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
table, th, td, tr{ | |
border-collapse: collapse; | |
border: 1px solid #c4c4c4; | |
} | |
.Ticket { | |
height: 100%; | |
width: 100%; | |
} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
/** Error Messages **/ | |
const char undefinedCmd[100] = "Undefined Command."; | |
void swap (int *a, int *b) { | |
int tmp = *a; | |
*a = *b; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
/** Error Messages **/ | |
const char undefinedCmd[100] = "Undefined Command."; | |
void swap (int *a, int *b) { | |
int tmp = *a; | |
*a = *b; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
/** Error Messages **/ | |
const char undefinedCmd[100] = "Undefined Command."; | |
void swap (int *a, int *b) { | |
int tmp = *a; | |
*a = *b; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
/** Error Messages **/ | |
const char undefinedCmd[100] = "Undefined Command."; | |
void swap (int *a, int *b) { | |
int tmp = *a; | |
*a = *b; |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#include <algorithm> | |
using namespace std; | |
const int maxSize = 150; // The maximum number of elements | |
const int boundSize = 50; |
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 numpy as np | |
import tensorflow as tf | |
from tensorflow.keras.models import Sequential | |
from tensorflow.keras.layers import Flatten, Dense, Activation | |
def softmax(x): | |
return np.exp(x) / np.sum(np.exp(x), axis=0) | |
(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data() | |
x_train = x_train.astype('float32') |
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 <set> | |
#include <string> | |
using namespace std; | |
set <int> s; | |
void push () { | |
int val; | |
cin >> val; | |
if (s.insert(val).second) |
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 <stdio.h> | |
#include <stdlib.h> | |
#define STACK_SIZE 10 | |
char stack[STACK_SIZE]; | |
int top = -1; | |
int isFull() { | |
return top >= STACK_SIZE - 1; | |
} |
OlderNewer