From 05e6c73038b2601ce7a51eb0d24e6c3f00948b5d Mon Sep 17 00:00:00 2001 From: Xenia Date: Tue, 13 Dec 2022 01:03:49 +0300 Subject: [PATCH] minor changes --- .../resources/database/testsDB.mv.db | Bin 45056 -> 45056 bytes jumbledsentences/src/Demo.java | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/jumbledsentences/resources/database/testsDB.mv.db b/jumbledsentences/resources/database/testsDB.mv.db index 6bc85eacc0cfbfa5845f8b9b5e03db0d7e8c28c4..08f3d35ddff822c203206d14c57b3ef567aefdb2 100644 GIT binary patch literal 45056 zcmeHQ&2JmW6uN0g+sCXZOu- z-mLh0?>BGP3S!=Dy4Irt_FrqeACQ8;^L*ZVc+h%O5EMCYH3@DNguK-zxJ&GUpewv+ z@is5%dB<(<;VvBIF==;pUDyp8I8D;E9+GxJ=QWvE1ZkRM4~76kfFZyTUhja>3zU{i*f+Fc45a4;+fn0xgcaIblL)L61 zAp(E{c3rEW+9EpR2bB`=slRcbq^G!4I&)!)6ILIPR!&?g@8zV`yG?gqu9Qf#iF3;8 z27a33xb&wPEtUEHY=BMcAqW3I$&x-e~de55otb5PKMY<<3F1GL< zS!`VKUYf4CjJtRy+}ObT(fcZKzU6)H?vqx%jawaTbwMT3@tbzB*(8g6azjdPXmeiU zF4@~(cTG6(Rd4&CWxMO{&Z025DQfiFf`3pgP;1-|WEqx|e?$%ox`RbU`Qy3ix+q8 zi*z0?3R(Y!xBP9u4NtUVV9BaA)YwEQwXo6)IuKgRCaVN1rwdn#0l}VJd0(F z69)4_Y_J^|j3+Rdcn)BM2Ae|;0HaMGwxp=B1H>a9{V(wSA?W}~h;7ecowt$(ODW+> z_|HYsZ86#qEeke4b4DK&s&GRPY+DUCM9ns2j$4BN5c$8r)7u=U{~cc8@vpl7%AOel z3;~7!Lx3T`5MT&AZv?_0=rR9}bo4->V;wy)70fHn8FOhg9h_egg5QTy@cYoC0$4nr z3dqqf!H5c|ybP_PKEQEl7(hA0FaYp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zBR5z07C`OchyGz_uSbyQ`>b~l_TG61HzSN+9XtM&YD7KJr*MTQ#FG*JZy5hOf^agWs1x}o#_>@PV<_qo zv5(F#>XC+XV$?$&m-I|YUPR7AYd7vB=VZfmJwHzuR$@bl&?X+$bI^2&@&x*KbHlPPQ1nUr}8Or`+vE> z?SF3nQx^ia|GE9o?f;Oib&>mIxc$%Ve<|1_!|nfzv64T!wMO=TVt=Pi=-B?Zj0=wc zdm%G6a0iCYw2=QV$uU1yi`cKh9zMfM@pCOr(^DQuk5OACNwv;w@()!I?Ek;T_y2#0 z^9WqPCV9U9fBLi%&%*xy+`EF2;T#^$;fZ-qoWsL8JivJ4KD_^r4{!bpS?Syo4L6KE}A#AF_! z-oRuFBK1xt8Ku=A{oX0~J>%XrFXdHDI6o=(nk1f&dkv=1;`=;@2hZU#l&j?E1Ps!6 z1_qwPJH|@ZdQ-qTC-m{(snh0MEKP#**UpQ%Z{- z&J=yR_*h5 zOA7P<2buqQ{{N%$ z|EuCL`Ttds=l?%h{(nn?{Qt5b%>Lohdl}(Ml9}R|`84rNMekIR&#~t`#~#lH`>=DY z5=Z4x9ILeVCtSDA$gm3Be=ymPxrAWhiWf0uBH>DT#vN8Mo~d>DSaw~A=gGb00f5ut z2?B)<^^}KAq)&{9R^#xA5vL)r-Ap|(;_j287W_Mo07rl$z!BgGa0JeRKxF?X_IIp0 zf$bdI|EdS}zjuN5zZ}~Cc*y>zaYC^FA$G{(|8{8qD?t_jO^ow@CiXv;Y&lW?RCq8T zwf{ZsJner$%=}R}!7dkgUf`?a&lFV1cmdvy9KA2IkbVYkGVE*R>82Y8AUr_Z?OU}!s8_@v46 zpt`_<952qwWU5Q@tjQ0H=O7*cVjLcm{{cqfGv)vQ diff --git a/jumbledsentences/src/Demo.java b/jumbledsentences/src/Demo.java index ec734e0..ee53df8 100644 --- a/jumbledsentences/src/Demo.java +++ b/jumbledsentences/src/Demo.java @@ -8,9 +8,13 @@ public class Demo { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("Привет! Это демоверсия системы тестов, где нужно расставить слова " + - "в предложении в правильном порядке. В случае успешного прохождения теста, разрешается перейти " + + "в предложении в правильном порядке.\nВ случае успешного прохождения теста, разрешается перейти " + "к следующей теме."); + System.out.println("Введите номер пользователя:"); + int ourID = in.nextInt(); //идентификатор пользователя, проходящего тест + in.nextLine(); //очищаем мусор после ввода + while (true){ System.out.println(""" Команды: @@ -18,7 +22,6 @@ public static void main(String[] args) { /putNewTest - предполагается наличие права доступа /exit - выйти"""); - int ourID = 5; //идентификатор пользователя, проходящего тест switch (in.nextLine()) { case "/test" -> TestAPI.startTest(ourID); case "/putNewTest" -> {