hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Hello World

 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Hello World
Author Message
moushika



Joined: 29 Jun 2008
Posts: 2

Post Hello World Reply with quote
Hi,

I wrote the program needed for the challenge and it works.
But when I run it with the python hackvm, it just prints 'Hello, World'.
It does not give any answer or hint.
Is it a bug in hackvm or did i not understand the challenge ?
Sun Aug 31, 2008 2:05 pm View user's profile Send private message
MerickOWA



Joined: 07 Apr 2008
Posts: 182
Location: HkRkoz al KuwaiT 2019 HaCkEr 101

Post Re: Hello World Reply with quote
Just paste your program into the answer box and submit that.

your program is your answer Smile
Sun Aug 31, 2008 6:14 pm View user's profile Send private message
moushika



Joined: 29 Jun 2008
Posts: 2

Post Reply with quote
Thank you, it works now!
Sun Aug 31, 2008 6:51 pm View user's profile Send private message
Hydra



Joined: 10 Sep 2008
Posts: 7
Location: U.S.A

Post Hello World! Reply with quote
1 REM * THIS A SAMPLE PROGRAM IN BASIC *;
2 REM* BY HYDRA*;
3 PRINT "HELLO WORLD";
4 END

RUN

HELLO WORLD

THIS ANOTHER SAMPLE

IN MICROSOFT QBASIC

REM *HELLOWORLD*

INPUT "WHAT IS YOUR NAME:" ;A$
PRINT "THANK YOU";A$
END

RUN

WHAT IS YOUR NAME: HYDRA
THANK YOU HYDRA

_________________
I am not a Hacker. I am security professional.
Wed Sep 10, 2008 7:41 pm View user's profile Send private message
knoerxi



Joined: 03 Nov 2008
Posts: 6

Post Reply with quote
Hi i'am confused..


Expected: 'Hello, World', got: 'Hello, World'
'[program code here]' is incorrect.

The output of my programm is the right answer probably, why is it incorrect?
Sat Oct 10, 2009 5:54 pm View user's profile Send private message Send e-mail
SinistraD



Joined: 16 Aug 2009
Posts: 89
Location: find me

Post Reply with quote
I just solved it, so I can help you, send me your code, and I'll take a look on it
Sun Oct 11, 2009 1:40 pm View user's profile Send private message Visit poster's website
m!nus



Joined: 28 Jul 2007
Posts: 202
Location: Germany

Post Reply with quote
knoerxi wrote:
Hi i'am confused..


Expected: 'Hello, World', got: 'Hello, World'
'[program code here]' is incorrect.

The output of my programm is the right answer probably, why is it incorrect?
You have a 0x01 byte on the end, if you use firefox you see a little box
Sun Oct 11, 2009 7:16 pm View user's profile Send private message
knoerxi



Joined: 03 Nov 2008
Posts: 6

Post Reply with quote
Thank's again..

The 0x01 was not seen with my browser... and the tool i used to write the code had a nice little bug..
Mon Oct 12, 2009 11:42 pm View user's profile Send private message Send e-mail
SinistraD



Joined: 16 Aug 2009
Posts: 89
Location: find me

Post Re: My program Reply with quote
Omg, you're such a retard, do you want to steal from others the challenging experience?
Sun Oct 18, 2009 10:14 am View user's profile Send private message Visit poster's website
Allosentient



Joined: 10 Apr 2008
Posts: 273

Post Reply with quote
It's not much of a challenging challenge, haha.
Sun Oct 18, 2009 10:24 pm View user's profile Send private message
wannabe7331



Joined: 16 Oct 2010
Posts: 4

Post Reply with quote
89*...*+P

much code?

regards wb7331
Sun Jan 30, 2011 12:50 am View user's profile Send private message ICQ Number
CodeX



Joined: 17 Oct 2008
Posts: 350

Post Reply with quote
challenges/challenges solved, practically the same aside from people who haven't completed the challenge can't view the challenges solved thread on it, I wonder why... I guess some things we will never know
Sun Jan 30, 2011 2:32 am View user's profile Send private message
Mad Mike



Joined: 21 Jun 2011
Posts: 11

Post Silly question? Reply with quote
Okay, so I went the cheesy way and initialized my memory with a bunch of useful constants. Which works fine in both implementations, but can I tell the website to load my memory string somehow or do I need to do some real thinking?

Thanks~

_________________
chown -R us ./base
Tue Mar 27, 2018 12:17 pm View user's profile Send private message
guga



Joined: 02 Mar 2012
Posts: 17

Post Reply with quote
The memory isn't meant to be initialized by yourself. The memory can be initialized by the challenge itself (then it is stated in the challenge description).
Cf the hvm description
Quote:
By default, [...] all the cells in the memory buffer set to 0. When specified, it is possible for the memory buffer to have been initialized to a known state before executing a program.

You can of course change the memory from within your program using the < > instruction.
Thu Mar 29, 2018 12:17 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.