Notes
Notes - notes.io |
bytes to kb
Your solutions for the regular and memory-efficient algorithms be in two different programs and both the programs need to produce an output called output.txt and take input.txt file from command line
Memory in the program should be in Kilobytes and Time taken by the program should be in seconds
First line in the output file contains the first 50 characters and last 50 characters of the first string. The first 50 and last 50 characters are separated by a space. The secone line contains the same, but for the second string.
Memory and time values in the output txt file are float values.
The memory plot and the time plot need to have just 2 line plots, one from the basic version and the other from the advanced version. You can estimate datapoints by generating multiple test cases by yourself. You need to generate valid pngs when you submit.
Please don’t use any fancy plots for the graphs for time and memory. Just a line graph of about 15-20 data points should be sufficient.
:51 to :50
Your program should not print anything when it is run. It should only write to output.txt file.
X axis of the plot needs to be the problem size, which is m+n, i.e the sum of the lengths of the strings (not the length of the base strings but the length of the final strings).
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team