Skip to content

Instantly share code, notes, and snippets.

@mizushou
Last active October 8, 2017 00:03
Show Gist options
  • Save mizushou/a7e2f63d8e93f183353a685eae25d35a to your computer and use it in GitHub Desktop.
Save mizushou/a7e2f63d8e93f183353a685eae25d35a to your computer and use it in GitHub Desktop.
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int w = sc.nextInt();
System.out.println((n * n) - w);
}
}
@mizushou
Copy link
Author

AtCoder Beginners Contest 74

  • A - Bichrome Cells

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment