ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1100. Final Standings

Input in Java
Posted by KALO 7 Jul 2009 05:07
I used this:

    static BufferedReader r=new BufferedReader(new InputStreamReader(System.in));
    static final int n=-'0';

    static int nextInt() throws IOException{
        int z=0,c=r.read();
        while (c!='\40'){
            z*=10;
            z+=c+n;
            c=r.read();
        }
        return z;
    }

0.421s

Edited by author 07.07.2009 16:14