Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/arkoak/arkoak.com/public_html/tsubasa/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /home/arkoak/arkoak.com/public_html/tsubasa/wp-includes/feed-rss2.php on line 8
まんまる備忘録 » 未分類 http://tsubasa.arkoak.com Wed, 09 Aug 2017 14:02:20 +0000 ja hourly 1 https://wordpress.org/?v=3.9.40 excel セルに分割された単語を特定のものだけつなげる http://tsubasa.arkoak.com/?p=36 http://tsubasa.arkoak.com/?p=36#comments Wed, 09 Aug 2017 14:02:20 +0000 http://tsubasa.arkoak.com/?p=36 list
まずはリストを作る
今回は左にグループ、右にメンバーの列を作る
search
=IF(A1=””,””,IF(COUNTIF(A1:A$1000,A1)=1,B1,B1&”、”&VLOOKUP(A1,A2:C$1000,3,FALSE)))
$1000の部分は上限
B1&”、”&VLOOKUP の”、”を変えれば連結する文字を変えれる
pick
=VLOOKUP(D1,$A$1:$C$6,3,FALSE)
サーチするグループのメンバーを連結できた

]]>
http://tsubasa.arkoak.com/?feed=rss2&p=36 0
Javaでの標準入力 http://tsubasa.arkoak.com/?p=30 http://tsubasa.arkoak.com/?p=30#comments Fri, 02 Oct 2015 06:24:46 +0000 http://tsubasa.arkoak.com/?p=30 JavaのScannerクラスを利用した標準入力の一例

import java.util.Scanner;

public class Scan{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        String s = sc.next();
        
    }
}

次に標準入力から複数行を手に入れる場合

import java.util.Scanner;
public class Practice {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        String s;
        while(sc.hasNext()){            
            s = sc.next();
            System.out.println(s);
        }
    }
}

]]>
http://tsubasa.arkoak.com/?feed=rss2&p=30 0
ANSYSの計算量過多によるエラーについて http://tsubasa.arkoak.com/?p=19 http://tsubasa.arkoak.com/?p=19#comments Fri, 11 Jul 2014 04:59:15 +0000 http://tsubasa.arkoak.com/?p=19 研究で使っているANSYS13.0でそんなに多くない要素数で計算量過多によるエラーが出ていました。
それでその解決手段として
workbenchのツール->ライセンス設定をひらき
ANSYS Academic Teaching Introductoryの右側にあるラベル部分の
1を0に変えてworkbenchを再起動すると、無事解析が行えました。
ANSYS_license

]]>
http://tsubasa.arkoak.com/?feed=rss2&p=19 0
ハノイの塔をアニメーションで表現 http://tsubasa.arkoak.com/?p=12 http://tsubasa.arkoak.com/?p=12#comments Thu, 10 Jul 2014 06:45:46 +0000 http://tsubasa.arkoak.com/?p=12 再帰関数を使ってハノイの塔を攻略
ハノイの塔を攻略せよ
こちらのサイトを参考にハノイの塔をdxlibを使ってアニメーションで表現してみました。(3段まで)

#include <stdio.h>
#include "DxLib.h"

void Hanoi(int n, int from, int use, int to);
int y = 0;
int x[3] = {100,100,100};
int gc[3] = { GetColor(255,0,0), GetColor(0, 255, 0), GetColor(0, 0, 255) };
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int){
	ChangeWindowMode(TRUE), DxLib_Init(), SetDrawScreen(DX_SCREEN_BACK); //ウィンドウモード変更と初期化と裏画面設定

	Hanoi(3, 100, 200, 300);

	DxLib_End(); // DXライブラリ終了処理
	return 0;
}
void Hanoi(int n, int from, int use, int to){
	int i;
	if (n >= 2) Hanoi(n - 1, from, to, use);

	while (ScreenFlip() == 0 && ProcessMessage() == 0 && ClearDrawScreen() == 0 && abs(x[n-1] - to) > 0){

			DrawLine(100, 300, 100, 400, GetColor(255, 255, 255));
			DrawLine(200, 300, 200, 400, GetColor(255, 255, 255));
			DrawLine(300, 300, 300, 400, GetColor(255, 255, 255));

			for (i = 0; i < 3; i++){
				DrawBox(x[i] - (20 * (i + 1)), 370 + (10 * i), x[i] + (20 * (i + 1)), 381 + (10 * i), gc[i], TRUE);
			}
			if (from - to < 0) x[n - 1] += 10;
			else x[n - 1] -= 10;
			WaitTimer(20);
	}
	WaitTimer(100);
	if (n >= 2) Hanoi(n - 1, use, from, to);
}

dxlibの部分は次のサイトを参考にしました。
新・ゲームプログラミングの館

]]>
http://tsubasa.arkoak.com/?feed=rss2&p=12 0