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> | |
#define v printf | |
#define ノ ; | |
void 。>ω<。 | |
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
using OpenCvSharp; | |
namespace OpenCvTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
//初期設定 | |
var capture = Cv.CreateCameraCapture(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
using System; | |
using System.Text; | |
using System.Diagnostics; | |
using System.IO; | |
using OpenCvSharp; | |
using OpenCvSharp.CPlusPlus; | |
namespace CaptureTest | |
{ | |
class Program |
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
using System; | |
using System.Text; | |
namespace ExperimentStap | |
{ | |
class Program | |
{ | |
static readonly string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYG"; | |
static void Main(string[] args) | |
{ |
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
using MySql.Data.MySqlClient; | |
using System; | |
using System.Data; | |
namespace ConnectMysqlSample | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
namespace MathUtil | |
{ | |
/// <summary> | |
/// Wallis の公式 | |
/// </summary> | |
public class WallisFormula | |
{ | |
/// <summary> | |
/// 計算を実行する | |
/// </summary> |
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
# count = 計算回数 | |
# precision = 精度 | |
function y = wallis_formula(count,precision) | |
output_precision(precision) | |
i = 1 | |
a = 1 | |
while(i<=count) | |
num = 4*(i^2) | |
a = a * num/(num-1) | |
i++ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace Util | |
{ | |
public class ChitokuChin | |
{ |
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> | |
using namespace std; | |
const int LENGTH = 200; | |
int char_count[LENGTH]; | |
void set_str(char *dst, int n){ | |
if (n == LENGTH){ | |
return; | |
} |
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
@echo off | |
set /P waittime="Log off: Input wait time [sec]> %waittime%" | |
set /A mintime=waittime/60 | |
echo Log off : %mintime% [min] (%waittime% [sec]) | |
timeout /t %waittime% | |
shutdown /l |
OlderNewer