From 836205d83237e3acc2303685bbe145f4bbe2feb8 Mon Sep 17 00:00:00 2001 From: Avene2019 Date: Fri, 5 Apr 2019 19:39:45 +0300 Subject: [PATCH 1/8] added theory answers --- theoretical-answers.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 theoretical-answers.txt diff --git a/theoretical-answers.txt b/theoretical-answers.txt new file mode 100644 index 0000000..983820a --- /dev/null +++ b/theoretical-answers.txt @@ -0,0 +1,13 @@ +1: b +2: apt-get install +3: d +4: a +5: b +6: a +7: 1 +8: 15 +9: 3 +10: 1 +11: true +12: true +13: true \ No newline at end of file From 2861fe209df66e428c381d66a398faddb1fb40a7 Mon Sep 17 00:00:00 2001 From: Avene2019 Date: Fri, 5 Apr 2019 21:14:48 +0300 Subject: [PATCH 2/8] adding all --- java-test1 | 1 + test1/.idea/description.html | 1 + test1/.idea/encodings.xml | 6 + test1/.idea/misc.xml | 9 ++ test1/.idea/modules.xml | 8 ++ test1/.idea/project-template.xml | 3 + test1/.idea/workspace.xml | 135 ++++++++++++++++++ .../production/test1/com/company/Main.class | Bin 0 -> 984 bytes test1/src/com/company/Main.java | 13 ++ test1/test1.iml | 12 ++ test2/.idea/compiler.xml | 23 +++ test2/.idea/description.html | 1 + test2/.idea/encodings.xml | 6 + test2/.idea/misc.xml | 9 ++ test2/.idea/modules.xml | 8 ++ test2/.idea/vcs.xml | 7 + test2/.idea/workspace.xml | 135 ++++++++++++++++++ test2/out/production/test2/Main.class | Bin 0 -> 988 bytes test2/src/Main.java | 21 +++ test2/test2.iml | 12 ++ test2extra/.idea/description.html | 1 + test2extra/.idea/encodings.xml | 6 + test2extra/.idea/misc.xml | 9 ++ test2extra/.idea/modules.xml | 8 ++ test2extra/.idea/project-template.xml | 3 + test2extra/.idea/workspace.xml | 130 +++++++++++++++++ .../out/production/test2extra/Main.class | Bin 0 -> 1056 bytes test2extra/src/com/company/Main.java | 23 +++ test2extra/test2extra.iml | 12 ++ test3/.idea/description.html | 1 + test3/.idea/encodings.xml | 6 + test3/.idea/misc.xml | 9 ++ test3/.idea/modules.xml | 8 ++ test3/.idea/project-template.xml | 3 + test3/.idea/workspace.xml | 135 ++++++++++++++++++ .../production/test3/com/company/Main.class | Bin 0 -> 688 bytes test3/src/com/company/Main.java | 20 +++ test3/test3.iml | 12 ++ test5/.idea/description.html | 1 + test5/.idea/encodings.xml | 6 + test5/.idea/misc.xml | 9 ++ test5/.idea/modules.xml | 8 ++ test5/.idea/project-template.xml | 3 + test5/.idea/workspace.xml | 135 ++++++++++++++++++ .../production/test5/com/company/Main.class | Bin 0 -> 1299 bytes test5/src/com/company/Main.java | 26 ++++ test5/test5.iml | 12 ++ theoretical-answers.txt | 13 -- 48 files changed, 996 insertions(+), 13 deletions(-) create mode 160000 java-test1 create mode 100644 test1/.idea/description.html create mode 100644 test1/.idea/encodings.xml create mode 100644 test1/.idea/misc.xml create mode 100644 test1/.idea/modules.xml create mode 100644 test1/.idea/project-template.xml create mode 100644 test1/.idea/workspace.xml create mode 100644 test1/out/production/test1/com/company/Main.class create mode 100644 test1/src/com/company/Main.java create mode 100644 test1/test1.iml create mode 100644 test2/.idea/compiler.xml create mode 100644 test2/.idea/description.html create mode 100644 test2/.idea/encodings.xml create mode 100644 test2/.idea/misc.xml create mode 100644 test2/.idea/modules.xml create mode 100644 test2/.idea/vcs.xml create mode 100644 test2/.idea/workspace.xml create mode 100644 test2/out/production/test2/Main.class create mode 100644 test2/src/Main.java create mode 100644 test2/test2.iml create mode 100644 test2extra/.idea/description.html create mode 100644 test2extra/.idea/encodings.xml create mode 100644 test2extra/.idea/misc.xml create mode 100644 test2extra/.idea/modules.xml create mode 100644 test2extra/.idea/project-template.xml create mode 100644 test2extra/.idea/workspace.xml create mode 100644 test2extra/out/production/test2extra/Main.class create mode 100644 test2extra/src/com/company/Main.java create mode 100644 test2extra/test2extra.iml create mode 100644 test3/.idea/description.html create mode 100644 test3/.idea/encodings.xml create mode 100644 test3/.idea/misc.xml create mode 100644 test3/.idea/modules.xml create mode 100644 test3/.idea/project-template.xml create mode 100644 test3/.idea/workspace.xml create mode 100644 test3/out/production/test3/com/company/Main.class create mode 100644 test3/src/com/company/Main.java create mode 100644 test3/test3.iml create mode 100644 test5/.idea/description.html create mode 100644 test5/.idea/encodings.xml create mode 100644 test5/.idea/misc.xml create mode 100644 test5/.idea/modules.xml create mode 100644 test5/.idea/project-template.xml create mode 100644 test5/.idea/workspace.xml create mode 100644 test5/out/production/test5/com/company/Main.class create mode 100644 test5/src/com/company/Main.java create mode 100644 test5/test5.iml delete mode 100644 theoretical-answers.txt diff --git a/java-test1 b/java-test1 new file mode 160000 index 0000000..33e9c1c --- /dev/null +++ b/java-test1 @@ -0,0 +1 @@ +Subproject commit 33e9c1c62b358a71861c726a2cb961e171339e75 diff --git a/test1/.idea/description.html b/test1/.idea/description.html new file mode 100644 index 0000000..db5f129 --- /dev/null +++ b/test1/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/test1/.idea/encodings.xml b/test1/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/test1/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test1/.idea/misc.xml b/test1/.idea/misc.xml new file mode 100644 index 0000000..89e42c1 --- /dev/null +++ b/test1/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/test1/.idea/modules.xml b/test1/.idea/modules.xml new file mode 100644 index 0000000..eb5a4da --- /dev/null +++ b/test1/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test1/.idea/project-template.xml b/test1/.idea/project-template.xml new file mode 100644 index 0000000..1f08b88 --- /dev/null +++ b/test1/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/test1/.idea/workspace.xml b/test1/.idea/workspace.xml new file mode 100644 index 0000000..d3bd428 --- /dev/null +++ b/test1/.idea/workspace.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1554482655129 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test1/out/production/test1/com/company/Main.class b/test1/out/production/test1/com/company/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..4d30dc8af1f63d647d061bd04237e83f10323cec GIT binary patch literal 984 zcmZuwZBN=z6n-usg<7Y8AagI2y`rL>&b{h1amlhJxGiBZG5d6_H&D~wlG1MD+y2u0 z0Le`D1NNhqom)syp*KC}p10?mo^$&5-|s&Fwz02c9@Q-F;eG}WbUef(4Ud&v(=me; zMOHPe>Byq0NIipf#Wyrq8lEtucOB`3dko3i$`M2At$!*Q<{OR_A0zKX1Yh`xOPYMc zx4C=714qdtWh!htU1hU<&!V@(WzRa~j@%(6k2piA_O)@wzj4duvSl^Hz>%$;I1>+A z6kC{LW=M2xG7STx&~dG%&7~B9!j;^M>zP1h(3^e~*y5d|D$c4xHk6lv1>`hr8rZ^9 zhRS>4x_;e^x+18X-`hMiovzuVP*Y*=YuGmM49^*IagNIc7Kw5VcH@Po-cb<1A7W!;d<{#HOBmOawhEXimKV`hQgzP z`4Jh4!zMYt^_f~5QiBEe2(}PoTvan@9p&WGT#B{nV@ar?jX^)iPBaEBkAevHvO$eA zBgKzUZ4JX>ZDkUhHjQ^WLY^|LPfI-!G3q0IN+$G&dxI)&(7vlD0qO~IMDrwB#2N9K z)dASA*jyl*9xAa&cVl!fqC`>_ODK~@1^+~n4zP8OL_XO^>H;&z=SUBrHP-sb9FqP5 z+2aB9dLOfSgGe89%IiMcqlIYh@zER# + + + + + + + + + + + diff --git a/test2/.idea/compiler.xml b/test2/.idea/compiler.xml new file mode 100644 index 0000000..217af47 --- /dev/null +++ b/test2/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/test2/.idea/description.html b/test2/.idea/description.html new file mode 100644 index 0000000..db5f129 --- /dev/null +++ b/test2/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/test2/.idea/encodings.xml b/test2/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/test2/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test2/.idea/misc.xml b/test2/.idea/misc.xml new file mode 100644 index 0000000..c9209a5 --- /dev/null +++ b/test2/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/test2/.idea/modules.xml b/test2/.idea/modules.xml new file mode 100644 index 0000000..2f87be9 --- /dev/null +++ b/test2/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test2/.idea/vcs.xml b/test2/.idea/vcs.xml new file mode 100644 index 0000000..def6a6a --- /dev/null +++ b/test2/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/test2/.idea/workspace.xml b/test2/.idea/workspace.xml new file mode 100644 index 0000000..2833430 --- /dev/null +++ b/test2/.idea/workspace.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1554482719249 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test2/out/production/test2/Main.class b/test2/out/production/test2/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..eb7048a061a8455ea612aead7597d2160b729292 GIT binary patch literal 988 zcmZuv-A)rh7(LV7cDH4LLIn{-7f~q)R0L53dxOC=DQZ$fV!Rr*11z??b-QciWxVxT zE+Emw2k-%W9QDi=0x`77%=ew|?|f(W*Prh{0j!`}KtJwUxR=L$%oLD8SzEI<<_dU# zd5tXCShP{G@zBDOg+~Ip4L|VXs(?|R-4QT1!=@4#towm_m9%$N^j7Y+hz!?5Pqubs z^8?p30Y|Bnc%)%ID5GXXlB=Xdj zuNTN`j*FU>g8>W*45bt=x3;kCP{_wRVb#GCJQY~zw3O^BR|T<(-1tDbvK=Nt?1p=8 zM}>^Kevsl(7`82}Ie3P32OD@UFmq*om)o??t3Duk4 zU+*3&k6D+X#!)v`Z3?DSM|y(!VWp-uqV`I*DcM;0%7A_pBTU%vqVNr$>!Prf&St+$ zFzI%5QcDj!YyAIHTY>r<*8+CthgHKA9Dbepmx0jw^DNS<@D{wYbEgpB((n+^TnZW( zrtS0+P{K8Od5mC`h%WvO16kfLi_MK6$h^|$yRhl$(FEg|!lt+EzeVPQ&83yXz!7|LM!AB(-x ANB{r; literal 0 HcmV?d00001 diff --git a/test2/src/Main.java b/test2/src/Main.java new file mode 100644 index 0000000..06bf45c --- /dev/null +++ b/test2/src/Main.java @@ -0,0 +1,21 @@ +import java.util.Scanner; + +public class Main { + + public static void main(String[] args) { +int capacity = 100; + Scanner sc = new Scanner(System.in); + System.out.println("please enter the amount of people in the room"); + int input1 = sc.nextInt(); + System.out.println("the amount of people still in the queue"); + int input2 = sc.nextInt(); + if (100-input1-input2>0){ + System.out.println("can fit"); + } else { + System.out.println("can't fit"); + } + + + + } +} diff --git a/test2/test2.iml b/test2/test2.iml new file mode 100644 index 0000000..d5c0743 --- /dev/null +++ b/test2/test2.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/test2extra/.idea/description.html b/test2extra/.idea/description.html new file mode 100644 index 0000000..db5f129 --- /dev/null +++ b/test2extra/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/test2extra/.idea/encodings.xml b/test2extra/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/test2extra/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test2extra/.idea/misc.xml b/test2extra/.idea/misc.xml new file mode 100644 index 0000000..89e42c1 --- /dev/null +++ b/test2extra/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/test2extra/.idea/modules.xml b/test2extra/.idea/modules.xml new file mode 100644 index 0000000..fbe49ff --- /dev/null +++ b/test2extra/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test2extra/.idea/project-template.xml b/test2extra/.idea/project-template.xml new file mode 100644 index 0000000..1f08b88 --- /dev/null +++ b/test2extra/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/test2extra/.idea/workspace.xml b/test2extra/.idea/workspace.xml new file mode 100644 index 0000000..6af9501 --- /dev/null +++ b/test2extra/.idea/workspace.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1554483347096 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test2extra/out/production/test2extra/Main.class b/test2extra/out/production/test2extra/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..63137ac11b20a42b3253214f54584bb7d44744f9 GIT binary patch literal 1056 zcmZuw+fvg|6kVrDleQEnU=cwyh)O}Aa_;|<532kxM^Z6jRM9qNMJ%m zw^EqQU<%U;DW-5cg_#s)P0X2?7cdrG&kdIaw8HqRfd164OM&i+>&cav}f1J~PHh}EOE3>ClSK)472#eM_whhrs@0Ho zTUyc!WnhKd(z2U=nveB{7iep{*708`V^~J`HbjUgb)ppyVY;t6Znm-zu>le#vO1uPVH#xL{!nqsj zb~Hbt;A!DY-rH$mUwk(8&cFg@OOYDtz+>V6@7(m{$FS^CnO|5LBgpbIRZjv!&7SWZ zvm#f)H92tr@h#r&;oFEo4ZV!BM+EfY0<$#o=qJKr(E|-8u{XK;;twR&_Mja=ukIn) zYwW|E+(&9zCF$d&r043x^-?mQEE#ztpUms^FBr)ipV6gg8PdL@Lxmj-KN*K#4}U99 z8kDC}+<+0E*@YBcq%njHM$v(Bx-7D-B{uei-l}x|n)y0es)y(FImf^9A_mwS9pe%P zW92n!46vUrtl%<+Ii4Xr#uZ{3Rp)S(kxuO?Sd5Y!Bv`8-a?3PvO_&%Jd0){ + System.out.println("fit"); + } else{ + System.out.println("can't fit"); + } + } + + } +} diff --git a/test2extra/test2extra.iml b/test2extra/test2extra.iml new file mode 100644 index 0000000..d5c0743 --- /dev/null +++ b/test2extra/test2extra.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/test3/.idea/description.html b/test3/.idea/description.html new file mode 100644 index 0000000..db5f129 --- /dev/null +++ b/test3/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/test3/.idea/encodings.xml b/test3/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/test3/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test3/.idea/misc.xml b/test3/.idea/misc.xml new file mode 100644 index 0000000..89e42c1 --- /dev/null +++ b/test3/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/test3/.idea/modules.xml b/test3/.idea/modules.xml new file mode 100644 index 0000000..2e99a71 --- /dev/null +++ b/test3/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test3/.idea/project-template.xml b/test3/.idea/project-template.xml new file mode 100644 index 0000000..1f08b88 --- /dev/null +++ b/test3/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/test3/.idea/workspace.xml b/test3/.idea/workspace.xml new file mode 100644 index 0000000..2ef438c --- /dev/null +++ b/test3/.idea/workspace.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1554484625694 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test3/out/production/test3/com/company/Main.class b/test3/out/production/test3/com/company/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..0e4a3e514e6f996b5e1c00691017a643c1a391c0 GIT binary patch literal 688 zcmZuv!EVz)5PchOytPTGn~*|D3WP$N0;&O3T$=WRgj6X7q@Y~5urXHH65EmMAob3d zaN!IGkT`Hf;y?He%3BA7idboOXWq=dH?#KlpI^QL*ukccDlU6yq3vT0R}`))ToZ76 zCN;&rfYaR?3do1q%UEEkZ_@bjEE&c5Gd-FRsrR!;Plh@-HvSFD;*~kJxhP9Q+Ek|} z;h{F^E}0UZ0xR9;{UiNGhZCKS!$Faobi7+C>3qz)jsK(tgr*(PMl?f<1QrK{j$R+? zX(_G{2>63+mPhd;V>|S$@V3>e!G%)j)Nmc^3O8!Fi4B3^-!2LLZSBeED2|FV(BR~_ zh!Z|dHe;eWpTlI~Qw~vZlvpPmv{7=Lg$2~q7ESm9vU{*KLQLMl7==6q z&+4tu5Fg64$K5SK2R{AUya4Cu0Uj1{o`}8tjbxVezSEO?&VH-?;(`2#N>hGQHSROV~hw+gQduW^7kG zb7f`%Mity;uFk$Bwpmdp;^Gc2&~wPNi6%XX71l1Ja>|mb!bQOa{*D5dN|M!Iu + + + + + + + + + + + diff --git a/test5/.idea/description.html b/test5/.idea/description.html new file mode 100644 index 0000000..db5f129 --- /dev/null +++ b/test5/.idea/description.html @@ -0,0 +1 @@ +Simple Java application that includes a class with main() method \ No newline at end of file diff --git a/test5/.idea/encodings.xml b/test5/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/test5/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/test5/.idea/misc.xml b/test5/.idea/misc.xml new file mode 100644 index 0000000..89e42c1 --- /dev/null +++ b/test5/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/test5/.idea/modules.xml b/test5/.idea/modules.xml new file mode 100644 index 0000000..7977acb --- /dev/null +++ b/test5/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/test5/.idea/project-template.xml b/test5/.idea/project-template.xml new file mode 100644 index 0000000..1f08b88 --- /dev/null +++ b/test5/.idea/project-template.xml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/test5/.idea/workspace.xml b/test5/.idea/workspace.xml new file mode 100644 index 0000000..86ba7ec --- /dev/null +++ b/test5/.idea/workspace.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1554485997149 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test5/out/production/test5/com/company/Main.class b/test5/out/production/test5/com/company/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..8f423dd4574e9c4e83d2e57b8c2d8edc330a151c GIT binary patch literal 1299 zcmaJ>+foxj5IsZol7vMNh{OvTye1lq*LVS=fVXI(Xw)k8#bKEui(kef|AMkI~GYO?Al)E)O)7{f&`gG6kw;!Ls0=R&uNep8$fzv3&aVCkgIA`O$ z)-NPs;-VJCBrf5y7FTRsO`;!@aZKrXT8nF1lx$qLaYMkG_5v>|3BWw2DJMWGigO?6L_;Sys?j`t_%VdYG_x6i~87Yz>IY3 zG9<1jb9fv?5$^;BYLRqbS7oc4x{Yy`&BlyCves;euDb1MmI5osJBdKG@ILw%j@c^U@5A1uPZxj>2A+(yOAyD=BUe7O9i|elRIU#4REu{ zWO;z`|8d8oX0L#lz;1ql`so9UgHg&9wE}0s**v)c@u}h)xlr~Lp(z#8G}x;gh9$U-vk*Y zk>(F#oatsTfFsz2 + + + + + + + + + + + diff --git a/theoretical-answers.txt b/theoretical-answers.txt deleted file mode 100644 index 983820a..0000000 --- a/theoretical-answers.txt +++ /dev/null @@ -1,13 +0,0 @@ -1: b -2: apt-get install -3: d -4: a -5: b -6: a -7: 1 -8: 15 -9: 3 -10: 1 -11: true -12: true -13: true \ No newline at end of file From 3bbdcf5213bc8912b7f4c299690d130cb79b9767 Mon Sep 17 00:00:00 2001 From: Avene2019 Date: Fri, 5 Apr 2019 21:18:25 +0300 Subject: [PATCH 3/8] deleted extra fioder --- java-test1 | 1 - 1 file changed, 1 deletion(-) delete mode 160000 java-test1 diff --git a/java-test1 b/java-test1 deleted file mode 160000 index 33e9c1c..0000000 --- a/java-test1 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 33e9c1c62b358a71861c726a2cb961e171339e75 From 1b3a476a9ab3cef6e90acfa3b4997730c4b661b2 Mon Sep 17 00:00:00 2001 From: Avene2019 Date: Fri, 5 Apr 2019 21:19:45 +0300 Subject: [PATCH 4/8] theory atbildes --- THEORYANSWERS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 THEORYANSWERS.md diff --git a/THEORYANSWERS.md b/THEORYANSWERS.md new file mode 100644 index 0000000..983820a --- /dev/null +++ b/THEORYANSWERS.md @@ -0,0 +1,13 @@ +1: b +2: apt-get install +3: d +4: a +5: b +6: a +7: 1 +8: 15 +9: 3 +10: 1 +11: true +12: true +13: true \ No newline at end of file From 67beaf15d73b845428038a9fb98873ad05a465e3 Mon Sep 17 00:00:00 2001 From: Avene2019 Date: Sat, 6 Apr 2019 11:55:52 +0300 Subject: [PATCH 5/8] changed e2extra file --- {test2extra => 2extra}/.idea/description.html | 0 {test2extra => 2extra}/.idea/encodings.xml | 0 {test2extra => 2extra}/.idea/misc.xml | 0 {test2extra => 2extra}/.idea/modules.xml | 2 +- .../.idea/project-template.xml | 0 {test2extra => 2extra}/.idea/workspace.xml | 66 +++++++++--------- .../test2extra.iml => 2extra/2extra.iml | 0 .../production/2extra/com/company/Main.class | Bin 0 -> 1090 bytes .../src/com/company/Main.java | 16 +++-- .../out/production/test2extra/Main.class | Bin 1056 -> 0 bytes 10 files changed, 45 insertions(+), 39 deletions(-) rename {test2extra => 2extra}/.idea/description.html (100%) rename {test2extra => 2extra}/.idea/encodings.xml (100%) rename {test2extra => 2extra}/.idea/misc.xml (100%) rename {test2extra => 2extra}/.idea/modules.xml (60%) rename {test2extra => 2extra}/.idea/project-template.xml (100%) rename {test2extra => 2extra}/.idea/workspace.xml (66%) rename test2extra/test2extra.iml => 2extra/2extra.iml (100%) create mode 100644 2extra/out/production/2extra/com/company/Main.class rename {test2extra => 2extra}/src/com/company/Main.java (71%) delete mode 100644 test2extra/out/production/test2extra/Main.class diff --git a/test2extra/.idea/description.html b/2extra/.idea/description.html similarity index 100% rename from test2extra/.idea/description.html rename to 2extra/.idea/description.html diff --git a/test2extra/.idea/encodings.xml b/2extra/.idea/encodings.xml similarity index 100% rename from test2extra/.idea/encodings.xml rename to 2extra/.idea/encodings.xml diff --git a/test2extra/.idea/misc.xml b/2extra/.idea/misc.xml similarity index 100% rename from test2extra/.idea/misc.xml rename to 2extra/.idea/misc.xml diff --git a/test2extra/.idea/modules.xml b/2extra/.idea/modules.xml similarity index 60% rename from test2extra/.idea/modules.xml rename to 2extra/.idea/modules.xml index fbe49ff..c6dd162 100644 --- a/test2extra/.idea/modules.xml +++ b/2extra/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/test2extra/.idea/project-template.xml b/2extra/.idea/project-template.xml similarity index 100% rename from test2extra/.idea/project-template.xml rename to 2extra/.idea/project-template.xml diff --git a/test2extra/.idea/workspace.xml b/2extra/.idea/workspace.xml similarity index 66% rename from test2extra/.idea/workspace.xml rename to 2extra/.idea/workspace.xml index 6af9501..a6ed93a 100644 --- a/test2extra/.idea/workspace.xml +++ b/2extra/.idea/workspace.xml @@ -1,7 +1,7 @@ - + - - - - + + @@ -44,8 +40,8 @@ - + @@ -62,9 +58,9 @@ - + + + + + + - - 1554483347096 + + 1554484069828 - - + - - - - - - + - - - - + + + + + - + - - - - - + + + + + + + + + - - + + diff --git a/test2extra/test2extra.iml b/2extra/2extra.iml similarity index 100% rename from test2extra/test2extra.iml rename to 2extra/2extra.iml diff --git a/2extra/out/production/2extra/com/company/Main.class b/2extra/out/production/2extra/com/company/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..124bb35f4ca202987afb1930e0b39b57b0bbd607 GIT binary patch literal 1090 zcmZuvT~8BH5IwiscH2^*P>TqnRn(Tx6$BK)YC=M6Qk0|wV~8e~JvZvZv z)W=YTRA+2D0X4GGLXdCSnajf#$ed63_40i>Kfj8$N>g-n#DMH+}-5n|Aut&f*%qBy#8>!eG%4117QenT`3Mh`c?3 zafIm70b&snV2yX&&6}mZz$wqU(uy0DN^=g$NT8eUfYSc z7Z>}-f3zwCT2+a%fdsuITS!qy8~UklkgW|7vB;XG<`S}4q}mD@E4Yp~#NUyryLm~) zlNce|%Py%MH_*q^z#197?5qRJxQPJ{sviruMa*FKY22n2Wep2?S}~3kjEx>MooV8( TFfl0j5KR5$wZJ_RBDnt_)|KfX literal 0 HcmV?d00001 diff --git a/test2extra/src/com/company/Main.java b/2extra/src/com/company/Main.java similarity index 71% rename from test2extra/src/com/company/Main.java rename to 2extra/src/com/company/Main.java index 7f676b1..1bfe58f 100644 --- a/test2extra/src/com/company/Main.java +++ b/2extra/src/com/company/Main.java @@ -1,3 +1,5 @@ +package com.company; + import java.util.Scanner; public class Main { @@ -9,15 +11,19 @@ public static void main(String[] args) { int input1 = sc.nextInt(); System.out.println("the amount of people still in the queue"); int input2 = sc.nextInt(); - int now = 100-input1; + int now = 100 - input1; + - for (int user = now ; user<=now-input2; user--){ - if (user>0){ + for (int user = 0; user 0) { System.out.println("fit"); - } else{ + now--; + } else { System.out.println("can't fit"); + now--; } } } -} + +} \ No newline at end of file diff --git a/test2extra/out/production/test2extra/Main.class b/test2extra/out/production/test2extra/Main.class deleted file mode 100644 index 63137ac11b20a42b3253214f54584bb7d44744f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1056 zcmZuw+fvg|6kVrDleQEnU=cwyh)O}Aa_;|<532kxM^Z6jRM9qNMJ%m zw^EqQU<%U;DW-5cg_#s)P0X2?7cdrG&kdIaw8HqRfd164OM&i+>&cav}f1J~PHh}EOE3>ClSK)472#eM_whhrs@0Ho zTUyc!WnhKd(z2U=nveB{7iep{*708`V^~J`HbjUgb)ppyVY;t6Znm-zu>le#vO1uPVH#xL{!nqsj zb~Hbt;A!DY-rH$mUwk(8&cFg@OOYDtz+>V6@7(m{$FS^CnO|5LBgpbIRZjv!&7SWZ zvm#f)H92tr@h#r&;oFEo4ZV!BM+EfY0<$#o=qJKr(E|-8u{XK;;twR&_Mja=ukIn) zYwW|E+(&9zCF$d&r043x^-?mQEE#ztpUms^FBr)ipV6gg8PdL@Lxmj-KN*K#4}U99 z8kDC}+<+0E*@YBcq%njHM$v(Bx-7D-B{uei-l}x|n)y0es)y(FImf^9A_mwS9pe%P zW92n!46vUrtl%<+Ii4Xr#uZ{3Rp)S(kxuO?Sd5Y!Bv`8-a?3PvO_&%Jd Date: Sat, 6 Apr 2019 12:00:35 +0300 Subject: [PATCH 6/8] Update Main.java --- test1/src/com/company/Main.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test1/src/com/company/Main.java b/test1/src/com/company/Main.java index 4c80009..5e44ce3 100644 --- a/test1/src/com/company/Main.java +++ b/test1/src/com/company/Main.java @@ -8,6 +8,7 @@ public static void main(String[] args) { System.out.println("Hello, user, what is your name?"); Scanner sc = new Scanner(System.in); String name = sc.nextLine(); + System.out.println(name + ", welcome!"); } } From c43f67578ac781d86ae7bb5ba89a8d6d117a0d43 Mon Sep 17 00:00:00 2001 From: Avene2019 <49290441+Avene2019@users.noreply.github.com> Date: Sat, 6 Apr 2019 12:02:16 +0300 Subject: [PATCH 7/8] Update Main.java --- test2/src/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test2/src/Main.java b/test2/src/Main.java index 06bf45c..d80ac17 100644 --- a/test2/src/Main.java +++ b/test2/src/Main.java @@ -9,7 +9,7 @@ public static void main(String[] args) { int input1 = sc.nextInt(); System.out.println("the amount of people still in the queue"); int input2 = sc.nextInt(); - if (100-input1-input2>0){ + if (100-input1-input2>=0){ System.out.println("can fit"); } else { System.out.println("can't fit"); From f41e5db6cfe868d05660929f082203a56eb8bef4 Mon Sep 17 00:00:00 2001 From: Avene2019 <49290441+Avene2019@users.noreply.github.com> Date: Sat, 6 Apr 2019 12:03:06 +0300 Subject: [PATCH 8/8] Update Main.java --- test3/src/com/company/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test3/src/com/company/Main.java b/test3/src/com/company/Main.java index 571daca..ef0f1be 100644 --- a/test3/src/com/company/Main.java +++ b/test3/src/com/company/Main.java @@ -8,7 +8,7 @@ public static void main(String[] args) { int i =0; int c =a+b; System.out.println(c); -while (i<40){ +while (i<39){ System.out.println(c); a=b;