\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage[polish]{babel} \usepackage{polski} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage{geometry} \usepackage{array} \usepackage[pdftex]{color,graphicx} \usepackage{subfigure} \usepackage{afterpage} \usepackage{setspace} \usepackage{color} \usepackage{wrapfig} \usepackage{listings} \usepackage{datetime} \renewcommand{\onehalfspacing}{\setstretch{1.6}} \geometry{tmargin=2.5cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.5cm} \setlength{\parindent}{1cm} \setlength{\parskip}{0mm} \newenvironment{lista}{ \begin{itemize} \setlength{\itemsep}{1pt} \setlength{\parskip}{0pt} \setlength{\parsep}{0pt} }{\end{itemize}} \newcommand{\linia}{\rule{\linewidth}{0.4mm}} \definecolor{lbcolor}{rgb}{0.95,0.95,0.95} \lstset{ backgroundcolor=\color{lbcolor}, tabsize=4, language=C++, captionpos=b, tabsize=3, frame=lines, numbers=left, numberstyle=\tiny, numbersep=5pt, breaklines=true, showstringspaces=false, basicstyle=\footnotesize, identifierstyle=\color{magenta}, keywordstyle=\color[rgb]{0,0,1}, commentstyle=\color{Darkgreen}, stringstyle=\color{red} } \begin{document} \noindent \begin{tabular}{|c|p{11cm}|c|} \hline Grupa 1? & Piotr Dergun, Dominik Waśko & \ddmmyyyydate\today \tabularnewline \hline \end{tabular} \section*{Zadanie 1 - Macierze OMP} Celem zadania jest obliczenie iloczynu dwóch macierzy prostokątnych na konkretnej liczbie wątków (dane te podane jako parametry programu). Istotą problemu są trzy pętle, których złożoność obliczeniowa jest O($n^3$) \begin{lstlisting} #pragma omp parallel for default(none) shared(A, B, C) firstprivate(rozmiar)private(i, j) for (i=0; i