Useful hints:

  • whitespaces are included into code lenght; so that program:
    main()
    {
    return 0;
    }

    will receive 20 points, whereas this:
    main(){return 0;}
    only 17

  • output specification don't have to be followed strictly in respect of whitespaces - if it's said that between two numbers/words/etc. have to be two empty lines we should only separate them, no matter how; so for example output which supposed to look like that:
    3 953 356 22

    2 562 654

    4 93 2 64 23

    can look even like that:
          3           953 356
    22 2   562
     654 4 93 2   64


         23

  • the previous hint might not work in tasks where author wrote his own judge (although they are rare)

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.