marp |
---|
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
inline fun <reified T> isNullable(): Boolean = null is T |
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
import java.io.BufferedReader | |
import java.io.FileNotFoundException | |
import java.io.FileReader | |
val prefix: String = "<color name=" | |
val middle: String = ">" | |
val suffix: String = "</color>" | |
fun main(args:Array<String>) { | |
try{ |
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> | |
#include <string> | |
using namespace std; | |
int main() { | |
int x, y; | |
string str; | |
cin >> x >> y; |
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 <chrono> //時間計測その他諸々 | |
#include <cstdio> | |
#include <iostream> | |
#include <random> | |
#include <ppl.h> //parallel_for_each用 | |
#include <algorithm> //for_each用 | |
#include <execution> //algorithmの並列実行ポリシー |