11 September, 2014

Teaser Round : Aspirations2020 Programming Contest 2014






1.      Use the correct extension for the programs. DON’T submit your solutions with .txt or .docx extensions this will generate a compile time error.
Permitted Languages and extensions are:
Java Program -  .java
C Program - .c
C++ Program - .cpp

2.      The output should ONLY contain the details specified in each problem statement. Do not print any extra information.
Example :
Problem : Print the 5th prime number.

Correct Output (Just print the number)
7

Wrong Output (Adding extra information along with the answer.)
The fifth prime number is 7.

If you are going to use C or C++ programing language, please remember the following points:
1.      Teams shall not use Borland or Turbo C/C++.
2.      Use only ANSI C, ANSI CPP compilers in windows machines, use GCC compilers in Linux machines.
3.      Don’t use conio.h in your program as this will not work.
4.      The return value from the main function should be zero. Do not use any other return value from main function.
For C++ programmers:
1.      Teams shall not use Borland or Turbo C/C++.
2.      Do not use #include with .h in C++.
Example:
                #include //This is wrong.
                #include //This is correct.

Infosys Campus Connect Daily : Tech Kaleidoscope : 2020/028

Dear All Dear Professor, Greetings from Infosys Campus Connect Team!!! Please find below some informat...