- アンケートは大体80%ぐらいOKならば進む方針で
- 練習はタイムオーバーしてたらやらない
- できるだけ巻き目でやって可能なら挙手する
- あいさつ
- 自己紹介
rm -rf ./node_modules && mkdir -p ~/workspace_noshared/`basename \`pwd\``/node_modules && ln -s ~/workspace_noshared/`basename \`pwd\``/node_modules ./node_modules |
#include <bits/stdc++.h> // g++ -std=c++14 -o a a.cpp | |
using namespace std; | |
typedef pair<int, int> P; | |
typedef long long ll; | |
#define rep(i, n) for(int i = 0; i < (n); i++) | |
#define all(c) (c).begin(), (c).end() | |
#define uniq(c) c.erase(unique(all(c)), (c).end()) | |
#define _1 first | |
#define _2 second |
mkdir ~/workspace2 | |
cd workspace2 | |
npm install request | |
cd ~/workspace/npm-training | |
rm -rf node_modules | |
cp - ../../workspace2/node_modules . |
#include <iostream> | |
#include <algorithm> | |
#include <set> | |
using namespace std; | |
int main(){ | |
int N; | |
cin >> N; | |
int p[N][3]; | |
int i, j; | |
for(i = 0; i < N; i++){ |
@echo off | |
cd %USERPROFILE%\vagrant\ubuntu64_16 | |
vagrant halt |
@echo off | |
cd %USERPROFILE%\vagrant\ubuntu64_16 | |
vagrant up |
#include <iostream> | |
using namespace std; | |
int main() { | |
int n2 = 0; | |
int n1 = 1; | |
int current = 2; | |
int sum = current; |
let sum = 0; | |
for (let i = 1; i < 1000; i++) { | |
if (i % 3 === 0 || i % 5 === 0) sum = sum + i; | |
} | |
console.log(sum); |
'use strict'; | |
let input = require('fs').readFileSync('/dev/stdin', 'utf8'); | |
let lines = input.split('\n'); | |
let h1 = parseInt(lines[0]); | |
let h2 = parseInt(lines[1]); | |
console.log(h1 - h2); |