Boot Slax from your USB flash drive

Slax is a lightweight linux based distro with some important features. It’s possible to boot this from a USB flash drive. Just follow the steps bellow and enjoy your time with Slax 6.0.4.
1. Download the package for flash drive from here
2. Unzip the .tar file to the root directory of your Flash drive.
3. Navigate to the boot directory of your flash drive.
4. Double click on the file bootinst.bat and follow the instruction.
5. Reboot the system and enter the boot menu to boot from the flash drive.
6. Enter the live session and install to your HDD if you like.

Enjoy your time with slax.

My first post about ACM problem

Hi, Guys this is my first post about acm problems. As this is my first post I am going to publish one of my AC code. It’s a very easy problem. But the title seems to be horrible. You just calculate the difference between the input and print the output.

The solution of problem No. 10055

The code:

//10055.cpp

#include <iostream.h>
#include<stdio.h>

int main() {
double a,b;
while (cin>>a>>b) {
if (a>b) printf(“%.0f\n”,a-b);
else printf(“%.0f\n”,b-a);
}
return 0;
}

Just copy n paste it. You will get accepted.

Follow

Get every new post delivered to your Inbox.