Hatena::Groupnadesiko

99円のへたれ学習帳

2011-05-22

sleep sort

| 21:10

http://d.hatena.ne.jp/gfx/20110519/1305810786

sleep sortいうソートアルゴリズムが話題になっているようなので、なでしこでも書いてみました。

タイマー部品にポケットがないので、こだけ拡張したPタイマーを定義して使っています。

# スリープソート  99yen 2011/5/22

ソート対象=「5,3,6,3,6,3,1,4,7」を「,」で区切る
N=ソート対象の要素数

# ソート済みの個数
CNT=0
# 係数 待機秒=対象*C
C=0.1

ソート対象を反復
	ソートタイマー[回数-1]をPタイマーとして作成
	ソートタイマー[回数-1]→間隔=対象*C
	ソートタイマー[回数-1]→ポケット=対象
	ソートタイマー[回数-1]→時満ちた時は~
		自身→停止
		自身→ポケットを表示
		CNT=CNT+1
		もし、CNT>=Nならば、「ソート完了」と言う
	ソートタイマー[回数-1]→開始

■Pタイマー +タイマー
	・ポケット

f:id:kyuuzyuu9yen:20110522211010p:image

こいつ…動くぞ!w

ElsieElsie2014/07/21 16:00Glad I've finally found sonemhitg I agree with!

StahoollaStahoolla2018/03/31 00:53Acheter Viagra Sans Ordonnance Au Canada Will Zithromax Treat A Uti <a href=http://cialiorder.com>soft tab cialis</a> El Viagra Requiere Receta Zentel Low Price Overseas Express Delivery

DiaHeetlyDiaHeetly2018/04/24 23:00Generique Nolvadex Ticarcillin Amoxicillin Clavulanate <a href=http://tadalaffbuy.com>cheap cialis online</a> Order Viagra On Line Como Cortar Propecia

JorgelokJorgelok2018/05/09 15:06kamagra usa
<a href="http://kamagradyn.com/">buy kamagra 100 mg</a>
kamagra store in ny
<a href="http://kamagradyn.com/">buy kamagra 100 mg oral jelly</a>
kamagra jelly sale
http://kamagradyn.com/
kamagra kopen nederland

JefferyedumbJefferyedumb2018/05/11 11:45viagra y cialis genericos
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis super active dosage
<a href="http://airvietnamairline.com/">buy generic cialis</a>
buy cheap viagra and cialis
http://airvietnamairline.com/
when is generic cialis coming out

RobertRenRobertRen2018/05/11 13:23viagra generic availability sildenafil citrate vs
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra generico in italia si puГІ avere
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra generico brasil
http://amsboatyard.com/
compare viagra and cialis dosage

KeithwroftKeithwroft2018/05/11 16:12kamagra kopen
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra oral jelly wirkung frauen
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra oral jelly for sale in usa illegal
http://kamagraonl.com/
kamagra oral jelly amazon

JefferyedumbJefferyedumb2018/05/11 18:33compare prices for cialis 5mg
<a href="http://airvietnamairline.com/">cialis generic</a>
vidalista professional generic cialis 20mg
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis 5 mg price walmart
http://airvietnamairline.com/
generic for viagra and cialis

KeithwroftKeithwroft2018/05/11 21:06kamagra4uk review
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra jelly kopen rotterdam
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra oral jelly buy online
http://kamagraonl.com/
kamagra kopen utrecht

HowardFugHowardFug2018/05/12 03:16viagra side effects reddit
<a href="http://amsboatyard.com/">generic viagra</a>
viagra tv ad girl
<a href="http://amsboatyard.com/">viagra</a>
viagra feminino onde encontrar
http://amsboatyard.com/
when will viagra and cialis go generic

AltonUnecyAltonUnecy2018/05/12 04:26cialis prices
<a href="http://airvietnamairline.com/">buy generic cialis</a>
buy cialis canada pharmacy
<a href="http://airvietnamairline.com/">buy cialis online</a>
walmart cialis price comparison
http://airvietnamairline.com/
cialis 20mg cost per pill

HowardFugHowardFug2018/05/12 06:14viagra prices cvs rite aid
<a href="http://amsboatyard.com/">generic viagra online</a>
viagra generico espaГ±a online
<a href="http://amsboatyard.com/">buy viagra</a>
viagra preço araujo
http://amsboatyard.com/
where can i buy viagra in the united states

JeremynawJeremynaw2018/05/12 08:56kamagra reviews users
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra oral jelly how to use
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
the kamagra store
http://kamagraonl.com/
is the kamagra store legit

AltonUnecyAltonUnecy2018/05/12 11:18cialis dosage 40 mg
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
cialis online in usa
<a href="http://airvietnamairline.com/">cialis</a>
buy cialis vs viagra
http://airvietnamairline.com/
goodrx coupon for 20 mg cialis

JeremynawJeremynaw2018/05/12 13:32kamagra 100 sildenafil citrate chewable tablets 100 mg
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra oral jelly 100mg price in india
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
kamagra gold reviews
http://kamagraonl.com/
kamagra oral jelly sildenafil vol 3

DarwinjabDarwinjab2018/05/12 19:26how viagra affects women
<a href="http://amsboatyard.com/">viagra</a>
precisa receita comprar viagra brasil
<a href="http://amsboatyard.com/">viagra</a>
generic viagra 100mg sildenafil meds expressions
http://amsboatyard.com/
viagra bula pdf

WilliamBabWilliamBab2018/05/12 20:32maximum dose of cialis
<a href="http://airvietnamairline.com/">cialis</a>
effectiveness of cialis vs viagra vs levitra comparison
<a href="http://airvietnamairline.com/">generic cialis online</a>
walmart cialis 20mg price
http://airvietnamairline.com/
viagra vs cialis generic

DarwinjabDarwinjab2018/05/12 22:13low cost viagra cialis
<a href="http://amsboatyard.com/">buy generic viagra online</a>
buy generic viagra usa blog
<a href="http://amsboatyard.com/">generic viagra online</a>
effectiveness of cialis vs viagra vs levitra which is better
http://amsboatyard.com/
side effects of viagra use

WilliamBabWilliamBab2018/05/13 02:575mg generic cialis in usa
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis 20 mg how long does it take to work
<a href="http://airvietnamairline.com/">buy cialis online</a>
precio de cialis generico en farmacias
http://airvietnamairline.com/
cialis coupon for rite aid

RobertAllomRobertAllom2018/05/13 09:41is viagra without a doctor prescription safety
<a href="http://amsboatyard.com/">buy viagra</a>
viagra with dapoxetine reviews
<a href="http://amsboatyard.com/">viagra</a>
cialis or viagra generic
http://amsboatyard.com/
cialis vs viagra dosages

DustynopDustynop2018/05/13 10:41best price cialis generic
<a href="http://airvietnamairline.com/">cialis generic</a>
cialis soft tabs 20mg kaufen
<a href="http://airvietnamairline.com/">buy cialis online</a>
price comparison of viagra cialis levitra
http://airvietnamairline.com/
cialis 20 mg coupons

RobertAllomRobertAllom2018/05/13 12:07viagra effects on healthy men
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra side effects vision
<a href="http://amsboatyard.com/">viagra generic</a>
viagra generico en farmacias espaГ±olas
http://amsboatyard.com/
take viagra twice a day

WarrenVaXWarrenVaX2018/05/13 14:28kamagra oral jelly vs viagra
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
erfahrungsbericht kamagra oral jelly wirkung
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra oral jelly novi sad
http://kamagraonl.com/
kamagra 100mg oral jelly usa

HarryDicHarryDic2018/05/13 15:17price of viagra in india
<a href="http://buyviagrapw.com/">generic viagra online</a>
viagra feminino
<a href="http://buyviagrapw.com/">buy generic viagra online</a>
female pink viagra side effects
http://buyviagrapw.com/
side effects of viagra and cialis

DustynopDustynop2018/05/13 16:34buy generic viagra and cialis online uk
<a href="http://airvietnamairline.com/">cialis generic</a>
professional cialis vs regular cialis
<a href="http://airvietnamairline.com/">buy cialis</a>
best prices for generic cialis
http://airvietnamairline.com/
cialis side effects pain in leg

WilliamkigWilliamkig2018/05/13 16:45viagra vs cialis vs levitra cost comparison
<a href="http://buylevitraonl.com/">levitra</a>
levitra 20 mg price
<a href="http://buylevitraonl.com/">levitra 20mg</a>
levitra 20 mg price
http://buylevitraonl.com/
levitra prices in mexico

WarrenVaXWarrenVaX2018/05/13 18:45kamagra oral jelly 100mg reviews
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra kopen eindhoven
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra cost
http://kamagraonl.com/
kamagra 100mg chewable tablets india

CecilExorbCecilExorb2018/05/13 21:47sildenafil citrate 100mg tablets
<a href="http://sildenafilviagrap.com/">generic viagra</a>
sildenafil citrate maximum safe dosage
<a href="http://sildenafilviagrap.com/">buy sildenafil citrate online</a>
sildenafil citrate uses
http://sildenafilviagrap.com/
sildenafil citrate 100mg 8 tablets

WilliamkigWilliamkig2018/05/13 21:54levitra vs viagra dosage comparison
<a href="http://buylevitraonl.com/">buy levitra online</a>
levitra dosage instructions
<a href="http://buylevitraonl.com/">levitra 10mg</a>
levitra 20 mg cost per pill
http://buylevitraonl.com/
cost of levitra 20 mg cvs

CecilExorbCecilExorb2018/05/13 21:57cost of sildenafil citrate 100mg
<a href="http://sildenafilviagrap.com/">sildenafil citrate 50mg</a>
what is sildenafil citrate tablets used for
<a href="http://sildenafilviagrap.com/">buy generic viagra online</a>
sildenafil citrate does it work
http://sildenafilviagrap.com/
sildenafil citrate 100mg lowest price in us

HarryDicHarryDic2018/05/13 22:14viagra preço drogasil
<a href="http://buyviagrapw.com/">viagra generic</a>
kamagra oral jelly viagra
<a href="http://buyviagrapw.com/">buy generic viagra online</a>
generic viagra costco
http://buyviagrapw.com/
viagra precisa de prescricao medica

ElmerdarElmerdar2018/05/14 00:52anxiety panic side effects viagra cialis
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
cialis 20mg dosage reviews
<a href="http://airvietnamairline.com/">cialis</a>
cialis soft gels
http://airvietnamairline.com/
cialis coupons printable walmart

JamesKibJamesKib2018/05/14 02:21valor comercial del viagra en chile
<a href="http://amsboatyard.com/">buy viagra online</a>
viagra dosage for men
<a href="http://amsboatyard.com/">viagra</a>
cialis price versus viagra side effects
http://amsboatyard.com/
viagra purchase usa

VaughnharVaughnhar2018/05/14 04:44kamagra vs viagra
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra oral jelly deutschland
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra tablets 100mg reviews
http://kamagraonl.com/
kamagra kaufen

ElmerdarElmerdar2018/05/14 06:47cialis vs viagra vs levitra dosage review
<a href="http://airvietnamairline.com/">generic cialis online</a>
lady in cialis commercial
<a href="http://airvietnamairline.com/">cialis</a>
levitra vs cialis price
http://airvietnamairline.com/
generic cialis is it real

MatthewdwevaMatthewdweva2018/05/14 08:07buy cheap viagra online usa
<a href="http://genericviagrasu.com/">generic viagra</a>
what are the effects of viagra on men
<a href="http://genericviagrasu.com/">buy viagra online</a>
viagra tv commercial models
http://genericviagrasu.com/
levitra cialis viagra reviews

VaughnharVaughnhar2018/05/14 08:54kamagra jelly paypal
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg tablets australia
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra oral jelly beste wirkung
http://kamagraonl.com/
kamagra winkel utrecht

RaymondSmathRaymondSmath2018/05/14 09:56generic name for levitra
<a href="http://levitraonlq.com/">levitra 20mg</a>
levitra prices at amazon
<a href="http://levitraonlq.com/">levitra 20mg</a>
levitra 20 mg cost cvs
http://levitraonlq.com/
levitra 20 mg cost

DanielPougsDanielPougs2018/05/14 13:53viagra time take effect
<a href="http://amsboatyard.com/">viagra generic</a>
viagra prices usa
<a href="http://amsboatyard.com/">generic viagra online</a>
viagra price drop to boost sales
http://amsboatyard.com/
viagra caseiro que funciona na hora

MatthewdwevaMatthewdweva2018/05/14 14:49generic viagra costco
<a href="http://genericviagrasu.com/">buy generic viagra online</a>
how viagra affects women
<a href="http://genericviagrasu.com/">buy viagra</a>
viagra dosage strengths
http://genericviagrasu.com/
viagra generico melhor preço

JamesjeddyJamesjeddy2018/05/14 14:53cost of viagra versus cost of cialis
<a href="http://airvietnamairline.com/">generic cialis online</a>
viagra cialis levitra dose comparison
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis 20 mg dosing information
http://airvietnamairline.com/
printable cialis coupon walgreens

RaymondSmathRaymondSmath2018/05/14 14:55levitra generic drug
<a href="http://levitraonlq.com/">levitra 20mg</a>
levitra vs viagra vs cialis reviews
<a href="http://levitraonlq.com/">levitra</a>
levitra 20 mg bayer prezzo
http://levitraonlq.com/
levitra coupons printable

LarryPherbLarryPherb2018/05/14 15:23what is sildenafil citrate used for
<a href="http://sildenafilcitratepw.com/">buy viagra</a>
sildenafil citrate usp monograph
<a href="http://sildenafilcitratepw.com/">buy generic viagra</a>
sildenafil citrate 100mg instructions
http://sildenafilcitratepw.com/
sildenafil citrate 20 mg po tabs

LarryPherbLarryPherb2018/05/14 15:33sildenafil citrate 100mg tab reviews
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 20mg</a>
sildenafil citrate tablets ip
<a href="http://sildenafilcitratepw.com/">buy generic viagra</a>
fildena sildenafil citrate tablets 100 mg
http://sildenafilcitratepw.com/
what does sildenafil citrate do

DanielPougsDanielPougs2018/05/14 16:25cialis vs viagra review
<a href="http://amsboatyard.com/">buy generic viagra online</a>
what is generic viagra called in spanish
<a href="http://amsboatyard.com/">buy viagra</a>
is there a generic replacement for viagra
http://amsboatyard.com/
compare viagra prices in usa

ElroyRobbyElroyRobby2018/05/14 18:48kamagra oral jelly for sale in usa
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
kamagra oral jelly 100mg pouzitie
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
the sleep store kamagra
http://kamagraonl.com/
kamagra 100mg chewable tablets

JamesjeddyJamesjeddy2018/05/14 20:50cialis tablets side effects
<a href="http://airvietnamairline.com/">buy cialis online</a>
cialis bathtub commercial actress 2015
<a href="http://airvietnamairline.com/">buy generic cialis</a>
viagra y cialis genericos
http://airvietnamairline.com/
cialis generic release date

ElroyRobbyElroyRobby2018/05/14 23:09kamagra 100mg oral jelly suppliers india
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg oral jelly for sale
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra 100mg oral jelly in india
http://kamagraonl.com/
kamagra store coupon

RobertloocaRobertlooca2018/05/14 23:40lowest price generic cialis tadalafil
<a href="http://buycialisonl.com/">buy cialis</a>
cialis coupons 2016
<a href="http://buycialisonl.com/">buy cialis</a>
cialis 20 mg 30 tablet orjinal mi
http://buycialisonl.com/
cialis super active plus

KelvinDipKelvinDip2018/05/15 01:35mental side effects of cialis
<a href="http://cialisgenericmg.com/">buy generic cialis online</a>
brand cialis vs cialis
<a href="http://cialisgenericmg.com/">buy cialis</a>
cialis super active generic
http://cialisgenericmg.com/
best prices on generic cialis

ThomastawThomastaw2018/05/15 04:16viagra car commercial youtube
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra natural caseiro masculino
<a href="http://amsboatyard.com/">buy viagra online</a>
para comprar viagra precisa de receita medica
http://amsboatyard.com/
viagra dose levels available

BrianComBrianCom2018/05/15 05:11cialis 20mg tablets uk
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis tadalafil 20mg reviews
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis coupons 2018
http://airvietnamairline.com/
taking extra cialis 5 mg doses

RobertloocaRobertlooca2018/05/15 06:22cialis 20mg price at walmart
<a href="http://buycialisonl.com/">generic cialis</a>
cialis super active plus kaufen
<a href="http://buycialisonl.com/">cialis generic</a>
price of cialis vs viagra
http://buycialisonl.com/
viagra and cialis dosage and cost comparison between

KelvinDipKelvinDip2018/05/15 06:32cialis prices
<a href="http://cialisgenericmg.com/">buy generic cialis online</a>
cialis tadalafil 20 mg 4 tablet
<a href="http://cialisgenericmg.com/">buy cialis online</a>
cialis 5 mg generico precio
http://cialisgenericmg.com/
low cost generic cialis

ThomastawThomastaw2018/05/15 06:35difference between viagra and cialis dosage
<a href="http://amsboatyard.com/">viagra generic</a>
viagra commercial actress football jersey
<a href="http://amsboatyard.com/">viagra generic</a>
levitra vs cialis vs viagra cost
http://amsboatyard.com/
generic viagra online us pharmacy

WilliamfesWilliamfes2018/05/15 06:58buy fildena 100 cheap
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 50
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 100 for sale
http://fildenaonl.com/
fildena 100 mg fast acting reviews

WilliamfesWilliamfes2018/05/15 07:08fildena india
<a href="http://fildenaonl.com/">buy fildena</a>
usa fildena 50mg
<a href="http://fildenaonl.com/">buy fildena</a>
fildena online india
http://fildenaonl.com/
fildena online india

WillieVexWillieVex2018/05/15 08:52kamagra 100mg tabletta
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra oral jelly novi sad
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra price
http://kamagraonl.com/
kamagra store filagra

BrianComBrianCom2018/05/15 10:49cialis side effects acid reflux
<a href="http://airvietnamairline.com/">cialis generic</a>
buy generic viagra and cialis online edrugstore.md
<a href="http://airvietnamairline.com/">generic cialis online</a>
generic for cialis daily 5 mg average price
http://airvietnamairline.com/
where to buy generic cialis over the counter

WillieVexWillieVex2018/05/15 13:00kamagra oral jelly kaufen deutschland paypal
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra kopen rotterdam
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra oral jelly 5gm sildenafil
http://kamagraonl.com/
kamagra 100mg chewable tablets

NicolasPoickNicolasPoick2018/05/15 14:44viagra without a doctor prescription mexico
<a href="http://buyviagrapw.com/">buy generic viagra</a>
viagra vs cialis vs levitra price
<a href="http://buyviagrapw.com/">viagra generic</a>
viagra commercial actress name brunette
http://buyviagrapw.com/
viagra cialis levitra genericos

DominicVoicsDominicVoics2018/05/15 16:48side effects of levitra vs viagra
<a href="http://levitraonlq.com/">levitra</a>
levitra generic cost
<a href="http://levitraonlq.com/">buy levitra online</a>
prices for levitra 20 mg
http://levitraonlq.com/
levitra 20 mg bayer prezzo

WalterPerWalterPer2018/05/15 18:07pfizer brand viagra 100mg side effects
<a href="http://amsboatyard.com/">viagra</a>
viagra commercial woman asian
<a href="http://amsboatyard.com/">viagra generic</a>
cialis dose recommendations vs viagra
http://amsboatyard.com/
viagra cialis equivalent dosage

GeorgesnisaGeorgesnisa2018/05/15 19:02liquid cialis dosage info
<a href="http://airvietnamairline.com/">buy cialis online</a>
generic cialis india pharmacy
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis online ebay
http://airvietnamairline.com/
cialis generic lowest prices

NicolasPoickNicolasPoick2018/05/15 21:28buy generic viagra and cialis online
<a href="http://buyviagrapw.com/">buy viagra</a>
viagra prices at walmart
<a href="http://buyviagrapw.com/">generic viagra online</a>
viagra effects time
http://buyviagrapw.com/
side effects of viagra on older males

DominicVoicsDominicVoics2018/05/15 21:44cost levitra 20 mg at walmart
<a href="http://levitraonlq.com/">levitra 10mg</a>
levitra coupons printable coupons
<a href="http://levitraonlq.com/">levitra online</a>
side effects of levitra vs viagra
http://levitraonlq.com/
coupons for levitra 20mg

ThomasvalThomasval2018/05/15 22:08sildenafil citrate tablets 200 mg
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 100mg</a>
sildenafil citrate suspension package insert
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 20mg</a>
generic viagra sildenafil citrate reviews
http://sildenafilcitratepw.com/
generic sildenafil citrate 20 mg cost

ThomasvalThomasval2018/05/15 22:18sildenafil citrate 20 mg tab teva
<a href="http://sildenafilcitratepw.com/">buy sildenafil citrate</a>
sildenafil citrate 20 mg price
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 50mg</a>
sildenafil citrate tablets for dogs
http://sildenafilcitratepw.com/
sildenafil citrate dosage recommendations

NathankizNathankiz2018/05/15 22:50kamagra reviews does work
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra
<a href="http://kamagraonl.com/">kamagra 100mg</a>
kamagra oral jelly novi sad
http://kamagraonl.com/
kamagra 100mg reviews

GeorgesnisaGeorgesnisa2018/05/16 01:05directions on cialis 20mg
<a href="http://airvietnamairline.com/">generic cialis online</a>
viagra cialis levitra dose comparison
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis super active generico
http://airvietnamairline.com/
cialis vs viagra vs levitra comparison table

NathankizNathankiz2018/05/16 03:12kamagra 100mg tablets for sale usa
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra store uk
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra bestellen rotterdam
http://kamagraonl.com/
kamagra oral jelly review forum

RichardFusRichardFus2018/05/16 06:03cost of levitra vs viagra
<a href="http://genericviagrasu.com/">buy viagra</a>
purchase viagra and cialis
<a href="http://genericviagrasu.com/">viagra</a>
viagra for women pink pill does it work
http://genericviagrasu.com/
viagra super active 150mg type 54

DonaldkefDonaldkef2018/05/16 08:09levitra vs viagra ingredients
<a href="http://levitraonlq.com/">buy levitra</a>
cost of levitra vs cialis vs viagra
<a href="http://levitraonlq.com/">levitra online</a>
generic levitra 20mg tablets price
http://levitraonlq.com/
is generic levitra available in the us

PhillipspusyPhillipspusy2018/05/16 08:17viagra posso tomar
<a href="http://amsboatyard.com/">viagra</a>
youtube viagra commercial 2015 actresses
<a href="http://amsboatyard.com/">viagra generic</a>
the effects of viagra on women
http://amsboatyard.com/
coupons for viagra from pfizer

JeffreyitedsJeffreyiteds2018/05/16 09:13cialis dosage 60 mg
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis generic tadalafil india
<a href="http://airvietnamairline.com/">buy cialis online</a>
price comparison of 20 mg cialis
http://airvietnamairline.com/
viagra and cialis dosage and costs

PhillipspusyPhillipspusy2018/05/16 10:42average price of generic viagra
<a href="http://amsboatyard.com/">generic viagra</a>
female viagra pills 100 mg each month
<a href="http://amsboatyard.com/">buy generic viagra online</a>
viagra feminino onde encontrar
http://amsboatyard.com/
female viagra drug dosage

CharlesBamCharlesBam2018/05/16 12:56kamagra 100mg tablets side effects
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra oral jelly kopen amsterdam
<a href="http://kamagraonl.com/">buy kamagra</a>
kamagra oral jelly forum hr
http://kamagraonl.com/
kamagra shop erfahrungen 2014

DonaldkefDonaldkef2018/05/16 13:07levitra 20 mg cost walmart
<a href="http://levitraonlq.com/">buy levitra online</a>
levitra vs viagra side effects
<a href="http://levitraonlq.com/">levitra</a>
levitra 20 mg
http://levitraonlq.com/
levitra generic name

MichaelbicMichaelbic2018/05/16 13:30sildenafil citrate 100mg cost
<a href="http://sildenafilcitratepw.com/">sildenafil citrate</a>
sildenafil citrate generic
<a href="http://sildenafilcitratepw.com/">viagra</a>
sildenafil citrate 100mg prices
http://sildenafilcitratepw.com/
generic sildenafil citrate 100mg reviews

MichaelbicMichaelbic2018/05/16 13:40sildenafil citrate 20 mg tab teva
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 20mg</a>
sildenafil citrate maximum daily dose
<a href="http://sildenafilcitratepw.com/">generic viagra online</a>
cost of sildenafil citrate 100mg
http://sildenafilcitratepw.com/
sildenafil citrate dosage for ed

JeffreyitedsJeffreyiteds2018/05/16 15:06cialis 5mg does not work
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis 5 mg tablet walgreens
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis side effects vision
http://airvietnamairline.com/
cialis ideal dosage

CharlesBamCharlesBam2018/05/16 17:06kamagra 100
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra gold reviews
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra jelly sale
http://kamagraonl.com/
kamagra bestellen nederland

RonnieTefRonnieTef2018/05/16 21:53cialis prices usa
<a href="http://buycialisonl.com/">buy generic cialis</a>
cialis viagra generici
<a href="http://buycialisonl.com/">cialis</a>
cialis side effects dangers
http://buycialisonl.com/
generic cialis tadalafil 60 mg india

BarrypiobeBarrypiobe2018/05/16 23:25cialis viagra dosage comparison
<a href="http://airvietnamairline.com/">cialis</a>
when does cialis go generic in usa
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis 20 mg tablets how to take
http://airvietnamairline.com/
cialis professional review

DexterdyexyDexterdyexy2018/05/17 00:09cialis shop usa
<a href="http://cialisgenericmg.com/">generic cialis</a>
generic cialis uk next day delivery
<a href="http://cialisgenericmg.com/">buy cialis online</a>
cialis cheap uk
http://cialisgenericmg.com/
viagra cialis levitra reviews

CharlespesCharlespes2018/05/17 03:19come usare kamagra oral jelly
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg tablets for sale usa
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra kopen rotterdam
http://kamagraonl.com/
kamagra kopen nederland

ClydereumbClydereumb2018/05/17 04:08viagra natural sandia y limon
<a href="http://amsboatyard.com/">viagra generic</a>
viagra tablet use in hindi
<a href="http://amsboatyard.com/">buy viagra online</a>
viagra price reduction canada
http://amsboatyard.com/
side effects of viagra on men

RonnieTefRonnieTef2018/05/17 05:29buy generic cialis online with paypal
<a href="http://buycialisonl.com/">generic cialis online</a>
maximum dose of cialis daily
<a href="http://buycialisonl.com/">cialis generic</a>
cialis coupon 2016
http://buycialisonl.com/
cost of cialis generic

BarrypiobeBarrypiobe2018/05/17 05:31generic cialis soft tabs 20mg
<a href="http://airvietnamairline.com/">generic cialis</a>
cialis 5 mg prices in usa
<a href="http://airvietnamairline.com/">generic cialis online</a>
cost of stendra vs viagra cialis levitra staxyn
http://airvietnamairline.com/
cialis 5mg daily use study effectiveness

FrancisguicaFrancisguica2018/05/17 06:23fildena 100 purple for sale
<a href="http://fildenaonl.com/">fildena</a>
fildena 100 mg softgel
<a href="http://fildenaonl.com/">buy fildena</a>
fildena india pharmacies
http://fildenaonl.com/
buy fildena 100 cheap india

ClydereumbClydereumb2018/05/17 06:39viagra commercial actress name asian
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra generic availability sildenafil
<a href="http://amsboatyard.com/">generic viagra</a>
viagra super active 100mg x 10 pill
http://amsboatyard.com/
viagra without a doctor prescription cost

CharlespesCharlespes2018/05/17 07:41kamagra oral jelly 100mg how to use
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
the kamagra store reviews
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg chewable tablets
http://kamagraonl.com/
kamagra oral jelly user reviews

MichaelReaniMichaelReani2018/05/17 13:355 mg cialis daily best price australia
<a href="http://airvietnamairline.com/">buy cialis online</a>
maximum daily dose of cialis
<a href="http://airvietnamairline.com/">cialis generic</a>
cialis dosage recommendations vs viagra
http://airvietnamairline.com/
maximum dosage of cialis a day

ThomasKexThomasKex2018/05/17 14:02viagra coupons codes
<a href="http://buyviagrapw.com/">generic viagra online</a>
viagra soft tabs 100mg pills
<a href="http://buyviagrapw.com/">buy generic viagra</a>
viagra vs cialis vs levitra side effects
http://buyviagrapw.com/
cialis 25 mg vs viagra 100mg

RonaldbafRonaldbaf2018/05/17 16:04levitra prices kaiser
<a href="http://levitraonlq.com/">levitra</a>
generic levitra 20mg tablets
<a href="http://levitraonlq.com/">levitra 10mg</a>
coupon for levitra 20 mg
http://levitraonlq.com/
levitra price at walmart pharmacy

PeterWayncPeterWaync2018/05/17 17:21kamagra novi sad potencija
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg chewables for sale
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra oral jelly 100mg side effects
http://kamagraonl.com/
the medical supply store kamagra

KeithswistKeithswist2018/05/17 18:09cual es la viagra natural para la mujer
<a href="http://amsboatyard.com/">generic viagra online</a>
levitra vs viagra effectiveness
<a href="http://amsboatyard.com/">buy generic viagra online</a>
effects of viagra on the liver
http://amsboatyard.com/
viagra tv commercial models

MichaelReaniMichaelReani2018/05/17 19:25main ingredient of cialis
<a href="http://airvietnamairline.com/">cialis generic</a>
cialis generico en mexico comprar
<a href="http://airvietnamairline.com/">buy generic cialis</a>
cialis directions for 20mg tablet
http://airvietnamairline.com/
generic cialis release date

KeithswistKeithswist2018/05/17 20:39viagra generico en farmacias espaГ±olas
<a href="http://amsboatyard.com/">buy viagra</a>
viagra super active 150mg
<a href="http://amsboatyard.com/">viagra generic</a>
viagra 100mg price in usa
http://amsboatyard.com/
what is generic viagra professional

ThomasKexThomasKex2018/05/17 21:13prezzo viagra generico in farmacia
<a href="http://buyviagrapw.com/">buy generic viagra</a>
viagra and cialis dosage strength comparison
<a href="http://buyviagrapw.com/">buy generic viagra online</a>
generic viagra prices at walgreens
http://buyviagrapw.com/
viagra super active 100 mg complaints

RonaldbafRonaldbaf2018/05/17 21:31levitra prices at walmart
<a href="http://levitraonlq.com/">levitra 10mg</a>
side effects of levitra vs viagra
<a href="http://levitraonlq.com/">buy levitra</a>
levitra 20 mg coupons walgreens
http://levitraonlq.com/
cost of cialis vs viagra vs levitra

PeterWayncPeterWaync2018/05/17 21:39kamagra oral jelly 100mg 1 week pack
[url=http://kamagraonl.com/]buy kamagra 100mg[/url]
kamagra 100mg oral jelly (sildenafil) 5gm
<a href="http://kamagraonl.com/">buy kamagra 100 mg oral jelly</a>
kamagra shop erfahrungen 2015
http://kamagraonl.com/
kamagra oral jelly 100mg online bestellen

LarryDanceLarryDance2018/05/17 21:58sildenafil citrate 100mg prices
<a href="http://sildenafilcitratepw.com/">sildenafil citrate online</a>
sildenafil citrate supplement
<a href="http://sildenafilcitratepw.com/">buy viagra</a>
sildenafil citrate uses
http://sildenafilcitratepw.com/
sildenafil citrate dosing

LarryDanceLarryDance2018/05/17 22:09sildenafil citrate used for
<a href="http://sildenafilcitratepw.com/">buy sildenafil citrate</a>
sildenafil citrate maximum dosage
<a href="http://sildenafilcitratepw.com/">generic viagra</a>
what is sildenafil citrate used for
http://sildenafilcitratepw.com/
sildenafil citrate 20 mg side effects

GeorgekagGeorgekag2018/05/18 04:15price comparison of 20 mg cialis
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis tadalafil 10mg adalah
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis generic 2018 expiration patent
http://airvietnamairline.com/
cialis dosage compared to viagra

FrankoricyFrankoricy2018/05/18 07:15cheap generic viagra in canada
<a href="http://genericviagrasu.com/">buy viagra</a>
viagra super active plus ingredients
<a href="http://genericviagrasu.com/">generic viagra online</a>
viagra dosage strengths
http://genericviagrasu.com/
cialis vs viagra for bph

DonaldMerDonaldMer2018/05/18 09:24viagra side effects for men
<a href="http://amsboatyard.com/">viagra</a>
viagra without a doctor prescription safety glasses
<a href="http://amsboatyard.com/">buy viagra online</a>
viagra coupons 75 off printable
http://amsboatyard.com/
generic viagra manufacturers

WesleyMorWesleyMor2018/05/18 09:28levitra coupons printable coupons
<a href="http://levitraonlq.com/">levitra</a>
levitra 20 mg bayer prezzo
<a href="http://levitraonlq.com/">buy levitra</a>
generic levitra cost at walmart
http://levitraonlq.com/
levitra 20 mg cost walmart

GeorgekagGeorgekag2018/05/18 10:47cialis viagra comparison
<a href="http://airvietnamairline.com/">buy generic cialis online</a>
purchase viagra and cialis
<a href="http://airvietnamairline.com/">generic cialis</a>
compare cialis prices uk
http://airvietnamairline.com/
cialis 25mg dosage

DonaldMerDonaldMer2018/05/18 12:01what is generic for viagra
<a href="http://amsboatyard.com/">generic viagra</a>
viagra feminino onde comprar em sp
<a href="http://amsboatyard.com/">viagra generic</a>
reviews for female viagra
http://amsboatyard.com/
price comparison with cialis and viagra

CesarRicCesarRic2018/05/18 13:03come usare kamagra oral jelly
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
kamagra gold 100mg side effects
<a href="http://kamagraonl.com/">kamagra 100 mg</a>
buy kamagra uk review
http://kamagraonl.com/
kamagra 100mg tabletta

FrankoricyFrankoricy2018/05/18 14:30como hacer viagra casero para mujeres
<a href="http://genericviagrasu.com/">buy viagra</a>
viagra side effects mayo
<a href="http://genericviagrasu.com/">buy generic viagra online</a>
viagra feminino aonde comprar
http://genericviagrasu.com/
viagra cost in usa

DavidSitDavidSit2018/05/18 15:10sildenafil citrate generic price
<a href="http://sildenafilcitratepw.com/">generic viagra online</a>
sildenafil citrate dosing
<a href="http://sildenafilcitratepw.com/">sildenafil citrate 50mg</a>
sildenafil citrate tablets
http://sildenafilcitratepw.com/
sildenafil citrate generic walmart

DavidSitDavidSit2018/05/18 15:21sildenafil citrate 100mg lowest price in us
<a href="http://sildenafilcitratepw.com/">buy sildenafil citrate</a>
sildenafil citrate 100mg prices india
<a href="http://sildenafilcitratepw.com/">buy viagra online</a>
what is sildenafil citrate used for
http://sildenafilcitratepw.com/
sildenafil citrate 20 mg cost

ThomasJewThomasJew2018/05/18 19:35cialis vs viagra user reviews
<a href="http://airvietnamairline.com/">cialis</a>
lady in cialis commercial
<a href="http://airvietnamairline.com/">generic cialis</a>
cytotechnology specialist
http://airvietnamairline.com/
best price for cialis 5 mg daily use

KennethberKennethber2018/05/18 23:22cytotechnology specialist
<a href="http://buycialisonl.com/">buy cialis</a>
cheap cialis and viagra
<a href="http://buycialisonl.com/">generic cialis online</a>
cialis soft tabs online
http://buycialisonl.com/
cialis generic availability date

EdgarPrenoEdgarPreno2018/05/18 23:33kamagra 100mg side effects
<a href="http://kamagraonl.com/">buy kamagra online</a>
kamagra 100mg oral jelly kako se uzima
<a href="http://kamagraonl.com/">buy kamagra 100mg</a>
womens kamagra 100mg tablets
http://kamagraonl.com/
kamagra oral jelly amazon nederland co

DennisLerDennisLer2018/05/19 00:16desi viagra price in india
<a href="http://amsboatyard.com/">buy generic viagra online</a>
new viagra commercial 2016
<a href="http://amsboatyard.com/">buy generic viagra</a>
viagra long term effects
http://amsboatyard.com/
viagra bestellen amsterdam

RickeyclinaRickeyclina2018/05/19 01:28compare cialis and viagra side effects
<a href="http://cialisgenericmg.com/">cialis generic</a>
buy cialis 5mg usa
<a href="http://cialisgenericmg.com/">buy cialis online</a>
viagra vs cialis comparison side effects
http://cialisgenericmg.com/
is generic cialis available in us

ThomasJewThomasJew2018/05/19 01:34cialis commercial bathtubs youtube
<a href="http://airvietnamairline.com/">buy cialis</a>
buy cialis canada canadian drugstore
<a href="http://airvietnamairline.com/">buy cialis online</a>
cialis 40 mg dosage guaranteed
http://airvietnamairline.com/
viagra cialis levitra online uk

DennisLerDennisLer2018/05/19 02:41cialis vs viagra dosage comparison
<a href="http://amsboatyard.com/">buy viagra</a>
viagra coupons 2016
<a href="http://amsboatyard.com/">buy generic viagra online</a>
best generic viagra manufacturer
http://amsboatyard.com/
side effects of viagra for women

EdgarPrenoEdgarPreno2018/05/19 03:45kamagra 100mg tablets for sale uk
<a href="http://kamagraonl.com/">kamagra 100 mg oral jelly</a>
kamagra 100mg tablets india price
<a href="http://kamagraonl.com/">buy kamagra 100 mg</a>
kamagra oral jelly for sale in usa il
http://kamagraonl.com/
kamagra now

KennethberKennethber2018/05/19 06:13buy generic cialis canadian pharmacy
<a href="http://buycialisonl.com/">buy cialis online</a>
side effects of mixing viagra and cialis
<a href="http://buycialisonl.com/">buy generic cialis online</a>
price for cialis 20mg at walmart
http://buycialisonl.com/
cialis 20 mg tablets

RickeyclinaRickeyclina2018/05/19 06:31directions on cialis 20mg
<a href="http://cialisgenericmg.com/">cialis</a>
generic cialis best price
<a href="http://cialisgenericmg.com/">buy generic cialis</a>
prices for cialis at walmart
http://cialisgenericmg.com/
cialis vs levitra side effects

MichaeltumMichaeltum2018/05/19 06:44fildena 100 mg side effects
<a href="http://fildenaonl.com/">fildena</a>
fildena 100 for sale
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 150 mg extra power order
http://fildenaonl.com/
fildena 50 canada

MichaeltumMichaeltum2018/05/19 06:54fildena sildenafil citrate tablets 100 mg
<a href="http://fildenaonl.com/">buy fildena online</a>
fildena 150mg dose from fortune healthcare
<a href="http://fildenaonl.com/">sildenafil citrate</a>
cheapest fildena 100 for sale
http://fildenaonl.com/
fildena do they work

WalterEmarfWalterEmarf2018/05/19 09:535mg cialis reviews
<a href="http://airvietnamairline.com/">cialis</a>
cialis soft tabs 20mg
<a href="http://airvietnamairline.com/">generic cialis online</a>
cialis 10mg tablets price
http://airvietnamairline.com/
buy cialis online pharmacy

JamesuncoxJamesuncox2018/05/19 14:25generic viagra sold at walmart pharmacy
<a href="http://buyviagrapw.com/">generic viagra</a>
viagra generic availability sildenafil
<a href="http://buyviagrapw.com/">buy generic viagra</a>
can you buy generic viagra in canada
http://buyviagrapw.com/
viagra coupons 2018

WalterEmarfWalterEmarf2018/05/19 15:47cialis generic availability
<a href="http://airvietnamairline.com/">cialis generic</a>
cialis 20mg price in india
<a href="http://airvietnamairline.com/">buy cialis</a>
cialis generic availability 2017
http://airvietnamairline.com/
the cost of cialis or viagra in europe

RonaldjesRonaldjes2018/05/19 16:28best generic levitra prices
<a href="http://levitraonlq.com/">buy levitra online</a>
best price on levitra 20 mg
<a href="http://levitraonlq.com/">buy levitra online</a>
cvs levitra prices
http://levitraonlq.com/
side effects of levitra 20 mg

JamesuncoxJamesuncox2018/05/19 21:03name of generic viagra
<a href="http://buyviagrapw.com/">buy viagra online</a>
female viagra pranks
<a href="http://buyviagrapw.com/">buy viagra online</a>
viagra without a doctor prescription cost
http://buyviagrapw.com/
buy cheap viagra online us

CharlesSwoffCharlesSwoff2018/05/19 21:24generic sildenafil citrate 20 mg cost
<a href="http://sildenafilcitratepw.com/">buy viagra online</a>
sildenafil citrate 20 mg dosage
<a href="http://sildenafilcitratepw.com/">buy sildenafil citrate online</a>
manly sildenafil citrate tablets 100mg
http://sildenafilcitratepw.com/
fildena sildenafil citrate tablets 100 mg

CharlesSwoffCharlesSwoff2018/05/19 21:32sildenafil citrate 100mg 8 tablets
<a href="http://sildenafilcitratepw.com/">buy viagra</a>
sildenafil citrate dosage
<a href="http://sildenafilcitratepw.com/">generic viagra</a>
sildenafil citrate does it work
http://sildenafilcitratepw.com/
sildenafil citrate 100mg cost

2010-07-21

ぼくのかんがえたさいきょうのなでしこ2

| 21:24

半年以上もこの日記を書いてなかったのですね(^ ^; 学校の課題ではC言語ばっかり書いています…orz

いうことで、最近盛り上がりを見せているなでしこ2について、新機能(文法)案をば。

 

現在のなでしこは、配列ハッシュ関連が少し弱いと思うので、まずはの辺についていくつか。

変数の型を厳密にしたい(は宣言はできるが意味がない

  配列文字列をきちんと区別できるようにしたい

  「配列開く」などの命令を追加すれば、使い勝手は変わらないはず

配列ハッシュに値を一括代入したい

ARRAY = {2, 4, 6}  // C言語風
果物は{「りんご」,「みかん」,「ぶどう」} 

ハッシュループ構文がないので、「反復」でハッシュも扱えるとうれしい。

HASHを反復
  「{キー}:{対象}」を表示

 

のほかについて

・可変長引数をサポートしてほしい。ただし関数型呼出し専用。関数の宣言についてはまだ議論がありそうですが…

●printf(format,{可変長}varlist)

これでvarlistに配列で入るとか。でも、配列を上記のように{}で書ければ

{「りんご」,「みかん」}を「%s %s」で整形表示

とできるので、いらないもしれません。配列の記法についてはもっとうまい方法がありそうです。

U D U D 2010/07/22 01:27どもども。多分配列/ハッシュリテラルについては、JSON 記法で確定済みだと思います。
なので、C 言語の初期化子に慣れていると違和感があるかもしれませんが、
Aとは配列 = [1, 2, 3]
Bとはハッシュ = {"a": 10, "b": 100}
のような感じになると思います。

ハッシュのループはいいですね!欲しいです。

可変長引数の実装は難しいかもしれません。そうでなくとも、あの辺は
引数の助詞問題や、オーバーロードを実装するかなど他の問題が山積してる?ので。。。

ではではー

kyuuzyuu9yenkyuuzyuu9yen2010/07/22 11:04どうもですー
あっ、配列リテラルは例の案に書いてありましたね。JSON記法はシンプルで良い感じですね。

さすがに可変長引数は余計な機能かもですね(^ ^; 一番最後のように書ければ問題ないわけで。関数オーバーロードのほうが必要かも…。

nade_sochanade_socha2010/07/22 11:11変数の型指定は要望がありそうですね。
暗黙の型変換は便利な反面、誤作動の原因ともなりますので、
上級者向けに「!変数の型指定は必要」みたいなことも
あれば良いと思います。

kyuuzyuu9yenkyuuzyuu9yen2010/07/22 15:03「!変数宣言が必要」で変数型の強制もセットでいいかなぁと思います。
ハッ、もしかして「Aとは変数」はこのときのために用意してあったのですかね!?

JessJess2012/03/26 13:21I spupsoe that sounds and smells just about right.

woilwabcwoilwabc2012/03/27 07:23UxcUA8 <a href="http://lomxesqstnpy.com/">lomxesqstnpy</a>

ocsxqyzxlocsxqyzxl2012/03/27 11:47kcuH97 , [url=http://rcnergfhlqya.com/]rcnergfhlqya[/url], [link=http://frjknxzpxogp.com/]frjknxzpxogp[/link], http://xtcwwscecgzk.com/

tunzbsqttunzbsqt2012/03/27 17:52kaYu7b <a href="http://gkukzjtlcsno.com/">gkukzjtlcsno</a>

2009-12-10

なでしこ更新情報botを作りました

| 17:08

twitterでなでしこの更新情報をつぶやくbotを作りました。よろしければお使いください。

http://twitter.com/nako_verup

なでしこの関連情報もつぶやけたらいいなと思いますが、実現はいつになるやら…

※特にOldNadesikoと連動してるわけではないです

AlynAlyn2011/07/12 01:36That's the best aneswr of all time! JMHO

pqhtrsfllpqhtrsfll2011/07/12 16:46eK78Ue <a href="http://dtfjflrajyzf.com/">dtfjflrajyzf</a>

kztxtiezmedkztxtiezmed2011/07/14 18:107b8GQq <a href="http://xnwgomoocpxl.com/">xnwgomoocpxl</a>

jkvjwfjkvjwf2011/07/14 22:356zaRKH , [url=http://vbadmmwranpm.com/]vbadmmwranpm[/url], [link=http://vwecprmvnauc.com/]vwecprmvnauc[/link], http://iidmcvvuhimx.com/

2009-11-02

Windows7

22:24

Windows7 HomePremium 64bit版を購入。なでしこはRC版でも動いていたので、当然と言えば当然ですが、製品版でも動きました。

f:id:kyuuzyuu9yen:20091102222203p:image

nade_sochanade_socha2009/11/02 23:21検証ありがとうございます!
これで安心して64bit版が買えますよ~

AndrescamiloAndrescamilo2013/03/04 18:08At last! Somneoe who understands! Thanks for posting!

ucebopngucebopng2013/03/07 21:20iE2dKA <a href="http://cutrunpryqtq.com/">cutrunpryqtq</a>

meptdlyvrmjmeptdlyvrmj2013/03/09 12:25CJuyMO , [url=http://dbfbjdyvatpf.com/]dbfbjdyvatpf[/url], [link=http://vpepqkdjente.com/]vpepqkdjente[/link], http://iazvcjnmothe.com/

AdhiaAdhia2015/08/29 15:17Thanks for shnrgai. What a pleasure to read!

2009-10-25

問題

| 15:59

問1

名前を尋ねて、の人に挨拶するプログラムを書いてください。

命令:「尋ねる」「言う」「(文字列連結)」

余裕があれば:エディタ部品やボタン部品も使ってみてください。

問2

ひつじを1秒ごとに10匹数えるプログラムを書いてください。

余裕があれば:しゃべらせてみてください。

問3

年を尋ねて、の年の13日の金曜日をすべて表示するプログラムを書いてください。

問4

九九の表を表示するプログラムを書いてください。数字は揃えて表示してください。

命令:「繰り返す 構文」「継続表示」「改行(定数)」

ヒント:「継続表示」は文字を表示した後、改行ない命令です。

問5

なでしこがインストールされているフォルダ以下に含まれているすべての「.nako」ファイルのファイル名と、の個数を表示するプログラムを書いてください。

ヒント:なでしこのインストールされているフォルダは「ランタイムパス」です。

問6

コンピュータとじゃんけんをするプログラムを書いてください。ただし、人対人用にも改造できるようにしてください。

命令:「ボタン選択

ヒント:勝ち負けの判定は、手を数に変換すると簡単になります。

問7

3桁の数を尋ねて、それを漢数字に変換するプログラムを書いてください。

(例:256→二百五十六 101→百一)

余裕があれば、3桁以外の数にも対応させてみてください。

回答

| 21:34

答1

「お名前は?」と尋ねて名前に代入。
「{名前}さん、こんにちは!」と言う。

答2

エージェントマーリン召喚
10回
  「ひつじが{回数}匹」をエージェント言う
  1秒待つ
エージェント終了

MS Agentのマーリンを使用しました。声を出すには、必要なファイルを以下のページを参考にインストールしてください。

http://codezine.jp/article/detail/867?p=2

答3

「何年を調べますか?」と尋ねて年に代入
12回
  調査日は「{年}/{回数}/13」
  もし、調査日の曜日が「金」ならば
    調査日を表示

答4

Iで1から9まで繰り返す
	Jで1から9まで繰り返す
		I*Jを3で文字列右寄せして継続表示
	改行を継続表示

ただ単に答を表示しただけでは表が綺麗にろいません。のため、「文字列右寄せ」で整形しています。

答5

ランタイムパス&「*.nako」の全ファイル列挙
NAKOファイル=それ
ファイル数=NAKOファイルの要素数
NAKOファイルを言う
ファイル数を言う

会場では反復していちいち比較する方を紹介しましたが、こちらの方が明らかにスマートですね…

全ファイル列挙を使わないで書いてみると再帰関数の勉強になるかもしれません。

答6

人間手=「じゃんけん!」を「グー
チョキ
パー」でボタン選択
人間手の「グー」を0に置換
人間手=人間手の「チョキ」を1に置換
人間手=人間手の「パー」を2に置換

コンピュータ手=3の乱数
コンピュータ手を表示
(人間手-コンピュータ手)で条件分岐
	0ならば
		「あいこ」を表示
	1ならば
		「負け」を表示
	2ならば
		「勝ち」を表示
	-1ならば
		「勝ち」を表示
	-2ならば
		「負け」を表示

このソースでは少々泥臭いのですが、下のクジラさんのソースのように「(先手N - 後手N + 3) % 3」とするとたったこれだけで勝ち負けを判定できます!

答7

数字=「数は?」を尋ねる
漢数字=「,一,二,三,四,五,六,七,八,九」を「,」で区切る
漢字位=「百,十,」を「,」で区切る
3回
	数字の回数から1文字抜き出す
	もし、それ<>1 || 回数=3ならば
		漢数字[それ]を継続表示
	漢字位[回数-1]を継続表示

無量大数まで対応したバージョンがどう書く?orgにあります

http://ja.doukaku.org/comment/4530/

kujirahandkujirahand2009/10/25 16:01===
「名前は?」と尋ねる。
「{それ}さん、こんにちは」と言う。
===
普通ですが・・・

kujirahandkujirahand2009/10/25 16:04問2:
~~~~~
!「aquestalk.nako」を取り込む
10回
  母艦=回数
  「ひつじ;が」とAQT話す
  「<NUMK VAL={回数} COUNTER=ひき>」とAQT話す
  1秒待つ。
終わる。
~~~~~

kujirahandkujirahand2009/10/25 16:41問6 じゃんけんプログラム
~~~
#-----------------------------------------------------------------------
# じゃんけんプログラム
#-----------------------------------------------------------------------
相手一覧=「人間
コンピューター」

手一覧=「0:ぐー
1:ちょき
2:ぱー」

「誰と勝負しますか?」を相手一覧で、
ボタン選択して相手に代入。

真の間
 勝負実行
 勝負判定
 「続けますか?」と二択。
 もし、それがいいえならば、終わる。

●勝負実行
 「先手:どの手を出しますか」を手一覧でボタン選択して、
 先手に代入。
 もし、相手=「人間」ならば
  「後手:どの手を出しますか」を手一覧でボタン選択して、
  後手に代入。
 違えば
   手番号=3の乱数
   後手=手一覧¥手番号
 
●勝負判定
 先手N=INT(先手)
 後手N=INT(後手)
 判定番号は、(先手N - 後手N + 3) % 3
 判定番号で条件分岐
  0ならば
   結果=「あいこ」
  1ならば
   結果=「後手の勝ち」
  2ならば
   結果=「先手の勝ち」
 「先手:{先手} 後手:{後手}」を表示
 「結果:{結果}」を表示。
#-----------------------------------------------------------------------

kujirahandkujirahand2009/10/25 16:42問7 3桁限定とのことで、以下のように。本来は、割ってくと良いのですが・・・
~~~
候補=「,壱,弐,参,四,五,六,七,八,九」を「,」で区切る。
「数字を入力してください」と尋ねて、NOに代入。
NOを文字列分解
「{候補\それ\0}百{候補\それ\1}十{候補\それ\2}」を表示  
~~~

kujirahandkujirahand2009/10/25 16:44問4
~~~
LIST=ランタイムパス&「*.nako」の全ファイル列挙
F個数=LISTの要素数
「ファイルの個数:{F個数}
{LIST}」をメモ記入。
~~~

nade_sochanade_socha2009/10/30 18:20問4
「回」を使うと、「回数」が混乱するということですが、
変数を使うことで回避できます。
~~~
文字サイズは12
9回
  Tateは回数。
  10,Tate*30へ回数を文字表示。
  Tate*50-10,0へ「{回数}の段」を文字表示。
  9回
    Yokoは回数。Kekka=Tate*Yokoを2で文字列右寄せ。
    Yoko*50,Tate*30へKekkaを文字表示。
~~~

MusbauMusbau2012/03/26 18:26There are no words to describe how bdoacious this is.

pgqkzqrfhrpgqkzqrfhr2012/03/28 08:32BaNCyg , [url=http://crektuepblbg.com/]crektuepblbg[/url], [link=http://keiuxdrlhjgl.com/]keiuxdrlhjgl[/link], http://ekqugbkcooat.com/

rzsaqzrzsaqz2012/03/28 15:03jdyw6Y <a href="http://dhabbkooczwv.com/">dhabbkooczwv</a>