Compute
When
| 10 | |
| 7747 7747 | |
| 10247 10247 | |
| 12747 12747 | |
| 15247 15247 |
| public class LocalClassSample { | |
| public static void main(String[] args) { | |
| class Utils { | |
| public void printHello(String name) { | |
| System.out.println("Hello " + name); | |
| } | |
| } | |
| Utils util = new Utils(); |
Compute
When
| The following files were submitted: | |
| ---------------------------------- | |
| total 24K | |
| -rw-r--r-- 1 5.5K Mar 19 20:03 Brute.java | |
| -rw-r--r-- 1 5.7K Mar 19 20:03 Fast.java | |
| -rw-r--r-- 1 2.7K Mar 19 20:03 Point.java | |
| -rw-r--r-- 1 4.0K Mar 19 20:03 studentSubmission.zip | |
| ****************************************************************************** |
| RawSmtp Information: 0 : ---Session Started @ 11:59:52 AM | |
| RawSmtp Information: 0 : << 220 BLREQX343539D Service ready | |
| RawSmtp Information: 0 : >> EHLO BLREQX343539D | |
| RawSmtp Information: 0 : << 500 Syntax error, command unrecognized | |
| RawSmtp Information: 0 : >> HELO BLREQX343539D | |
| RawSmtp Information: 0 : << 250 127.0.0.1 | |
| RawSmtp Information: 0 : >> MAIL FROM:<[email protected]> | |
| RawSmtp Information: 0 : << 250 OK | |
| RawSmtp Information: 0 : >> RCPT TO:<[email protected]> | |
| RawSmtp Information: 0 : << 250 OK |
| bool listen = true; | |
| TcpListener listener = GetListener(); | |
| listener.Start(); | |
| while(listen) | |
| { | |
| if(!listener.Pending()) | |
| { | |
| Thread.Sleep(500); //why?! and why only 500 | |
| continue; |
| import java.util.ArrayList; | |
| import java.util.Comparator; | |
| public class KdTree { | |
| private final static boolean HORIZONTAL = true; | |
| private final static boolean VERTICAL = false; | |
| private Node root; | |
| private int size; |
| public class SMTPServer | |
| { | |
| TcpListener listener; | |
| bool CancelRequested = false; | |
| . | |
| . | |
| . | |
| public void Start() | |
| { |
| public void POCSaveEmailNormalWith64BitEncoding() | |
| { | |
| string file = @"D:\data\sample.eml"; | |
| string EmailBodyMessage = "Hello world. THis is am email with text file attached inline"; | |
| string textFileMessage = "this is message in a text file...hello world. This is a sample attachment."; | |
| SaveEmailWithTextFileAttachment( | |
| file, | |
| textFileMessage, | |
| EmailBodyMessage, | |
| TransferEncoding.Base64); |
| void SomeMethod() { | |
| tcpSource = new TcpListener(); | |
| // | |
| //... | |
| // | |
| using(tcpSource) { |