i don't know why im gettin a WA
import java.util.Scanner;
class Main {
public static void main(String [] args)
{
Main mc=new Main();
mc.begin();
}
void begin()
{
Scanner sc =new Scanner(System.in);
int cases =sc.nextInt();
int l,w,h,vol=0,mvol=0;
double f=0,max=0;
while(cases!=0 ...
Search found 2 matches
- Wed Oct 15, 2014 1:12 am
- Forum: Volume 127 (12700-12799)
- Topic: 12709 - Falling Ants
- Replies: 11
- Views: 4392
- Wed Oct 08, 2014 9:46 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10000 - Longest Paths
- Replies: 160
- Views: 56480
10000 - Longest Paths
this code works well in Eclipse , i don't know why im getting Time limit exceeded , can anyone help ???
import java.util.Scanner;
import java.util.LinkedHashMap;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools ...
import java.util.Scanner;
import java.util.LinkedHashMap;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools ...