- 税金を納める制度
- 個人事業主は全員やる
- 会社員はやらなくていい(参考:年末調整)
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 <array> | |
#include <iostream> | |
#include <numeric> | |
#include <vector> | |
using namespace std; | |
class Point : public std::array<double, 2> { | |
public: | |
static const int DIM = 2; |
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 <algorithm> | |
#include <vector> | |
#include <climits> | |
using namespace std; | |
typedef vector<int> vi; | |
const int INF = INT_MAX; | |
const int SIZE = 13; |
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 <algorithm> | |
#include <vector> | |
#include <climits> | |
using namespace std; | |
typedef vector<int> vi; | |
const int INF = INT_MAX; | |
int arr_size = 10; | |
int v[] = {-1,88,2,4,6,8,10,11,24,54}; |
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
function storageGet() { | |
var res; | |
chrome.storage.local.get(res = callbackFunc(items)); | |
console.log(res); | |
return res; | |
} | |
function callbackFunc(items) { | |
console.log(items); | |
callback(items); |
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> | |
typedef struct __physcheck | |
{ | |
char name[20]; | |
int height; | |
double vision; | |
struct __physcheck *next; | |
} PhysCheck; |
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> | |
struct CharStack { | |
char* data; | |
int top; // 半開区間で終端を管理する | |
int max; | |
} typedef stack; | |
void push(char* data, char c, int* top) { |
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
fn cos_sim(q: &Vec<i32>, d: &Vec<i32>) -> f32 { | |
assert_eq!(q.len(), d.len()); | |
// 分母 | |
let mut dot = 0.0; | |
for i in 0..q.len() { | |
dot += (q[i] * d[i]) as f32; | |
} | |
// 分子左 | |
let mut left = 0.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
{ | |
"sample": { | |
"prefix": "sample", | |
"body": [ | |
"\\documentclass{jsarticle}", | |
"\\usepackage{url} % URL", | |
"\\usepackage{color} % 色付け", | |
"\\usepackage{amsmath} % align環境", | |
"\\usepackage{ascmac} % 枠付き文章", | |
"\\usepackage{listings,jlisting} % ソースコード", |
OlderNewer