\documentclass[12pt,psfig,epsf]{article}
\setlength{\topmargin}{-1in}
\setlength{\textheight}{10in}
\setlength{\textwidth}{5.5in}
\usepackage{epsfig}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\begin{document}
\begin{center}
{\Large\bfseries Problem test}\\ % Problem Number
{\large\bf Hello World}\\ % Problem Name
{\large Input File: {\em test.in}}\\ % Input file name
{\large Time Limit: {\em 1 Second}}\\ % Time limit in seconds
\end{center}
% Problem description here
Output hello world !
% Technical Specification and constraints
%\vspace*{.3in} \noindent {\large \bfseries Technical Specification}
%\begin{enumerate}
%\item The . . .
%\end{enumerate}
% Input File Format
\vspace*{.3in} \noindent {\large \bfseries Input File Format}\\
Input consists of several datasets. ...
% Output File Format
\vspace*{.3in} \noindent {\large \bfseries Output Format}\\
For each dataset, ....
% Sample Input
\vspace*{.3in} \noindent {\large \bfseries Sample Input}
\begin{verbatim}
morris
\end{verbatim}
% Sample Output
\vspace*{.3in} \noindent {\large \bfseries Output for the Sample Input}
\begin{verbatim}
hello morris !
\end{verbatim}
\end{document}