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
#!/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]) |
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
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) { |
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
# https://daeudaeu.com/tkinter_maze/ | |
import tkinter | |
import random | |
import csv | |
import time | |
import copy | |
from collections import deque | |
# キャンバスのサイズ設定 | |
CANVAS_WIDTH = 600 |
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
*://*.sejuku.net/* | |
*://*.stackoverrun.com/* | |
*://*.i-harness.com/* | |
*://*.codeday.me/* | |
*://*.voidcc.com/* | |
*://*.techacademy.jp/* | |
*://*.it-swarm-ja.tech/* | |
*://*.codeflow.site/* | |
*://*.366service.com/* | |
*://*.serverfault.com/* |
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
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): |
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
<!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> |
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<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); |
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> | |
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"); |
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> /*デフォ物*/ | |
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); |
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> | |
int main(void){ | |
int a,b,c=1, i, j, e, f, p, d=0; | |
printf("桁区切りする値の入力:"); | |
scanf("%d",&a); | |
b=a; |