Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ACMÖÐʹÓÃJAVAµÄ½éÉÜ


Chapter I.
JavaµÄÓÅȱµã¸÷ÖÖÊéÉ϶¼ÓУ¬ÕâÀïֻ˵˵ÓÃJava×öACM-ICPCµÄÌص㣺
(1) ×îÃ÷ÏԵĺô¦ÊÇ£¬Ñ§»áJava£¬¿ÉÒԲμÓJava Challenge  
(2) ¶ÔÓÚÊìϤC/C++µÄ³ÌÐòÔ±À´Ëµ£¬Java ²¢²»ÄÑѧ£¬ÕÒ±¾Ê飬һÁ½ÖÜÒµÓàʱ¼ä¾Í¿ÉÒԸ㶨ÁË¡£µ±È»£¬ÕâÀïÖ»ÊÇÖ¸Ò»°ã±à³Ì£¬ÏëÊìϤËùÓеÄJava¿â»¹ÊÇÐèҪЩʱ¼äµÄ¡£ÊÂʵÉÏ£¬Java Ö»Ï൱ÓÚC++µÄÒ»¸ö¸Ä½ø°æ£¬ËùÓеÄÓï·¨¶¼¼¸ºõÊÇC++µÄ£¬ºÜÉÙÓб䶯¡£
(3) ÔÚÒ»°ã±ÈÈüÖУ¬Java³ÌÐò»áÓжîÍâµÄʱ¼äºÍ¿Õ¼ä£¬¶øʵ¼ÊÉϾ­¹ýʵÑ飬ÔÚÖ´ÐмÆËãÃܼ¯ÈÎÎñµÄʱºòJava²¢²»±ÈC/C++Âý¶àÉÙ£¬Ö»ÊÇIO²Ù×÷½ÏÂý¶øÒÑ¡£
(4) Java ¼òµ¥¶ø¹¦ÄÜÇ¿´ó£¬ÓÐЩ¶«Î÷ÓÃJavaʵÏÖÆðÀ´¸üΪ·½±ã£¬±ÈÈç¸ß¾«¶È¡£
(5) ÓÃJava²»Ò×·¸Ï¸Î¢µÄ´íÎ󣬱ÈÈçC/C++ÖеÄÖ¸Õ룬 “if (n = m) ... ” µÈ
(6) Ä¿Ç°À´¿´EclipseÒѳɻù±¾ÅäÖã¬Ð´Java³ÌÐò·´¶ø±ÈC/C++¸ü·½±ãµ÷ÊÔ¡£ÔÚ¾ßÌ徺ÈüʱҲËã¶àÒ»ÖÖÑ¡Ôñ¡£
(7) ѧ»áJava¶ÔÒÔºó¹¤×÷Óкô¦¡£ÏÖÔÚ¹úÍâºÜ¶àµØ·½»áJavaµÄÈ˱ȻáC/C++µÄÈ˶ࡣ
(  »áJava¿ÉÒÔʹÄã¿´ÆðÀ´¸üÏñżÌãÀදÎţ£©    hoho~
Chapter II.
ÏÂÃæ˵һÏÂACM-ICPC¶ÓÔ±³õÓÃJava±à³ÌËùÓöµ½µÄһЩÎÊÌ⣺
1. »ù±¾ÊäÈëÊä³ö£º
(1) JDK 1.5.0 ÐÂÔöµÄScannerÀàΪÊäÈëÌṩÁËÁ¼ºÃµÄ»ù´¡£¬¼òÖ±¾ÍÊÇΪACM-ICPC¶øÉèµÄ¡£
Ò»°ãÓ÷¨Îª£º
import java.io.*
import java.util.*
public class Main
{
     public static void main(String args[])
     {
         Scanner cin = new Scanner(new BufferedInputStream(System.in));
         ...
     }
}
µ±È»Ò²¿ÉÒÔÖ±½Ó Scanner cin = new Scanner(System.in);
Ö»ÊǼÓBuffer¿ÉÄÜ»á¿ìһЩ
(2)
¶ÁÒ»¸öÕûÊý£º   int n = cin.nextInt();         Ï൱ÓÚ   scanf("%d", &n);   »ò cin >> n;
¶ÁÒ»¸ö×Ö·û´®£ºString s = cin.next();         Ï൱ÓÚ   scanf("%s", s);    »ò cin >> s;
¶ÁÒ»¸ö¸¡µãÊý£ºdouble t = cin.nextDouble();   Ï൱ÓÚ   scanf("%lf", &t); »ò cin >> t;
¶ÁÒ»ÕûÐУº     Strin


Ïà¹ØÎĵµ£º

java¿ª·¢»·¾³´î½¨ д¸øjavaÐÂÊÖ

Ò»¡¢windowsÏ¿ª·¢»·¾³µÄ´î½¨
1¡¢´Óhttp://java.sun.com/ÉÏÏÂÔØwindowsƽ̨µÄJDK,²¢°²×°¡£¼ÙÉ谲װĿ¼Ϊ£ºC:\jdk6.0
2¡¢É趨Ïà¹Ø»·¾³Á¿£¨ÒÔwindowsXP)Àý£º
       1¡¢ÓÒ»÷×ÀÃæÉÏ“ÎҵĵçÄÔ”£¬Ñ¡ÔñÊôÐÔ
       2¡¢ÔÙÑ¡Ôñ“¸ß¼¶”»îÒ ......

´«ÖDz¥¿ÍjavaÅàѵ Java¿ª·¢Ç°×à

µÚÒ»´ÎдÕâÑùµÄ²©¿Í£¬¸Ð¾õ×Ô¼º×öµÄÓеãÏñ±Ê¼Ç£¬²»¹ý±¾À´¾ÍÊDZʼǣ¬ÎÒ×ö±Ê¼ÇÒ»°ã¶¼Êǰѱ¾À´²»ÖªµÀµÄ£¬¸Ð¾õÓÐÓõÄдÏÂÀ´£¬¶øÇÒÎÒÒ²Ò»°ãÓÃÓëÀÏʦ½Ó½üµÄÓï¾äдÏÂÀ´£¬±ÜÃâ×Ô¼ºµÄÎó½âµ¼Ö´íÎó¡£
Õâ´ÎÎÒ¿´ÁË¡¶´«ÖDz¥¿Í_ÕÅТÏé_Java»ù´¡1_Java¿ª·¢Ç°×à¡·Õâ¸ö¿Î³Ì¡£
1.ÀÏʦ˵JAVAµÄµÚÒ»¸öÌصãÊǔһ´Î±àÒ룬µ½´¦ÔËÐГ£¬ ......

Java¡±·½·¨¡°Ñ§Ï°Ð¡½á

 ·½·¨¾ÍÊÇÒ»¶Î¿ÉÖظ´µ÷ÓõĴúÂë¶Ë
·½·¨µÄ¶¨ÒåÔÚJavaÖÐÓжàÖÖÐÎʽ£¬
ÏÖÔÚµÄÎÒËù˵µÄ·½·¨¾ÍÊÇÖ¸¿ÉÒÔÓÃmain·½·¨Ö±½ÓÈ¥µ÷Óõķ½·¨¡£
public class JavaDemo06
{
public static void main(String args[])
{
printTab() ;
}
// ¶¨ÒåÒ»¸ö·½·¨£¬´Ë·½·¨ÓÃÓÚ´òÓ¡Hello World
// public static±ØÐë¼ÓÉÏ£¬ÒòΪÊÇÓ ......

´«ÖDz¥¿ÍjavaÅàѵ¡ï¡ï¡ï¡ï¡ïѧϰÉú»îƪ ѧϰ¸ÐÊÜ

      À´±±¾©ÒѾ­Êǽü20ÌìÁË£¬Æð³õ¸Õµ½¶ÔÎҵĴò»÷ȷʵ²»Ð¡£¬ºÜÏë»Ø¼Ò µÄ¸Ð¾õ£¬µ«ÊÇÀ´µ½ÁË´«ÖÇ£¬À´µ½ÁËÕâÀÐÄÀï¸Ð¾õºÃ¶àÁË£¬ÈËÉúµØ²»Ê죬È˵ÄÐÄÀïÒ»°ã¶¼ÊǺܹ¶ÀµÄ£¬ÏëÔÚÐÄÀïÕÒ¸öÒÀ¿¿£¬ÕÒ¸öÅóÓÑÄÜÒ»Æð³öÈ¥Í棬ÁÄÌ죬ѧϰ¡£À´µ½Á˱±¾©£¬ÊÇÒ»¸öȫеÄÉú»î·½Ê½£¬Ê²Ã´¶¼Òª¿¿×Ô¼ºÁË£¬³öÃÅÕæµÄºÜÄÑ£¬ÓÈ ......

±±¾© ÁõÓñÇ¿ Èí¼þ¹¤³Ìʦ ¼òÀú java php

±±¾© ÁõÓñÇ¿ Èí¼þ¹¤³Ìʦ ¼òÀú java php
ÇóÖ°¼òÀú
·  »ù±¾ÐÅÏ¢
ÐÕ    Ãû:
ÁõÓñÇ¿
³öÉúÈÕÆÚ:
1988Äê10ÔÂ23ÈÕ
 
ÐÔ    ±ð:
ÄÐ
Ãñ    ×å:
ºº×å
ר    Òµ£º
Èí¼þ¼¼Êõ
½¡¿µ×´¿ö:
½¡¿µ
E - Mail:
mengxiangbaidu@qq.com
ÁªÏµµç»° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ