This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Log opened Fri Aug 17 01:22:02 2012 | |
01:22 -!- chph_ [[email protected]] has joined #coscup | |
01:22 -!- Irssi: #coscup: Total of 44 nicks [0 ops, 0 halfops, 0 voices, 44 normal] | |
01:22 -!- Irssi: Join to #coscup was synced in 2 secs | |
01:22 -!- You're now known as chph | |
01:24 -!- test [3b7fcc66@gateway/web/freenode/ip.59.127.204.102] has quit [Quit: Page closed] | |
01:27 -!- Yuhsien [[email protected]] has quit [Quit: Lost terminal] | |
01:29 -!- FourDollars [[email protected]] has quit [Quit: leaving] | |
01:29 -!- webbertsai_ [722fde03@gateway/web/freenode/ip.114.47.222.3] has joined #coscup | |
01:31 -!- webbertsai [722fde03@gateway/web/freenode/ip.114.47.222.3] has quit [Ping timeout: 245 seconds] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class DynamicInputTest { | |
public static void main(String[] argv) { | |
Scanner sc = new Scanner(System.in); | |
int n = sc.nextInt(); | |
int[] numbers = new int[n]; // numbers is n size' s array | |
// Input & summation | |
int sum = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux carglecloud0 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux | |
Ubuntu 10.04.1 LTS | |
Welcome to the Ubuntu Server! | |
* Documentation: http://www.ubuntu.com/server/doc | |
System information as of Sun Apr 3 15:39:25 CST 2011 | |
System load: 0.0 Swap usage: 0% Users logged in: 0 | |
Usage of /: 0.3% of 905.57GB Temperature: 30 C |
NewerOlder