Skip to content

Instantly share code, notes, and snippets.

View DetegiCE's full-sized avatar
😴
Sleeping

Ryubin Kim DetegiCE

😴
Sleeping
View GitHub Profile
#include <stdio.h>
int main()
{
printf("\"Praise the sun\"\n \\\\[T]//");
return 0;
}
#include <stdio.h>
int main()
{
printf("\"Praise the sun\"\n");
printf(" \\\\[T]//");
return 0;
}
#include <stdio.h>
int main(){
printf("Hello World!");
return 0;
}
package chap06.section1
class Person(_name: String, _age: Int) {
val name: String = _name
var age: Int = _age
get() {
return when {
field < 18 -> 18
field > 30 -> field - 3
#include<cstdio>
using namespace std;
#define MAX(A,B) (A>B?A:B)
int n;
int lim;
int a[262145];
int v[100001];
int amax;
#include<cstdio>
#include<cstdlib>
#include<queue>
using namespace std;
int n;
int ar[1001][1001];
int cnt[1001];
int ncnt;
function readTextFile(file)
{
var rawFile = new XMLHttpRequest();
rawFile.open("GET", file, false);
rawFile.onreadystatechange = function ()
{
if(rawFile.readyState === 4)
{
if(rawFile.status === 200 || rawFile.status == 0)
{
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout
class MyApp(QWidget):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
# 푸시 버튼 생성
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QGridLayout, QLabel, QLineEdit, QTextEdit
class MyApp(QWidget):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
# 그리드 레이아웃 생성
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QHBoxLayout, QVBoxLayout
class MyApp(QWidget):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
# 버튼 생성