This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cout.precision(2); | |
cout<<fixed; | |
cout<<ans/100<<"$"<<endl;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
n,m=map(int,raw_input().rstrip().split(' ')) | |
a=map(int,raw_input().rstrip().split(' ')) # a[i] -> song number i+1 | |
# make the array b where b[j] -> number of songs grp j is performing | |
b=[] | |
for i in xrange(m+1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WELCOME = 0; | |
const FIRST = 1; | |
const FINISH = 2; | |
let currentState = WELCOME; | |
let details = {}; | |
if(currentState == WELCOME){ | |
Bot.send("Hey, there! What's your name?"); | |
} |