- 符号理論
- 情報理論
- 群・環・有限体の情報化学的展開
- グラフ理論
- 線形計画法
- マトロイド理論
- 離散量最適化法
| let rec fizzbuzz n max = | |
| if n mod 15 == 0 then Printf.printf "fizz buzz\n" | |
| else if n mod 3 == 0 then Printf.printf "fizz\n" | |
| else if n mod 5 == 0 then Printf.printf "buzz\n" | |
| else Printf.printf "%d\n" n; | |
| if n < max then fizzbuzz (n + 1) max | |
| let () = | |
| fizzbuzz 1 30 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>hello</title> | |
| <style> | |
| webview { | |
| position:absolute; | |
| top: 0; | |
| right: 0; |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"> | |
| <style> | |
| .sansserif { | |
| font-family: sans-serif; | |
| } | |
| .serif { | |
| font-family: serif; |
| import std.stdio; | |
| void main(string[] args) | |
| { | |
| for (uint i; i <= 100; i++) { | |
| if (i % 15 == 0) writeln("FizzBuzz"); | |
| else if (i % 5 == 0) writeln("Buzz"); | |
| else if (i % 3 == 0) writeln("Fizz"); | |
| else writeln(i); | |
| } |
| [ | |
| {"keys" : ["ctrl+f"], "command" : "move", "args" : {"by" : "characters", "forward" : true}}, | |
| {"keys" : ["ctrl+b"], "command" : "move", "args" : {"by" : "characters", "forward" : false}}, | |
| {"keys" : ["ctrl+n"], "command" : "move", "args" : {"by" : "lines", "forward" : true}}, | |
| {"keys" : ["ctrl+p"], "command" : "move", "args" : {"by" : "lines", "forward" : false}}, | |
| {"keys" : ["ctrl+h"], "command" : "left_delete" }, | |
| {"keys" : ["ctrl+d"], "command" : "right_delete"}, | |
| {"keys" : ["ctrl+a"], "command" : "move_to", "args" : {"to" : "bol", "extend" : false}}, | |
| {"keys" : ["ctrl+e"], "command" : "move_to", "args" : {"to" : "eol", "extend" : false}}, | |
| ] |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <link rel="localizations" href="localization.json" type="application/x-l10n+json"> | |
| <link rel="localization" hreflang="ja" href="japanese.json" type="application/x-l10n+json"> | |
| <script type="text/javascript" src="bower_components/l10n/l10n.js"></script> | |
| <script type="text/javascript" src="bower_components/vue/dist/vue.min.js"></script> | |
| <script> |
| var http = require('http'); | |
| var fs = require('fs'); | |
| var ws = require('ws'); | |
| var server = http.createServer(function(req, res) { | |
| res.writeHead(200, {'Content-Type': 'text/html'}); | |
| if (req.url.match(/^\/send$/)) { | |
| res.end(fs.readFileSync('send.html')); | |
| } else { | |
| res.end(fs.readFileSync('index.html')); |