This file contains hidden or 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
| // a.tsx | |
| const APage = async () => { | |
| return ( | |
| <TextEditor> | |
| </TextEditor> | |
| ) | |
| } | |
| // b.tsx |
This file contains hidden or 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
| /* | |
| * Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 | |
| * The President and Fellows of Harvard College. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. | |
| * 2. Redistributions in binary form must reproduce the above copyright |
This file contains hidden or 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
| #pragma warning (disable : 4996) | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int c[8] = { 1,2,3,4,5,6,7,8 }; | |
| void createMatrix(char x, int rows, int cols); | |
| int** getMatrix(char x); | |
| int** a; | |
| int** b; | |
| int** e;//두 행렬을 더한 결과 | |
| int** f;//두 행렬을 곱한 결과 |
This file contains hidden or 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 <cmath> | |
| #include <cstring> | |
| using namespace std; | |
| int mem[1000001]; | |
| int N; | |
| int dp(int n) |
This file contains hidden or 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 <queue> | |
| #include <cstring> | |
| #include <cmath> | |
| #include <tuple> | |
| using namespace std; | |
| int N; | |
| int map[20][20]; |
This file contains hidden or 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 * as http from 'http'; | |
| import { promises as fs } from 'fs'; | |
| import * as path from 'path'; | |
| const users: { [key: string]: any } = {}; // 데이터 저장용 | |
| http | |
| .createServer(async (req, res) => { | |
| try { | |
| if (req.method === 'GET') { // HTML 호스팅 |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="ko"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>RESTful SERVER</title> | |
| </head> | |
| <body> | |
| <div> |
This file contains hidden or 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
| function solution(id_list, report, k) { | |
| var answer = []; | |
| let id_info = {}; | |
| for(let i = 0; i <id_list.length; i++){ | |
| id_info[id_list[i]] = { | |
| report : [], | |
| reported: 0 | |
| } | |
| } |
This file contains hidden or 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
| <div style={{ | |
| "position":"relative", | |
| "width":"10vw", | |
| "height":"10vh" | |
| }}> | |
| <Image | |
| src={"https://hang-jeong-sal.s3.ap-northeast-2.amazonaws.com/image/euije.jpg"} | |
| alt="" | |
| fill={true} | |
| style={{ |
This file contains hidden or 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
| export const getBalance = (address) => { | |
| return caver.rpc.klay.getBalance(address).then((response) => { | |
| const balance = caver.utils.convertFromPeb(caver.utils.hexToNumberString(response)); | |
| console.log(balance); | |
| return balance; | |
| }) | |
| }; |