ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

which c/c++ compilers/linkers are used here?
Posted by Kolyanich 15 Mar 2002 23:44
what comlilers and linkers does this tester-system use?
i wrote a simple c++ code with headers included:

#include <stdio.h>
#include <malloc.h>
#include <memory.h>

with no microsoft specific extentions. microsoft visual c++6 sp3
compiles and links it with "default" libraries with no problems, but
the timus's tester show me a Status="Compilation Error". Why?
neither msvc6, nor bc31
Posted by Kolyanich 16 Mar 2002 00:17
i tested my code on both compilers
they compile my code fine, but here still 'Compilation Error'
try stdlib.h instead of memory.h and malloc.h (if you select 'replay to my email' you'll get error messages)
Posted by hajime 16 Mar 2002 00:43
> what comlilers and linkers does this tester-system use?
> i wrote a simple c++ code with headers included:
>
> #include <stdio.h>
> #include <malloc.h>
> #include <memory.h>
>
> with no microsoft specific extentions. microsoft visual c++6 sp3
> compiles and links it with "default" libraries with no problems, but
> the timus's tester show me a Status="Compilation Error". Why?
Re: try stdlib.h instead of memory.h and malloc.h (if you select 'replay to my email' you'll get error messages)
Posted by Kolyanich 19 Mar 2002 05:49
but f.e memset(...); isnt defined in <stdlib.h>