Hello, A Cross-Site Scripting (XSS) vulnerability was reported on your website: https://www.xssposed.org/incidents/78581/ Current vulnerability status is “unpatched”. It is recommended to fix the vulnerability rapidly to prevent its malicious …
This puzzle from Timus Online Judge is interesting and kinda practical in reality. This problem can be used to study the traffic jams. Put it simpler in other words. …
Count how many squares are there in the following figure. Easy validation by Python using Bruteforce, checking every possible pair of points (lower-left, and upper right) #!/usr/bin/env python # …
October 14, 2012
algorithms, beginner, bit hacks, brute force, implementation, interview questions, math, programming languages, python, tricks
Q: n is a none-negative numbers, in order to let divides perfectly 7, characterise n. A: in binary representation is n ones. And 7 in binary is 111. The …