Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- /**
- * Template code for submissions to kattis.
- * Usage: 'java Mall [DEBUG]'
- */
- public class Mall {
- private static boolean debug = false;
- public static void main(String[] args) {
- debug = (args.length == 1 && args[0].equals("DEBUG"));
- Kattio io = new Kattio(System.in);
- // exempel:
- int digit = 4;
- print("Här syns att det går att blanda", 4, "olika typer", '!');
- io.close();
- }
- static void print (Object... args) {
- if(!debug)
- return;
- for (Object s : args){
- System.err.print(s);
- System.err.print(' ');
- }
- System.err.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement