From 1335c48990646e05a660f959527f1d07a23918f9 Mon Sep 17 00:00:00 2001 From: RMSAJ <92260209+RMSAJ@users.noreply.github.com> Date: Tue, 19 Oct 2021 14:47:32 +0300 Subject: [PATCH 1/5] Test --- main.kt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 main.kt diff --git a/main.kt b/main.kt new file mode 100644 index 0000000..7e20e03 --- /dev/null +++ b/main.kt @@ -0,0 +1,3 @@ +fun main() { + println"sss" +} \ No newline at end of file From dbc95bd7bc5dae9a5e73caf3ee7466435997ee1b Mon Sep 17 00:00:00 2001 From: RMSAJ <92260209+RMSAJ@users.noreply.github.com> Date: Tue, 19 Oct 2021 15:20:42 +0300 Subject: [PATCH 2/5] Test( Rakan --- .idea/gradle.xml | 4 + .idea/libraries/KotlinJavaRuntime.xml | 15 +++ .idea/modules.xml | 8 ++ .idea/uiDesigner.xml | 124 ++++++++++++++++++++++ .idea/vcs.xml | 6 ++ main.kt | 4 +- {src/main/kotlin => untitled/src}/Main.kt | 2 +- untitled/untitled.iml | 12 +++ 8 files changed, 171 insertions(+), 4 deletions(-) create mode 100644 .idea/libraries/KotlinJavaRuntime.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/uiDesigner.xml create mode 100644 .idea/vcs.xml rename {src/main/kotlin => untitled/src}/Main.kt (55%) create mode 100644 untitled/untitled.iml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index a7087b2..ff88977 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,10 +1,14 @@ + \ No newline at end of file From 98910934a6fb5b4bf5079ff4dd20f62245c38e71 Mon Sep 17 00:00:00 2001 From: RMSAJ <92260209+RMSAJ@users.noreply.github.com> Date: Tue, 19 Oct 2021 15:44:26 +0300 Subject: [PATCH 4/5] Test( Rakan --- .../dependencies-accessors.lock | Bin 0 -> 17 bytes .../7.1/dependencies-accessors/gc.properties | 0 .../7.1/executionHistory/executionHistory.bin | Bin 0 -> 19575 bytes .../7.1/executionHistory/executionHistory.lock | Bin 0 -> 17 bytes .gradle/7.1/fileChanges/last-build.bin | Bin 0 -> 1 bytes .gradle/7.1/fileHashes/fileHashes.bin | Bin 0 -> 18697 bytes .gradle/7.1/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes .gradle/7.1/gc.properties | 0 .../buildOutputCleanup/buildOutputCleanup.lock | Bin 0 -> 17 bytes .gradle/buildOutputCleanup/cache.properties | 2 ++ .gradle/buildOutputCleanup/outputFiles.bin | Bin 0 -> 18857 bytes .gradle/checksums/checksums.lock | Bin 0 -> 17 bytes .gradle/vcs-1/gc.properties | 0 .../untitled/META-INF/untitled.kotlin_module | Bin 0 -> 36 bytes out/production/untitled/MainKt.class | Bin 0 -> 869 bytes untitled1/untitled1.iml | 11 +++++++++++ 16 files changed, 13 insertions(+) create mode 100644 .gradle/7.1/dependencies-accessors/dependencies-accessors.lock create mode 100644 .gradle/7.1/dependencies-accessors/gc.properties create mode 100644 .gradle/7.1/executionHistory/executionHistory.bin create mode 100644 .gradle/7.1/executionHistory/executionHistory.lock create mode 100644 .gradle/7.1/fileChanges/last-build.bin create mode 100644 .gradle/7.1/fileHashes/fileHashes.bin create mode 100644 .gradle/7.1/fileHashes/fileHashes.lock create mode 100644 .gradle/7.1/gc.properties create mode 100644 .gradle/buildOutputCleanup/buildOutputCleanup.lock create mode 100644 .gradle/buildOutputCleanup/cache.properties create mode 100644 .gradle/buildOutputCleanup/outputFiles.bin create mode 100644 .gradle/checksums/checksums.lock create mode 100644 .gradle/vcs-1/gc.properties create mode 100644 out/production/untitled/META-INF/untitled.kotlin_module create mode 100644 out/production/untitled/MainKt.class create mode 100644 untitled1/untitled1.iml diff --git a/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock b/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock new file mode 100644 index 0000000000000000000000000000000000000000..f95d135bbf1cdefd7e0e3067de84d3dc741a8c91 GIT binary patch literal 17 TcmZSnn*Q}$ur0$w1}FdkJ?#X% literal 0 HcmV?d00001 diff --git a/.gradle/7.1/dependencies-accessors/gc.properties b/.gradle/7.1/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/7.1/executionHistory/executionHistory.bin b/.gradle/7.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000000000000000000000000000000000000..7ef92e86a527514d2b2b26b92859bc1fb22310e2 GIT binary patch literal 19575 zcmeI%QAiVU90%~bZG=eSf`Vn>lLe8x>D<%_J!rF3v_f54%#PdbKkw?cJO6icO;X;JxRp;i9jgezB)5~DEHab|D|Va z#_@vxSdtZ}D9J;lSN$-vIK( zW!=yxts|9VX+u_1eWS8&t6X6dalMBlT+NVtc}~3&J(JeM9xvO zi*aRRf+0%wug=b$Y>Yq7;raILxHz)9y0Y}jH-FG|>#{&k$qHfTcUjn5T>EAL#vRHoKZraW*`InJ z>h1Ix(<`5>`V+66t~(l4%~!;biC)NAVt+Sivk>FXw>$Db@>0b@?^Ij)BK`iRke6d! rxAnr?QHYw|Wm1N5=hj|c%2v$I^&OaNyI$&CT`V}QSGid8L*f4k=NiCD literal 0 HcmV?d00001 diff --git a/.gradle/7.1/executionHistory/executionHistory.lock b/.gradle/7.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000000000000000000000000000000000000..2ef6bb6317ef747bab2412910d7d899ceafa2c29 GIT binary patch literal 17 TcmZSXWl48jSGb{#0Ror-D%%5< literal 0 HcmV?d00001 diff --git a/.gradle/7.1/fileChanges/last-build.bin b/.gradle/7.1/fileChanges/last-build.bin new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 diff --git a/.gradle/7.1/fileHashes/fileHashes.bin b/.gradle/7.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000000000000000000000000000000000000..12384cb3f2bd96d3befb5970603140fb3a2518d4 GIT binary patch literal 18697 zcmeI%!7GG87{~FkE%x31#-x^KbKk)kAD*Fp+k1qlUAbES*YwzzwAbqzN-cL2h9s-eZ zD}JmJ_M}QYZ&xRrQJ?efME#eM!%%x}@l_`#R6-Q06NU2ablQKCoodO3l18n(&G)Tx JD$$m76JLeMc47bk literal 0 HcmV?d00001 diff --git a/.gradle/7.1/fileHashes/fileHashes.lock b/.gradle/7.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..3aa0621dd0f896bdf460b9da392358caabc586b1 GIT binary patch literal 17 UcmZR+7xwo~!NK!}3=qHu07H-kNB{r; literal 0 HcmV?d00001 diff --git a/.gradle/7.1/gc.properties b/.gradle/7.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000000000000000000000000000000000..0f01dcc51837d80b630d218e907a45a2a5fc2f8c GIT binary patch literal 17 TcmZRMS76p)dtTee00H6v9&!S` literal 0 HcmV?d00001 diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..e5b21a1 --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Tue Oct 19 15:09:47 AST 2021 +gradle.version=7.1 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000000000000000000000000000000000000..4508d3531195ea8b47e6c7bc4887185252221104 GIT binary patch literal 18857 zcmeI%Ur1A77=ZCJA#<+Qu!5CX5E7yN+3?1j7|M(-k&w~oN{A3fXy%3*1VaSDb|Z+; z#e|?h88~F=)u;qnU35?rZ;XY|1`2^nS%gB^8RvVGh+uS8@fvNnvrM zPt#n7jK#5dxc}*e*b~3`+4n&HKNz!j-k9IXzcsu6vh-F<^sTb`%hpH)36eXV(AcxYhtj@svh^o>V{AM3ZgE;au}`hm)F+j_~Xan<{z zm!=}m;?ZigzrR+x?PRVZndspw12Y8@aLx6Or%jT360xb(1IHud83*VC%!rAKd%cBQxM4z_DIzTuMcHIENk(B3dyMQ!M0fob zR%~H`5DQdw$wwjXG*KT?7ru|I3at|(j7lipPt5)>ifY6n z(q87lV^|y{CQ>@=kK#~iBU3G+u&ym(raGAmpJBf9Np=R4?gNpESW+Rw>e{6p#yi$7 zA?I5aQN&FjH*kw#`ZF<`rK4n+E@>k2P`Yx|!=uc|*hRpQONNGqj~P`G9@tJIl_IVc zF^Bmn%wmCI_DqPY1upI|xM#B>l575&P1l=6RB+cv8TW|f8a)|i8WVZ;q!C?V1Zl_P zQI775SyNzO0~>I{zbG43De7)BygWIc^G}X_UgBdnL*Xr-d%RLEog7zqmF*Nuyy6A< zfLHU?-04?`mkOuf9LF;3Fd6}GsEsm_?9yTE)7To2BKbE-SCWzqrRDxGZp-weXh(zu zjie)@rbv~|C*aBl%Mr`E9;r+betvb8yUPaOM#PN F^FPaa%?tnl literal 0 HcmV?d00001 diff --git a/untitled1/untitled1.iml b/untitled1/untitled1.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/untitled1/untitled1.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file From 50689d499bcb4cfd470e3ad151ea601ce44691ed Mon Sep 17 00:00:00 2001 From: RMSAJ <92260209+RMSAJ@users.noreply.github.com> Date: Wed, 20 Oct 2021 02:06:34 +0300 Subject: [PATCH 5/5] Week2/day3 Assignment & Bonus --- untitled/src/Week2/Maps-HW.kt | 16 +++++++++++++ untitled/src/Week2/Wed-bonus(nested-Loops).kt | 23 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 untitled/src/Week2/Maps-HW.kt create mode 100644 untitled/src/Week2/Wed-bonus(nested-Loops).kt diff --git a/untitled/src/Week2/Maps-HW.kt b/untitled/src/Week2/Maps-HW.kt new file mode 100644 index 0000000..f085182 --- /dev/null +++ b/untitled/src/Week2/Maps-HW.kt @@ -0,0 +1,16 @@ +fun main() { +// part | +val firstMap = mapOf(0 to 'a',1 to 'b',2 to 'c',3 to 'd' ).toMutableMap() // creating map with 4 elements +firstMap += 4 to 'e' // adding new element +firstMap[0]= 'g' // editing the first key +firstMap -= 4 // remove the key and its entry + + + + +// part || + val kosaList = listOf("rakan","mohammed","sultan") + kosaList.mapIndexed{index, item -> index.toString() to item } // puting numbered keys to the list and map it + val newMAp = kosaList.mapIndexed{index, item -> index.toString() to item }.toMap() + +} \ No newline at end of file diff --git a/untitled/src/Week2/Wed-bonus(nested-Loops).kt b/untitled/src/Week2/Wed-bonus(nested-Loops).kt new file mode 100644 index 0000000..990bdbc --- /dev/null +++ b/untitled/src/Week2/Wed-bonus(nested-Loops).kt @@ -0,0 +1,23 @@ +fun main() { + + + + for (row in 1..readLine()!!.toInt()) { + for (col in 1..row){ + print("1*$col ") + } + println(" ") + } + +} +fun testArray( ): Array>{ + val numberArray = Array(5) { + Array(5) { 0 } + } + for(row in 0..4){ + for (col in 0..row){ + numberArray[row][col]=1 + } + } + return numberArray + }