{"mapping":{"1":{"id":1,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var0","$$hashKey":"03O"},"4":{"id":4,"type":"for","name":"repetir","nodes":[{"id":"attr_6","type":"attr","name":"attr","parent":4,"variable":"var3","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"10J"},{"t":"op","v":"%","$$hashKey":"1AH"},{"t":"var","v":"var1","$$hashKey":"1NY"}],"$$hashKey":"10J"}],"isLocked":true,"$$hashKey":"107"},{"id":"if_7","type":"if","name":"se","nodes":[],"parent":4,"exp":[{"t":"expB","v":[{"t":"var","v":"var3","$$hashKey":"23M"},{"t":"opB","v":"==","$$hashKey":"23V"},{"t":"val","v":"0","$$hashKey":"244"}],"$$hashKey":"21X"}],"isChildrenVisible":true,"nodes1":[{"id":"attr_5","type":"attr","name":"attr","parent":"if_7","variable":"var2","exp":[{"t":"exp","v":[{"t":"var","v":"var2","$$hashKey":"2KP"},{"t":"op","v":"+","$$hashKey":"2UN"},{"t":"val","v":1,"$$hashKey":"384"}],"$$hashKey":"2KP"}],"isLocked":true,"$$hashKey":"2KD"}],"nodes2":[],"$$hashKey":"1ZT"}],"parent":"root_0","forType":3,"initial":1,"initialType":"val","limit":"var9","limitType":"var","using":"var1","step":"1","stepType":"val","isChildrenVisible":true,"times":5,"timesType":5,"simple":true,"isValue":true,"simpleVariable":"","initialValue":0,"endValue":5,"increment":1,"variable":"","$$hashKey":"0Y5"},"6":{"id":6,"type":"if","name":"se","nodes":[],"parent":"root_0","exp":[{"t":"expB","v":[{"t":"var","v":"var2","$$hashKey":"3C3"},{"t":"opB","v":"==","$$hashKey":"3CC"},{"t":"val","v":"2","$$hashKey":"3CL"}],"$$hashKey":"3A7"}],"isChildrenVisible":true,"nodes1":[{"id":7,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var4","$$hashKey":"3SU"}],"nodes2":[{"id":8,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var5","$$hashKey":"3T4"}],"$$hashKey":"39Z"},"7":{"id":7,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var4","$$hashKey":"3SU"},"8":{"id":8,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var5","$$hashKey":"3T4"},"attr_3":{"id":"attr_3","type":"attr","name":"attr","parent":"root_0","variable":"var2","exp":[{"t":"val","v":"0","$$hashKey":"0TX"}],"isLocked":true,"$$hashKey":"0TL"},"attr_6":{"id":"attr_6","type":"attr","name":"attr","parent":4,"variable":"var3","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"10J"},{"t":"op","v":"%","$$hashKey":"1AH"},{"t":"var","v":"var1","$$hashKey":"1NY"}],"$$hashKey":"10J"}],"isLocked":true,"$$hashKey":"107"},"if_7":{"id":"if_7","type":"if","name":"se","nodes":[],"parent":4,"exp":[{"t":"expB","v":[{"t":"var","v":"var3","$$hashKey":"23M"},{"t":"opB","v":"==","$$hashKey":"23V"},{"t":"val","v":"0","$$hashKey":"244"}],"$$hashKey":"21X"}],"isChildrenVisible":true,"nodes1":[{"id":"attr_5","type":"attr","name":"attr","parent":"if_7","variable":"var2","exp":[{"t":"exp","v":[{"t":"var","v":"var2","$$hashKey":"2KP"},{"t":"op","v":"+","$$hashKey":"2UN"},{"t":"val","v":1,"$$hashKey":"384"}],"$$hashKey":"2KP"}],"isLocked":true,"$$hashKey":"2KD"}],"nodes2":[],"$$hashKey":"1ZT"},"attr_5":{"id":"attr_5","type":"attr","name":"attr","parent":"if_7","variable":"var2","exp":[{"t":"exp","v":[{"t":"var","v":"var2","$$hashKey":"2KP"},{"t":"op","v":"+","$$hashKey":"2UN"},{"t":"val","v":1,"$$hashKey":"384"}],"$$hashKey":"2KP"}],"isLocked":true,"$$hashKey":"2KD"},"attr_14":{"id":"attr_14","type":"attr","name":"attr","parent":"root_0","variable":"var9","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"42C"},{"t":"op","v":"+","$$hashKey":"4CI"},{"t":"val","v":1,"$$hashKey":"4QK"}],"$$hashKey":"42C"}],"isLocked":true,"$$hashKey":"3V4"}},"src":{"programName":"firstProgram","functions":[{"isMain":true,"name":"Principal","vars":{"var0":{"name":"candidato_primo","type":"int","initialValue":1,"id":"var0","$$hashKey":"00A"},"var1":{"name":"candidato_divisor","type":"int","initialValue":1,"id":"var1","$$hashKey":"00E"},"var2":{"name":"numero_de_divisores","type":"int","initialValue":1,"id":"var2","$$hashKey":"00I"},"var3":{"name":"resto","type":"int","initialValue":1,"id":"var3","$$hashKey":"00M"},"var4":{"name":"primo","type":"int","initialValue":1,"id":"var4","$$hashKey":"00Q"},"var5":{"name":"nao_primo","type":"int","initialValue":"0","id":"var5","$$hashKey":"00U"},"var9":{"name":"aux","type":"int","initialValue":1,"id":"var9","$$hashKey":"3VG"}},"params":{},"type":"main","nodes":[{"id":1,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var0","$$hashKey":"03O"},{"id":"attr_14","type":"attr","name":"attr","parent":"root_0","variable":"var9","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"42C"},{"t":"op","v":"+","$$hashKey":"4CI"},{"t":"val","v":1,"$$hashKey":"4QK"}],"$$hashKey":"42C"}],"isLocked":true,"$$hashKey":"3V4"},{"id":"attr_3","type":"attr","name":"attr","parent":"root_0","variable":"var2","exp":[{"t":"val","v":"0","$$hashKey":"0TX"}],"isLocked":true,"$$hashKey":"0TL"},{"id":4,"type":"for","name":"repetir","nodes":[{"id":"attr_6","type":"attr","name":"attr","parent":4,"variable":"var3","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"10J"},{"t":"op","v":"%","$$hashKey":"1AH"},{"t":"var","v":"var1","$$hashKey":"1NY"}],"$$hashKey":"10J"}],"isLocked":true,"$$hashKey":"107"},{"id":"if_7","type":"if","name":"se","nodes":[],"parent":4,"exp":[{"t":"expB","v":[{"t":"var","v":"var3","$$hashKey":"23M"},{"t":"opB","v":"==","$$hashKey":"23V"},{"t":"val","v":"0","$$hashKey":"244"}],"$$hashKey":"21X"}],"isChildrenVisible":true,"nodes1":[{"id":"attr_5","type":"attr","name":"attr","parent":"if_7","variable":"var2","exp":[{"t":"exp","v":[{"t":"var","v":"var2","$$hashKey":"2KP"},{"t":"op","v":"+","$$hashKey":"2UN"},{"t":"val","v":1,"$$hashKey":"384"}],"$$hashKey":"2KP"}],"isLocked":true,"$$hashKey":"2KD"}],"nodes2":[],"$$hashKey":"1ZT"}],"parent":"root_0","forType":3,"initial":1,"initialType":"val","limit":"var9","limitType":"var","using":"var1","step":"1","stepType":"val","isChildrenVisible":true,"times":5,"timesType":5,"simple":true,"isValue":true,"simpleVariable":"","initialValue":0,"endValue":5,"increment":1,"variable":"","$$hashKey":"0Y5"},{"id":6,"type":"if","name":"se","nodes":[],"parent":"root_0","exp":[{"t":"expB","v":[{"t":"var","v":"var2","$$hashKey":"3C3"},{"t":"opB","v":"==","$$hashKey":"3CC"},{"t":"val","v":"2","$$hashKey":"3CL"}],"$$hashKey":"3A7"}],"isChildrenVisible":true,"nodes1":[{"id":7,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var4","$$hashKey":"3SU"}],"nodes2":[{"id":8,"type":"write","name":"escrever","nodes":[],"parent":6,"variable":"var5","$$hashKey":"3T4"}],"$$hashKey":"39Z"}],"$$hashKey":"006"}]},"testCases":[{"input":"7","output":"1","currentIndex":1,"$$hashKey":"008"},{"input":"8","output":"0","currentIndex":1,"$$hashKey":"00A"}]}