Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. readLine = ->
  2.   input_stdin_array[input_currentline++]
  3.  
  4. #///////////// ignore above this line ////////////////////
  5.  
  6. solveMeFirst = (a, b) ->
  7.   # Hint: Type return a+b below  
  8.   return
  9.  
  10. main = ->
  11.   # write your code here.
  12.   # call `readLine()` to read a line.
  13.   # use console.log() to write to stdout
  14.   a = parseInt(readLine())
  15.   b = parseInt(readLine())
  16.   res = solveMeFirst(a, b)
  17.   console.log res
  18.   return
  19.  
  20. process.stdin.resume()
  21. process.stdin.setEncoding 'ascii'
  22. input_stdin = ''
  23. input_stdin_array = ''
  24. input_currentline = 0
  25. process.stdin.on 'data', (data) ->
  26.   input_stdin += data
  27.   return
  28. process.stdin.on 'end', ->
  29.   input_stdin_array = input_stdin.split('\n')
  30.   main()
  31.   return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement