A : Hello Santa!


I recently participated in the Advent Programming Contest organised by the IEEE Student Branch Klagenfurt (with support from Alpen-Adria-Universität Klagenfurt and Universität Passau), achieving a rank of 11th (out of 118 participants); as submissions of solutions to that contest are now closed, I’m posting here the solutions I submitted to that contest.

Problem (A; very easy difficulty):

Hello Santa!

Congratulations! If you can read this it means you have successfully managed to register, retrieve your password, log in and find the description of problem A!


Santa greets you, greet back! Write a program that writes “Hello Santa!” (without the quotes, C/C++ programmers don’t forget the newline) to the console.

Sample Output

Hello Santa!

Solution (A.c):

#include <stdio.h>

int main( void )
  printf( "Hello Santa!\n" );
  return 0;


gcc -std=c99 -Wall -lm A.c
mv a.out A
Hello Santa!

No Responses Yet to “A : Hello Santa!”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: