Skip to content

Instantly share code, notes, and snippets.

View siberiy4's full-sized avatar
:octocat:
Home

Higashihata Kazuma siberiy4

:octocat:
Home
View GitHub Profile
#!/usr/bin/python3
from jinja2 import Template
import sys
import os
if os.path.isdir(sys.argv[1]):
print("already exists: "+sys.argv[1])
pass
else:
print("create: "+sys.argv[1])
const std = @import("std");
const print = std.debug.print;
const stdout = std.io.getStdOut().writer();
const stdin = std.io.getStdIn().reader();
pub fn input() ![]u8 {
var buf = std.ArrayList(u8).init(std.testing.allocator);
defer buf.deinit();
while (true) {
# https://daeudaeu.com/tkinter_maze/
import tkinter
import random
import csv
import time
import copy
from collections import deque
# キャンバスのサイズ設定
CANVAS_WIDTH = 600
*://*.sejuku.net/*
*://*.stackoverrun.com/*
*://*.i-harness.com/*
*://*.codeday.me/*
*://*.voidcc.com/*
*://*.techacademy.jp/*
*://*.it-swarm-ja.tech/*
*://*.codeflow.site/*
*://*.366service.com/*
*://*.serverfault.com/*
start=int(input())
end=int(input())
fizz=3
buzz=5
for i in range(start,end+1):
if not (i%fizz) and not (i%buzz) :
print("FizzBuzz")
pass
elif not (i%fizz):
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
</head>
<body>
#include<bits/stdc++.h>
using namespace std;
int main(){
int D = 0, N = 0,M=0;
long long ans = 0;
long long tmp = 0;
cin >> N >> M;
vector<long long> kirei(N);
vector<long long> azi(N);
@siberiy4
siberiy4 / decode.c
Last active November 23, 2017 04:19
#include<stdio.h>
int main(void){
int a,b, count=0, w, h, d,i=0;
scanf("%d",&w);
scanf("%d",&h);
scanf("%d",&d);
printf("P2\n");
@siberiy4
siberiy4 / encode.c
Last active November 23, 2017 05:21
#include <stdio.h> /*デフォ物*/
int main(void){
int i= 0, count = 1, b , a, w, h, d;
getchar();
getchar();
getchar();
scanf ("%d",&w);
printf("%d ",w);
scanf ("%d",&h);
@siberiy4
siberiy4 / work78.c
Last active October 30, 2017 14:08
#include<stdio.h>
int main(void){
int a,b,c=1, i, j, e, f, p, d=0;
printf("桁区切りする値の入力:");
scanf("%d",&a);
b=a;