Competitive Programming Solutions

GitHub
back to dashboard

A. Timon and Pumbaa

Codeforces - Contest #2 · limit: 1s · memory: 256MB · view on codeforces

input

9 1

output

8
Main.java
static void solve() {

        // Write your solution here
        int a = in.nextInt();
        int b = in.nextInt();
        out.println((a - b >= 0) ? a - b : 0);
    }