1 |
- {"mapping":{"0":{"id":0,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var0","$$hashKey":"00N"},"1":{"id":1,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var1","$$hashKey":"00P"},"2":{"id":2,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var2","$$hashKey":"013"},"8":{"id":8,"type":"if","name":"se","nodes":[],"parent":"root_0","exp":[{"t":"expB","v":[{"t":"var","v":"var3","$$hashKey":"2J0"},{"t":"opB","v":"==","$$hashKey":"2J9"},{"t":"val","v":"180","$$hashKey":"2JI"}],"$$hashKey":"2HA"}],"isChildrenVisible":true,"nodes1":[{"id":9,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var4","$$hashKey":"313"}],"nodes2":[{"id":12,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var5","$$hashKey":"3ER"}],"$$hashKey":"2H2"},"9":{"id":9,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var4","$$hashKey":"313"},"12":{"id":12,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var5","$$hashKey":"3ER"},"attr_7":{"id":"attr_7","type":"attr","name":"attr","parent":"root_0","variable":"var3","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"0XK"},{"t":"op","v":"+","$$hashKey":"16O"},{"t":"exp","v":[{"t":"var","v":"var1","$$hashKey":"1IZ"},{"t":"op","v":"+","$$hashKey":"1S8"},{"t":"var","v":"var2","$$hashKey":"26J"}],"$$hashKey":"1IZ"}],"$$hashKey":"0XK"}],"isLocked":true,"$$hashKey":"0XA"},"attr_10":{"id":"attr_10","type":"attr","name":"attr","parent":"root_0","variable":"var4","exp":[{"t":"val","v":1,"$$hashKey":"37T"}],"isLocked":true,"$$hashKey":"37H"},"attr_11":{"id":"attr_11","type":"attr","name":"attr","parent":"root_0","variable":"var5","exp":[{"t":"val","v":"0","$$hashKey":"3AJ"}],"isLocked":true,"$$hashKey":"3A7"}},"src":{"programName":"firstProgram","functions":[{"isMain":true,"name":"Principal","vars":{"var0":{"name":"newVar0","type":"int","initialValue":1,"id":"var0","$$hashKey":"00B"},"var1":{"name":"newVar1","type":"int","initialValue":1,"id":"var1","$$hashKey":"00F"},"var2":{"name":"newVar2","type":"int","initialValue":1,"id":"var2","$$hashKey":"00J"},"var3":{"name":"soma","type":"int","initialValue":1,"id":"var3","$$hashKey":"0X3"},"var4":{"name":"newVar4","type":"int","initialValue":1,"id":"var4","$$hashKey":"31B"},"var5":{"name":"newVar5","type":"int","initialValue":1,"id":"var5","$$hashKey":"34E"}},"params":{},"type":"main","nodes":[{"id":0,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var0","$$hashKey":"00N"},{"id":1,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var1","$$hashKey":"00P"},{"id":2,"type":"read","name":"ler","nodes":[],"parent":"root_0","message":"Por favor digite um valor:","variable":"var2","$$hashKey":"013"},{"id":"attr_7","type":"attr","name":"attr","parent":"root_0","variable":"var3","exp":[{"t":"exp","v":[{"t":"var","v":"var0","$$hashKey":"0XK"},{"t":"op","v":"+","$$hashKey":"16O"},{"t":"exp","v":[{"t":"var","v":"var1","$$hashKey":"1IZ"},{"t":"op","v":"+","$$hashKey":"1S8"},{"t":"var","v":"var2","$$hashKey":"26J"}],"$$hashKey":"1IZ"}],"$$hashKey":"0XK"}],"isLocked":true,"$$hashKey":"0XA"},{"id":"attr_10","type":"attr","name":"attr","parent":"root_0","variable":"var4","exp":[{"t":"val","v":1,"$$hashKey":"37T"}],"isLocked":true,"$$hashKey":"37H"},{"id":"attr_11","type":"attr","name":"attr","parent":"root_0","variable":"var5","exp":[{"t":"val","v":"0","$$hashKey":"3AJ"}],"isLocked":true,"$$hashKey":"3A7"},{"id":8,"type":"if","name":"se","nodes":[],"parent":"root_0","exp":[{"t":"expB","v":[{"t":"var","v":"var3","$$hashKey":"2J0"},{"t":"opB","v":"==","$$hashKey":"2J9"},{"t":"val","v":"180","$$hashKey":"2JI"}],"$$hashKey":"2HA"}],"isChildrenVisible":true,"nodes1":[{"id":9,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var4","$$hashKey":"313"}],"nodes2":[{"id":12,"type":"write","name":"escrever","nodes":[],"parent":8,"variable":"var5","$$hashKey":"3ER"}],"$$hashKey":"2H2"}],"$$hashKey":"006"}]},"testCases":[{"input":"60 60 60","output":"1","currentIndex":3,"$$hashKey":"008"},{"input":"90 45 45","output":"1","currentIndex":3,"$$hashKey":"00A"},{"input":"20 45 90","output":"0","currentIndex":3,"$$hashKey":"00C"}]}
|