Search found 2 matches

by engnaruto
Tue Nov 27, 2012 10:07 pm
Forum: Volume 105 (10500-10599)
Topic: 10530 - Guessing Game
Replies: 57
Views: 36958

Re: 10530 - Guessing Game

hello
i made a code for this problem and the output of the program all is right but still WA
what should i do ?????


import java.util.Scanner;

public class GuessingGame {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);
int n = 0;
String s = "";
int h = 0 ...
by engnaruto
Wed Nov 07, 2012 7:45 pm
Forum: Volume 114 (11400-11499)
Topic: 11494 - Queen
Replies: 11
Views: 7607

Re: 11494 - Queen

i want to know what's wrong with my code

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);
while (input.hasNext()) {

int x1 = input.nextInt();
int y1 = input.nextInt();
int x2 = input.nextInt();
int y2 = input ...

Go to advanced search