|
|
вернуться в форумWrong answer in Java 1.7 test 8 import java.util.Scanner; public class _1636 { public static void main(String args[]) { Scanner s = new Scanner(System.in); int n, sum = 0; int a, b; a = s.nextInt(); b = s.nextInt(); for (int i = 1; i < 10; i++) { n = s.nextInt(); sum = sum + (n * 20); } a = a + sum; if (b < a) { System.out.println("Dirty debug :("); } else { System.out.println("No chance."); } } } |
|
|