-
出力フォルダ
-
時間何連UTCとLocal
-
for の終了条件(境界条件)
-
例外の扱い
-
lockファイルの名前
This file contains hidden or 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 <cmath> | |
int main() | |
{ | |
long w, h, x, y, r; | |
std::cin >> w >> h >> x >> y >> r; | |
if (x+r > w || (x-r) < 0) { | |
std::cout << "No" << std::endl; |
This file contains hidden or 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 <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
string mem[100]; | |
int n = 0; |
This file contains hidden or 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
db.default.driver=org.postgresql.Driver | |
db.default.url="<URI>" |
This file contains hidden or 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
// | |
// main.cpp | |
// DP | |
// | |
// Created by oskimura on 2017/09/30. | |
// Copyright (c) 2017年 oskimura. All rights reserved. | |
// | |
#include <iostream> | |
#include <stdio.h> |
This file contains hidden or 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
using System; | |
using System.IO; | |
using System.Collections; | |
using System.Collections.Generic; | |
namespace workDP | |
{ | |
class MainClass | |
{ | |
static int[,] dp; |
This file contains hidden or 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/env python | |
from pandocfilters import toJSONFilter, RawInline | |
def conv(key,value,format,meta): | |
if format == 'latex': | |
if key == 'Code': | |
[[ident, classes, kvs], contents] = value | |
dst = contents.translate({ | |
ord(u'_'): u'\\_', |
This file contains hidden or 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
`timescale 1ns/1ps | |
module fulladder_tc; | |
reg ain,bin,cin; | |
wire cout,sout; | |
initial begin | |
$dumpfile("wave.vcd"); | |
$dumpvars(0, fulladder_u); | |
$monitor("ain:%d,bin:%d,cin:%d,cout:%d,sout:%d", ain,bin,cin,cout,sout); |
This file contains hidden or 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 "regfile.h" | |
module regfile( | |
input wire clk, | |
input wire reset_, | |
input wire [`AddrBus] addr, | |
input wire [`DATABus] d_in, | |
input wire we_, | |
output wire [`DATABus] d_out |