cd sandbox
ls
cd sandbox
ls
cd sandbox
ls
cd sandbox
ls
CREATE TABLE submissions ( | |
id BIGINT NOT NULL, | |
epoch_second BIGINT NOT NULL, | |
problem_id VARCHAR(255) NOT NULL, | |
contest_id VARCHAR(255) NOT NULL, | |
user_id BIGINT NOT NULL, -- 数値化 | |
language VARCHAR(255) NOT NULL, | |
point DOUBLE PRECISION NOT NULL, | |
length INT NOT NULL, | |
result VARCHAR(255) NOT NULL, |
<template> | |
<div ref="stage"></div> | |
</template> | |
<script> | |
import * as THREE from 'three'; | |
import Stats from 'stats.js'; | |
import DataPoint from '@/lib/DataPoint'; | |
import Axis from '@/lib/Axis'; |
Japanese | English | French | Spanish | German | Italian | Korean | MandarinChinese | CantoneseChinese | ||
---|---|---|---|---|---|---|---|---|---|---|
0 | あくしゅう | Stench | Puanteur | Tanfo | Duftnote | Hedor | 악취 | 恶臭 | 惡臭 | |
1 | あめふらし | Drizzle | Crachin | Piovischio | Niesel | Llovizna | 잔비 | 降雨 | 降雨 | |
2 | かそく | Speed Boost | Turbo | Acceleratore | Temposchub | Impulso | 가속 | 加速 | 加速 | |
3 | カブトアーマー | Battle Armor | Armurbaston | Lottascudo | Kampfpanzer | Armadura Batalla | 전투무장 | 战斗盔甲 | 戰鬥盔甲 | |
4 | がんじょう | Sturdy | Fermeté | Vigore | Robustheit | Robustez | 옹골참 | 结实 | 結實 | |
5 | しめりけ | Damp | Moiteur | Umidità | Feuchtigkeit | Humedad | 습기 | 湿气 | 濕氣 | |
6 | じゅうなん | Limber | Échauffement | Scioltezza | Flexibilität | Flexibilidad | 유연 | 柔软 | 柔軟 | |
7 | すながくれ | Sand Veil | Voile Sable | Sabbiavelo | Sandschleier | Velo Arena | 모래숨기 | 沙隐 | 沙隱 | |
8 | せいでんき | Static | Statik | Statico | Statik | Elec. Estática | 정전기 | 静电 | 靜電 |
<template> | |
<div> | |
<div> | |
<button | |
v-for="(_, i) in 17" | |
:key="i" | |
@click="needles.push(i)"> | |
{{ i }} | |
</button> | |
</div> |
syntax = "proto3"; | |
package image_dataset; | |
message Image { | |
uint32 width = 1; | |
uint32 height = 2; | |
bytes data = 3; | |
string mode = 4; | |
} |
#include <iostream> | |
#include <cmath> | |
#include <vector> | |
#include <string> | |
#include <map> | |
#include <algorithm> | |
#include <tuple> | |
#include <set> | |
#include <stack> | |
#include <queue> |
def make_mask(lens, mask_shape): | |
mask = np.ones(mask_shape).astype('uint8') | |
for i, l in enumerate(lens): | |
mask[i, :l] = 0 | |
return mask | |
batch_size = 2 | |
seq_len = 4 | |
lens = np.array([2, 3]) |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
def colorize(words, color_array): | |
# words is a list of words | |
# color_array is an array of numbers between 0 and 1 of length equal to words | |
cmap = matplotlib.cm.get_cmap('RdBu') | |
template = '<span class="barcode"; style="color: black; background-color: {}">{}</span>' | |
colored_string = '' |