From 9d5a149356e6e54ad222ee62944994c812e60e03 Mon Sep 17 00:00:00 2001 From: Navid Samanghoon Date: Fri, 24 Oct 2025 15:00:15 +0200 Subject: Explanation for input, output and the restriction on the range of integers --- report/report.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/report/report.tex b/report/report.tex index 6c152eb..c2eb999 100644 --- a/report/report.tex +++ b/report/report.tex @@ -53,6 +53,10 @@ actual runtime to their theoretical runtimes and evaluate each implementation. \section{Design} \subsection{How are the input file and output formatted?} +Each line contains one and only one coordinate consisting of two values formatted as \texttt{$\langle$x$\rangle$\textbackslash t$\langle$y$\rangle$\textbackslash n}, +where x and y are non-negative integers in the range 0 to 32767. Although limitting, this range is a design desicion taken in order to avoid unnecessary complexity and +keep focus on the main objective of the project, efficient sorting. Including negative numbers would for example require extra logic for parsing, comparision, converting back and forth to ASCII, +and allocating memory. Both input and output follow this strict format. \subsection{Program Flow} -- cgit v1.2.3-70-g09d2