ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
?
?
?
?
?
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
?



?

?
?

?

?
Engineer event in Kyoto 10-04-17
?
Engineer event in Kyoto 10-04-17
?



?
#!/usr/bin/ruby
#!/usr/bin/ruby
                                h = Hash.new
                                ARGF.each do |line|
ARGF.each do |line|                     line.chomp!
  line.chomp!                           array = line.split(/,/)
  logs = line.split(/,/)                uid = array[0]
                                        c = array[1]
  unless logs.empty?
    printf("%s,1n", logs[0])           count = 1
                                        if h.key? uid
  end                                           count = h[uid].to_i + 1
end                                     end
                                        h.store uid, count
                                end
                                printf("#{h.length}")
?
?



?
?
?
#!/usr/bin/ruby
#!/usr/bin/ruby
                                h = Hash.new
                                ARGF.each do |line|
ARGF.each do |line|                     line.chomp!
  line.chomp!                           array = line.split(/,/)
  logs = line.split(/,/)                uid = array[0]
                                        c = array[1]
  unless logs.empty?
    printf("%s,1n", logs[0])           count = 1
                                        if h.key? uid
  end                                           count = h[uid].to_i + 1
end                                     end
                                        h.store uid, count
                                end
                                printf("#{h.length}")
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
?
?
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17
Engineer event in Kyoto 10-04-17

More Related Content

Engineer event in Kyoto 10-04-17

  • 27. ?
  • 34. ? ? ?
  • 35. ? ? ?
  • 37. ?
  • 39. ? ?
  • 40. #!/usr/bin/ruby #!/usr/bin/ruby h = Hash.new ARGF.each do |line| ARGF.each do |line| line.chomp! line.chomp! array = line.split(/,/) logs = line.split(/,/) uid = array[0] c = array[1] unless logs.empty? printf("%s,1n", logs[0]) count = 1 if h.key? uid end count = h[uid].to_i + 1 end end h.store uid, count end printf("#{h.length}")
  • 42. #!/usr/bin/ruby #!/usr/bin/ruby h = Hash.new ARGF.each do |line| ARGF.each do |line| line.chomp! line.chomp! array = line.split(/,/) logs = line.split(/,/) uid = array[0] c = array[1] unless logs.empty? printf("%s,1n", logs[0]) count = 1 if h.key? uid end count = h[uid].to_i + 1 end end h.store uid, count end printf("#{h.length}")
  • 56. ?
  • 57. ?