Skip to content

Instantly share code, notes, and snippets.

View yukkuribemani's full-sized avatar

cygcyg yukkuribemani

  • Kanagawa University
View GitHub Profile
@yukkuribemani
yukkuribemani / IOtest.cs
Created April 29, 2014 16:29
C#で競技プログラミング用コードの メモ(標準入出力) ref: http://qiita.com/yukkuribemani/items/b472b6e1e81c72319b2d
using System;
class Program
{
static void Main(string[] args)
{
  int a,b,c;
a = int.Parse(Console.ReadLine()); //標準入力
string[] str = Console.ReadLine().Split(' ');//2つ以上のスペース区切り入力の取得
b = int.Parse(str[0]); //数値で受け取りたい場合は変換する
c = int.Parse(str[1]);
@yukkuribemani
yukkuribemani / LoadFileData.cs
Created May 31, 2014 17:42
二次元Listジェネリックにファイル読み込み ref: http://qiita.com/yukkuribemani/items/62206eac33c31394a8df
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace test
{
static class FileLoad
{
public static List<List<string>> load(string filename)
@yukkuribemani
yukkuribemani / calc.cs
Created August 29, 2014 22:11
C#+Windowsフォームで作るダメな電卓例 ref: http://qiita.com/yukkuribemani/items/f0fe2c9f029531a62d5b
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace calc
{
public partial class Form1 : Form
{
private bool init_flag = true; // 計算終了後の初期化フラグ
@yukkuribemani
yukkuribemani / calc.cs
Created September 15, 2014 15:48
C#+Windows Formで作るダメな電卓例(改善版) ref: http://qiita.com/yukkuribemani/items/ddf25a9534b5e58c6ad9
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace calc
{
public partial class Form1 : Form
{
@yukkuribemani
yukkuribemani / MainWindow.xaml.cs
Created November 1, 2014 15:31
C#+WPFで作る日めくり式カレンダー(仮) ref: http://qiita.com/yukkuribemani/items/6f9fe61f7f10a20c0aa3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;