\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{verbatim}

\begin{document}

\title{T-79.5202 Combinatorial algorithms \\
Home assignment 1\\
Title of report}
\author{Firstname Lastname\\
12345X\\
{\tt Firstname.Lastname@tkk.fi}}

\maketitle

% Add your source code files here

\section*{koodi.c}

\verbatiminput{koodi.c}

\section*{koodi2.c}

\verbatiminput{koodi2.c}

\end{document}
