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
| // 必要な名前空間をインポート | |
| #r "System.Linq" // .NET 6以降は不要なことが多いですが、明示的に指定 | |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| // --- コマンドライン引数の解析 --- | |
| // dotnet script実行時に渡される引数は Args 配列で取得できます | |
| // 例: dotnet script MoveFiles.csx -- -source "C:\Source" -dest "C:\Dest" -keyword "report" |
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
| [Message: Preloader] BepInEx 6.0.0-be.660 - LastOrigin_R | |
| [Message: Preloader] Built from commit 40bf261c9147dbc084b000504b86df26551b6719 | |
| [Info : BepInEx] System platform: Windows 10 64-bit | |
| [Info : BepInEx] Process bitness: 64-bit (x64) | |
| [Info : BepInEx] Running under Unity 2018.4.36f1 | |
| [Info : BepInEx] Runtime version: 6.0.7 | |
| [Info : BepInEx] Runtime information: .NET 6.0.7 | |
| [Info : Preloader] 0 patcher plugins loaded | |
| [Info : Preloader] 0 assemblies discovered | |
| [Message:AssemblyPatcher] Executing 0 patch(es) |
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
| import java.io.*; | |
| import java.util.ArrayList; | |
| /** | |
| * Created by mi-24 on 2017/02/22. | |
| */ | |
| public class Brainfuck { | |
| public static void main(String[] args){ | |
| Onon.main(args); |
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
| package jp.mi24.something; | |
| import java.util.ArrayList; | |
| import org.apache.commons.lang3.builder.ToStringBuilder; | |
| public class Denshikairo { | |
| private byte[] encodedData,decodedata; | |
| public Denshikairo(byte[] input){ |
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
| package jp.mi24.something; | |
| import java.util.ArrayList; | |
| import java.util.Comparator; | |
| import java.util.stream.Collectors; | |
| public class Seisubunkatu { | |
| private ArrayList<String> inputs; |
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
| import java.util.stream.IntStream; | |
| /** | |
| * フィボナッチ数列 | |
| * できてない | |
| * */ | |
| public class fib{ | |
| public static void main(String[] args){ | |
| IntStream.range(0,100).map(n -> n<=1 ? 1 : (n-2)+(n-1)).forEach(i -> System.out.println(i)); | |
| } |
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
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| public class Conceal{ | |
| public static void main(String[] args){ | |
| if(args.length < 1){ | |
| System.err.println("Arguments must has 1 contents(Algorithm Name)."); | |
| System.exit(1); |
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
| import java.util.List; | |
| import java.util.ArrayList; | |
| import java.util.Random; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; | |
| import java.util.stream.Stream; | |
| public class QuickSort { |
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
| import java.util.List; | |
| import java.util.Random; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; | |
| public class ShellSort { | |
| public static void main(String[] args) { | |
| long start = System.nanoTime();//計測スタート | |
| List<Integer> sort = args.length >= 2 ? generate(Integer.parseInt(args[0]),Integer.parseInt(args[1])) : generate(5,10); |
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
| import java.util.stream.IntStream; | |
| import java.util.stream.Collectors; | |
| import java.util.Random; | |
| import java.util.List; | |
| import java.lang.Math; | |
| public class SentakuSort{ | |
| public static void main(String[] args){ | |
| long start = System.nanoTime();//計測スタート | |
| List<Integer> sort = args.length >= 2 ? generate(Integer.parseInt(args[0]),Integer.parseInt(args[1])) : generate(5,10); |
NewerOlder