HALO!!!
What does mean: "You must read until the end of the file." ??
All other problems had something like Problem number 694: " A line that contains two negative integers follows the last case."
Is it posible, that i get TLE because it doesn't read the last line??
Here is my code in Java ...
Search found 4 matches
- Tue Nov 16, 2004 9:50 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10200 - Prime Time
- Replies: 202
- Views: 96707
- Sun Oct 31, 2004 1:11 am
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67713
10013 stil got WA!!!!Please!!!!
I change my code, but i stil get WA and i don't know why???
My new code is:
JAVA:
[java]
/* @JUDGE_ID: 50020MM 10035 java */
import java.io.*;
import java.util.*;
class Main
{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte [maxLg];
int lg = 0 ...
My new code is:
JAVA:
[java]
/* @JUDGE_ID: 50020MM 10035 java */
import java.io.*;
import java.util.*;
class Main
{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte [maxLg];
int lg = 0 ...
- Fri Oct 29, 2004 1:10 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67713
10013, Igot WA. WHY?????????????? I NEAD HELP!!!
Please, i nead help. Can someone pleas help me. I send my code and i always get WA.
If i have input:
1
3
1 2
4 5
5 5
the output is:
3100
and i don't know haw to make this right.
Here is my code in JAVA:
[java]
import java.io.*;
import java.util.*;
class Super_long_sums
{
static String ReadLn ...
If i have input:
1
3
1 2
4 5
5 5
the output is:
3100
and i don't know haw to make this right.
Here is my code in JAVA:
[java]
import java.io.*;
import java.util.*;
class Super_long_sums
{
static String ReadLn ...
- Fri Sep 10, 2004 2:51 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101799
10035
I don't know what is wrong with my problem, I tested it with many numbers and it works fine, but i stil get wrong answer.
Program in JAVA:
[java]
import java.io.*;
import java.util.*;
class Main{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte ...
Program in JAVA:
[java]
import java.io.*;
import java.util.*;
class Main{
static String ReadLn (int maxLg) // utility function to read from stdin
{
byte lin[] = new byte ...