From 9f05701ac68138bf305578d02fc261dddc5cb221 Mon Sep 17 00:00:00 2001 From: Michal Kijowski Date: Fri, 30 Oct 2020 00:26:23 +0100 Subject: [PATCH] Upload files to 'TaskX01' --- TaskX01/run | 12 ++++++++++-- TaskX01/run.jar | Bin 579524 -> 579482 bytes 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/TaskX01/run b/TaskX01/run index d3420d4..4f962c2 100644 --- a/TaskX01/run +++ b/TaskX01/run @@ -1,2 +1,10 @@ -#!/bin/bash -java -jar TaskA01/run.jar "$@" +#!/usr/bin/python2 + +import sys + +count = 0 + +for line in sys.stdin: + count += int(line) + +print count diff --git a/TaskX01/run.jar b/TaskX01/run.jar index 30dcf6054c9d4e890ed37871d09941581fffe426..f83f5b6f7df6c8fba95e64f7561b8523ef3942b4 100644 GIT binary patch delta 969 zcmX@IUU}AfWu5?UW)=|!1`ZAe2j+=97nvNGH{S1H1yYkU*)%}ZWHxgk)qIAn{R|r; z5HkTWGZ3=?F)I**#M!r>VdFSx#_PZw7r4eKY)RUfIGvlV4rd%}IE@NnnS>Urn`rzjNd>l7#CU&i|8H ze2!t+Eur$sKP`&W&z-q*H{X7L4eN%M=WK0;s~>x@gcqK5U=Zt8>9#x;Wc7@<#V|X8 zF>~7+1F^{X^uogje05&#SX%#hn?uIcud!1_FRXde=TNXWtcc}N<@NGyQCDr3e++t8 z+0yeQ+x6w!6K$vK_<2@!-F|XoS;^nr$QtF-eP_$sl0q*r3155tXJ3tWuK%yp-3z4F z#h){nylhpepRMSUkeeF8H!s@FWUAV%QF}i#V2^a3=Jn0ou@fF`Y+B@Imb&-);`+c9 zTcupn52vahI=j^J>=6z();9mC7dGZR;(Pb0QB+uR&8!{mYdU{dC`_=pc`@qrSFbr= zFC3A&=4*2(nbGj@v9?b26R#?=l-kpooYk+pTqxWtUj5rI@GrCIJ@cu-q8uMCetfqh z@9epsU#BTmxrb#w@LZkWP`)NSrTBE^a;xpX>%A1-Og z^Ugi9;QjI9KbuySNE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