You are not logged in. Please login at www.codechef.com to post your questions!

×

perl query

Can take this file format and start perl script Inputs to perl script

  1. 2 files with same format will be arguments to script
  2. Threshold value option such as “-th 5k/M”. This option would mean that 5kb or 5mb of the memory is allowed to be used as threshold.

Output from perl script: Diff the files and just print PASS/FAIL depending on the threshold specified.

Table used in this format:

MemUsed(KB) MemAloc(KB) MemFree(KB) StreamName

   17489          17489               0    - (anything)
      11             11               0    - 
       5              5               0    -

   17505          17505               0     Totals

i am new to perl ... totally a newbie ..

asked 31 Jul '13, 11:39

gb92's gravatar image

0★gb92
123
accept rate: 0%

edited 31 Jul '13, 12:20

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,388
×180
×7
×7

question asked: 31 Jul '13, 11:39

question was seen: 709 times

last updated: 31 Jul '13, 12:20