Got up at 11am May the 23rd. Got hearded like cattle (moo) and interviewed by camera around 2pm. Was asked what I would do in four different scenarios. Back at the apartment, some time passed in a fog while I watched
Into the Woods and played
GTA3 VC. The brute force password search that I'd been running on that computer for months and months
(
Read more... )
Comments 3
But better than chance, anyway!
Reply
Reply
as for #10 (I emailed you the output file so you can see what the answer is.) :D
<%@ page import="java.net.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.math.*" %>
<%@ taglib uri="/WEB-INF/projector.tld" prefix="projector" %>
<%
%>
Chess board
<%
int counter = 0;
int colorCnt = 0;
BigDecimal total = new BigDecimal(0);
BigDecimal temp = new BigDecimal(0);
String color = "white";
for(int i=1;i<9;i++){
colorCnt++;
out.print("");
for(int j=0;j<8;j++){
temp = new BigDecimal(Math.pow(2, counter));
total = total.add(temp);
if (colorCnt%2 ==0) {
color = "#ffffff";
colorCnt++;
} else {
color = "#cccccc";
colorCnt++;
}
out.print("Square - " + (counter++) + "
This Square $" + temp + "
Total So far $" + total + "");
}
out.print("");
}
%>
Reply
Leave a comment