{ "testcases" : [ { "input": ["2"], "output": ["4"] }, { "input": ["1"], "output": ["1"] }, { "input": ["3"], "output": ["9"] }, { "input": ["10"], "output": ["100"] }, { "input": ["20"], "output": ["400"] } ] , "settings_data_types": [{"name":"integer_data_type","value":"on"},{"name":"real_data_type","value":"on"},{"name":"text_data_type","value":"on"},{"name":"boolean_data_type","value":"on"},{"name":"void_data_type","value":"on"}], "settings_commands": [{"name":"commands_read","value":"on"},{"name":"commands_write","value":"on"},{"name":"commands_comment","value":"on"},{"name":"commands_attribution","value":"on"},{"name":"commands_functioncall","value":"on"},{"name":"commands_iftrue","value":"on"},{"name":"commands_repeatNtimes","value":"on"},{"name":"commands_while","value":"on"},{"name":"commands_dowhile","value":"on"},{"name":"commands_switch","value":"on"}], "settings_functions": [{"name":"functions_creation","value":"on"},{"name":"functions_move","value":"on"}] } ::algorithm:: {"functions":[{"type":"function","name":"inicio","return_type":"void","return_dimensions":0,"parameters_list":[],"is_main":true,"is_hidden":false,"variables_list":[{"type":"integer","name":"valor","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},{"type":"integer","name":"quadrado","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0}],"function_comment":{"type":"comment","comment_text":"This is the main function..."},"commands":[{"type":"reader","variable_value_menu":{"type":"var_value","variable_and_value":1,"content":{"type":"integer","name":"valor","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},"row":null,"column":null,"include_constant":false}},{"type":"attribution","variable":{"type":"var_value","variable_and_value":1,"content":{"type":"integer","name":"quadrado","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},"row":null,"column":null,"include_constant":false},"expression":[{"type_exp":"op_exp","itens":["none",{"type_exp":"exp_op_exp","itens":[{"type":"var_value","variable_and_value":7,"content":{"type":"integer","name":"valor","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},"row":null,"column":null,"include_constant":true},"multiplication",{"type":"var_value","variable_and_value":7,"content":{"type":"integer","name":"valor","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},"row":null,"column":null,"include_constant":true}]}]}]},{"type":"writer","content":[{"type":"var_value","variable_and_value":7,"content":{"type":"integer","name":"quadrado","value":1,"dimensions":0,"is_constant":false,"rows":0,"columns":0},"row":null,"column":null,"include_constant":true}]}]}],"globals":[]}