Search found 5 matches

by phoenix7
Wed Sep 20, 2006 6:27 pm
Forum: Volume 6 (600-699)
Topic: 615 - Is It A Tree?
Replies: 71
Views: 36103

615 WA!

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 ...
by phoenix7
Tue Sep 12, 2006 11:40 am
Forum: Volume 7 (700-799)
Topic: 701 - The Archeologists' Dilemma
Replies: 43
Views: 35511

can any one answer what the range of output is?
by phoenix7
Mon Sep 11, 2006 11:30 pm
Forum: Volume 4 (400-499)
Topic: 447 - Population Explosion
Replies: 23
Views: 4708

I think my program should not get WA! I've yours about what the output should be. and I've tried to fix it but still, I get WA. can anyone read my code please.


#include <cmath>
#include <ctime>
#include <cstdlib>
#include <fstream>
#include <string>
#include <cstring>
#include <cstdio>
#include ...
by phoenix7
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;
by phoenix7
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 ...

Go to advanced search