+ 11

😎😃Could you share the best of your code playground here 👇👇👇***numeric inverse number*** Challenge

let's make a code challenge :: post here the awesome code that you made on sololearn😆. the winner we will gives him/her a bunch of likes and comments and maked his/her answer as the best☺. oh. no no no my challenge is write a program that return the inverse number ex: 8-> it's inverse number is 1/8 8*(1/8) = 1 my question is: is there any numeric number could be the inverse of 8 ? answer is yes 8*(-4) + 11*1 = 1 -4%11 = 7 so 8*7%11 =1 numeric inverse of 8 is 11 for mor info check euclidien algorithm

9th Aug 2017, 1:29 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
22 Respostas
+ 9
Dunno if my best, but made today https://code.sololearn.com/WsFya4qn842x/?ref=app
9th Aug 2017, 1:37 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 9
@Gaurav he said 27 is cingruent to 1 mod 3
9th Aug 2017, 1:51 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 8
27%3!=1, 27%3=0
9th Aug 2017, 1:41 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 8
@Gaurave I edit my question I wish you understand. it's a good concept in cryptography
9th Aug 2017, 2:27 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 8
Web :: JP Romaji to Kana Converter ★ ★ https://code.sololearn.com/WRE86lP3IiCX/?ref=app ★ ★ # ツ Description 【日本語】Japanese letters Converter Convert you romaji characters to Japanese kana: both Hiragana and Katakana # ツ Example * Input: ka wa i (separated with whitespace) * Result: ka: か Hiragana カ Katakana wa: わ Hiragana ワ Katakana i: い Hiragana イ Katakana Hope u Like it ^^
12th Aug 2017, 9:04 PM
MizoPro
MizoPro - avatar
+ 7
@Said i can't understand how what u mean by 1*(1/3)=1 ???? and from where u bringed 27 might we have to use cube of a number , and 27%3=1 how ???? it will be 0 , might u hv done typing mistakes plzzz explain
9th Aug 2017, 1:40 PM
Changed
Changed - avatar
+ 6
hahaha its bit confusing 1) 27 % 3 !=1 // remainder left after dividing 27 by 3 is not equal to 1 2) 27 % 3! =3 //remainder left after dividing 27 by 3! is 3 i mean that if someone writes 27%3!= _ we cannot say whats it means confusion between factorial sign ! and not equal to sign !=
9th Aug 2017, 1:57 PM
Changed
Changed - avatar
+ 6
write a program ex: if you the user inter 8 result will be 11. so your program return the inverse numeric of of any numeric value (not all numeric values have an inverse the condition is ) ax + by =1 in the example above a=> 8 x=> -4 b=> 11 y => 1 note that -4%11 = 7 so if you want to check you result. you should have this formulat 8*7 % 11=1 I wish it's little bit clear right now.
9th Aug 2017, 2:42 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 6
Maybe because of the unclear description? ^^
9th Aug 2017, 4:04 PM
visph
visph - avatar
+ 6
yeah @Gaurav. the only solution is to implement Euclidean algorithm
9th Aug 2017, 7:31 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 5
27 %3! =3 ,27%3=0
9th Aug 2017, 1:49 PM
Changed
Changed - avatar
+ 5
okhhhh i understood
9th Aug 2017, 1:52 PM
Changed
Changed - avatar
+ 5
okh @ Said now its looking like a real challenge
9th Aug 2017, 2:29 PM
Changed
Changed - avatar
+ 5
last 5th and 6th line are right or not ..... plzz can u look once plzzzzz and if some typing error then correct it i think i'm dumb not able to understand ...
9th Aug 2017, 2:33 PM
Changed
Changed - avatar
+ 5
Let others try
9th Aug 2017, 2:44 PM
Changed
Changed - avatar
+ 5
I'm waiting @Gaurav but you can do it just try.
9th Aug 2017, 2:49 PM
Said BAHAOUARY
Said BAHAOUARY - avatar
+ 3
no one made it yet 😕
9th Aug 2017, 3:52 PM
Changed
Changed - avatar
+ 2
This is a secured login form (against SQLi) https://code.sololearn.com/wKVvG6p6RMky/#php
9th Aug 2017, 10:21 PM
Zamfira Costin-Andrei
Zamfira Costin-Andrei - avatar
+ 1
64(1/64)1-9(1/8)+-7(-6)-13=1
10th Aug 2017, 9:00 AM
Alexander Kozhevnikov
Alexander Kozhevnikov - avatar