Search found 1 match

by sagarcse
Fri Oct 02, 2015 4:11 pm
Forum: Volume 115 (11500-11599)
Topic: 11559 - Event Planning
Replies: 29
Views: 15207

Re: 11559 - Event Planning

Getting RTE can anyone help?


import java.util.Scanner;
public class Main {

public static void main(String[] args) {
Scanner sc = new Scanner(System.in);

while (sc.hasNext()) {
int minimumCost = Integer.MAX_VALUE;

int n = sc.nextInt();
int budget = sc.nextInt();
int hotelCount = sc ...

Go to advanced search