Showing posts with label PSU. Show all posts
Showing posts with label PSU. Show all posts

Wednesday, February 27, 2019

IEEEXtreme Mysterious Maze

Mysterious Maze (Link)

or visit the Link

There is a valuable treasure that is hidden below a complex maze. The maze is made of rooms and are square in shape, and a maze of size N will have N × N rooms with all of them closed initially. When a room is open, one can enter into it from any of its adjacent open rooms; two rooms are adjacent if they share a common wall.
The maze was built in a way that it opens itself by opening its rooms randomly. A maze is said to be open if there is at least one path from any one of the rooms facing the top of the maze to any room on the bottom side facing the treasure. Anyone, who attempts to enter the maze without being able to reach the treasure and return, will be cruelly killed by the maze.
The local government has spent years researching the maze and figured out a way to determine the sequence of rooms being opened in almost real time. Based on this data, the government has posed the following challenge, with a small percentage of the treasure to whomever solves the problem:
Given the sequence of room openings, determine when the maze becomes open, or if it remains closed throughout.
Input Format
Input begins with a single integer N, which denotes the size of maze.
All of the next lines (except the last one) denotes the sequence of the rooms the maze is opening. Each line contains 2 integers X and Y which denotes the row and column of the room opened by the maze. The last line just includes -1 and marks the end of input.
Constraints
1 <= XY <= N <= 1000
Output Format
Output a single integer R based on the final status of the maze. R denotes the number of room openings that occur before the maze first becomes open, or -1 if the maze remains closed.
Sample Input
4
1 4
2 3
3 2
4 3
4 1
2 1
1 1
-1
Sample Output
-1
Explanation
It is easy to understand if you plot the maze. The following is the state of the maze at the end of the inputs. Xindicates that a room is closed and O that a room is open. Note that there is no path from the top of the maze to the bottom of the maze.
O X X O
O X O X
X O X X
O X O X
Consider the second input sample (which is available if you click on the Run Code button):
4
1 4
2 3
3 2
4 3
4 1
2 1
1 1
3 1
3 4
2 2
-1
Below is a figure with the maze after 7 rooms are open. Note that there is no path from the top of the maze to the bottom of the maze, and therefore the maze is closed.
O X X O
O X O X
X O X X
O X O X
However, after 8th room is open, there is a path, as shown below:
O X X O
O X O X
O O X X
O X O X
Thus, the expected output is: 8

-----------------------------------------------------------------------------------
Solution
Get the whole solution with Explanation ( Link)

Explanation





Tuesday, October 31, 2017

Using OstorLab for Mobile Application Analysis

Using OstorLab for Mobile Application Analysis



For using Ostorlab tools, You have do the following steps
1. Download the APK
2. Now go the main page of OStrolab
3. Enter the email, select the type of application (android or IOS) and then upload an APK
4. Click Scan,

The result will be sent to your email, but don't close the screen till it says "that sever is busy , we will email you the results"

Link for website is  https://www.ostorlab.co/scan/ssl/






Tuesday, February 7, 2017

Using NVISO Tool for Malware Detection

This video tutorial shows how to use NVISO tool for malware detection in mobile apps

Here important things are
Virus,
Hardcoded links,
Cryptographic activity ,
Information leakage


Saturday, February 21, 2015

VMWARE EXSI Server installation - P1


VMWARE EXSI Server installation


 

In order to create the VMWare EXSi server 5.5 server we need to do the following steps

Part 1: Collecting the Tools required


1.       Creating account at https://my.vmware.com.

2.       Downloading the following list of software’s from VMWARE Website

a.       VMware-tools-linux-9.4.10-2068191

b.      VMware-viclient-all-5.5.0-1993072.exe

c.       VMware-VMvisor-Installer-5.5.0.update02-2068190.x86_64.iso

d.      VMware-vCenter-Server-Appliance-5.5.0.20000-2063318_OVF10.ova

3.       Downloading supporting client tools

a.       Putty

b.      WinSCP

c.       RUFUS

4.       Supportive Hardware required

a.       USB stick Minimum 4GB

b.      A Server Machine

c.       A High Internet Speed LAN connection

Part 2:


5.       Run Rufus application and click No for updates

6.       Select the MBR partiions and find the VMWARE EXSI  ISO file
 
 
7.       After the USB the ready install VMWare EXSI at Server and set the network for this follow the following steps
a.       Creating RAID for your server.
b.      Enabling Virtualization from settings.
c.       Running the installer.
d.      Accepting the License
e.      Setting the password for server
 

f.       Restart the server and
g. Managing the IP configuration that making the static IP of server


We can access the server from any other system over the network, we may get the following error but we can pass through it