Search found 3 matches

by cothevacothe
Sun Oct 06, 2002 10:01 pm
Forum: Volume 103 (10300-10399)
Topic: 10332 - The Absent Minded Professor
Replies: 22
Views: 19342

Yarin!!!

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 ...
by cothevacothe
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 ...
by cothevacothe
Sun Oct 06, 2002 9:51 pm
Forum: Other words
Topic: compile error
Replies: 10
Views: 4703

I use Java and hardly can submit due to compiled error.
Could anybody help me with this??
Here are the compiler error messages:

/tmp/cc4XPsPymain.o: In function `main':
/tmp/ccQ4tHyCmain.i(.text+0x12): undefined reference to `_CL_4Main'
collect2: ld returned 1 exit status

Go to advanced search