exemplo_4_media_aritmetica.ivph 1.0 KB

1234567891011121314151617181920212223242526272829
  1. {
  2. "testcases" : [
  3. {
  4. "input": ["10", "20"],
  5. "output": ["15.0"]
  6. },
  7. {
  8. "input": ["5", "6"],
  9. "output": ["5.5"]
  10. },
  11. {
  12. "input": ["70", "100"],
  13. "output": ["85.0"]
  14. },
  15. {
  16. "input": ["97", "100"],
  17. "output": ["98.5"]
  18. },
  19. {
  20. "input": ["300", "500"],
  21. "output": ["400.0"]
  22. }
  23. ] ,
  24. "settings_data_types":
  25. [{"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"}],
  26. "settings_commands":
  27. [{"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"}],
  28. "settings_functions":
  29. [{"name":"functions_creation","value":"on"},{"name":"functions_move","value":"on"}] }