tried to submit this problem in java but no success, got some compiled errors that I could never understand x-(
help me to change this code to C++
:-p
// @JUDGE_ID: 9318RY 10332 Java "Easy algorithm"
import java.io.*;
import java.util.*;
class Sum
{
static String readLn (int maxLg) {
byte lin ...
Search found 3 matches
- Sun Oct 06, 2002 10:01 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10332 - The Absent Minded Professor
- Replies: 22
- Views: 19342
- Sun Oct 06, 2002 9:57 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10332 - The Absent Minded Professor
- Replies: 22
- Views: 19342
Could anybody change my code to C++ and submit it????
I got some unknown stupid compiled error...
// @JUDGE_ID: 9318RY 10332 Java "Easy algorithm"
import java.io.*;
import java.util.*;
class Sum
{
static String readLn (int maxLg) {
byte lin[] = new byte [maxLg];
int lg = 0, car = -1;
String line = "";
try
{
while (lg < maxLg)
{
car = System ...
// @JUDGE_ID: 9318RY 10332 Java "Easy algorithm"
import java.io.*;
import java.util.*;
class Sum
{
static String readLn (int maxLg) {
byte lin[] = new byte [maxLg];
int lg = 0, car = -1;
String line = "";
try
{
while (lg < maxLg)
{
car = System ...
- Sun Oct 06, 2002 9:51 pm
- Forum: Other words
- Topic: compile error
- Replies: 10
- Views: 4703