All submissions for this problem are available.
We all have played a game called FLAMES during our childhood. In this we take input as two names, elimintate the similar aplphabets in both the words and count the remaining number of alphabets and calculate the corresponding relationship according to FLAMES(Friend,Love,Affection,Marriage,Enemy or Sister)
Name of you and your partner
Count the number of remaining dissiimilar alphabets and according to flame find the corresponding relatoinship F-FRIEND L-LOVE A-AFFECTION M-MARRIAGE E-ENEMY S-SISTER
Input: RAHUL PREETI Output: E-ENEMY
|Time Limit:||1 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, CPP14, JAVA, PYTH, PYTH 3.6, CS2, PAS fpc, PAS gpc, RUBY, PHP, GO, NODEJS, HASK, SCALA, D, PERL, FORT, WSPC, ADA, CAML, ICK, BF, ASM, CLPS, PRLG, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, JS, ERL, TCL, PERL6, TEXT, PYP3, CLOJ, FS|
Fetching successful submissions
If you are still having problems, see a sample solution here.