Can anyone give me a test case for which my code outputs wrong answer?
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <fstream>
#include <string>
#include <cstring>
#include <cstdio>
#include <sstream>
#include <iostream>
#include <vector>
#include <map>
#include <list>
#include ...
Search found 5 matches
- Wed Sep 20, 2006 6:27 pm
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36103
- Tue Sep 12, 2006 11:40 am
- Forum: Volume 7 (700-799)
- Topic: 701 - The Archeologists' Dilemma
- Replies: 43
- Views: 35511
- Mon Sep 11, 2006 11:30 pm
- Forum: Volume 4 (400-499)
- Topic: 447 - Population Explosion
- Replies: 23
- Views: 4708
- Fri Sep 01, 2006 7:20 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 71545
it said the error is here |
\/
\/
Code: Select all
import java.math.BigInteger;
- Fri Sep 01, 2006 4:16 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 71545
623- Compile Error
why I got compile error?
import java.io.*;
import java.util.*;
import java.math.BigInteger;
class Main
{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte [maxLg];
int lg = 0, car = -1;
String line = "";
try
{
while (lg < maxLg)
{
car ...
import java.io.*;
import java.util.*;
import java.math.BigInteger;
class Main
{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte [maxLg];
int lg = 0, car = -1;
String line = "";
try
{
while (lg < maxLg)
{
car ...