[ここ壊れてます] .net
sssp://img.5ch.net/ico/anime_shii01.gif
日本語で指示を出すだけでコードを
自動で生成してくれます。
URLリンク(aiprogrammer.hashlab.jp)
例:
ここ20年の総理大臣の配列から安倍晋三が何個あるか判定する
var primeMinisters = ["Yasuo Fukuda", "Tarō Asō", "Yoshihiko Noda", "Shinzō Abe", "Shigeru Yoshida", "Kijūrō Shidehara", "Tetsu Katayama", "Ichirō Hatoyama", "Shigeru Hayasaki", "Kiichi Miyazawa", "Tsutomu Hata", "Morihiro Hosokawa", "Tomiichi Murayama", "Ryūtarō Hashimoto", "Keizō Obuchi", "Yoshirō Mori", "Junichirō Koizumi", "Shinzō Abe"];
var abeCount = 0;
for (var i = 0; i < primeMinisters.length; i++) {
if (primeMinisters[i] == "Shinzō Abe") {
abeCount++;
}
}
console.log(abeCount);