• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            The Way of C++

              C++博客 :: 首頁 :: 聯系 :: 聚合  :: 管理
              55 Posts :: 0 Stories :: 19 Comments :: 0 Trackbacks

            公告

            The first time i use this blog, i will write something that i learn which i think is worth write down.

            常用鏈接

            留言簿(3)

            我參與的團隊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

               In the process of taking part in the TopCoder Competition, using the plugin of editor can advance the speed that we solve the problem since time is so important in the competition.
               For simple, i only present the steps to use it.
               #1: download the plugin of CodeProcessor ,FileEdit,TZTester in the link http://www.topcoder.com/tc?module=Static&d1=applet&d2=plugins to the directory, at will as you want .
               #2: to use the plugin, you need to allow the contestapplet to creat and set a security manager. Find the policy file ( just as : D:\Program Files\Java\jre1.6.0\lib\security\java.policy ), open it by some text editor and add the following sentence:
               grant codeBase "http://www.topcoder.com/-" {

                 permission java.lang.RuntimePermission "setSecurityManager";

                 permission java.lang.RuntimePermission "createSecurityManager";

               };
               After making that,you should either reboot your pc or at least reboot the brower to make the taking affict.
              #3:Start the Competition Arena and press the Eidtor button in the Options. The a box will pop. Press the Add button. For the name ,type as "CodePrecessor" and anyone you like to . For the entry point ,type "codeprocessor.EntryPoint"(here case is important,so make sure about it) . For the classpath, press the browse button and navigate to where you put the CodeProcessor.jar and add it to the column. Repeat this to add the FileEdit.jar ,TZTester.jar. And add a ";" between the two classpaths. Remember this. After that ,press OK, and a CodeProcessor plugin will apear if you didn't have made any mistake.
              #4:Select the CodeProcessor plugin ,and press the Configure button. For the Editor EntryPoint ,type fileedit.EntryPoint. The press the Configure button. In the General , you can set the directory to place the source code and the problem discription . You can choose the formate to get the problem in the local hardware. Then see the CodeTemplate. Here you can modify the template as you want for different languages. For example, for the c++,i use the following template:
                $BEGINCUT$
            $PROBLEMDESC$
            $ENDCUT$
            #line $NEXTLINENUMBER$ "$FILENAME$"
            #include <vector>
            #include <list>
            #include <map>
            #include <set>
            #include <deque>
            #include <stack>
            #include <bitset>
            #include <algorithm>
            #include <functional>
            #include <numeric>
            #include <utility>
            #include <sstream>
            #include <iostream>
            #include <iomanip>
            #include <cstdio>
            #include <cmath>
            #include <cstdlib>
            #include <ctime>
            #include <cstring>
            using namespace std;
            class $CLASSNAME$
                    {
                    public:
                    $RC$ $METHODNAME$($METHODPARMS$)
                        {
                        //$CARETPOSITION$
                        }
                    $TESTCODE$
                    };

                // BEGIN CUT HERE
                int main()
                    {
                    $CLASSNAME$ ___test;
                    ___test.run_test(-1);
                    system("pause");
                    }
                // END CUT HERE 
                When we finish the above settings ,let's come back to the CodePrecessor  Configure. For the Processor Class ,type tangentz.TZTester. Whether it will work can be checked by press the Verify button. Then press the Save button to save what you have setted.
                #5: Now you can enter anyone of the room and open the problem. When the problem is opened successful, the problem file will be saved in the local hardware ,also , one cpp file with the template you have created will be created too. All these are in the directory you have setted in the setp #4.  As default, they are put in the desktop.  Then you can open the cpp file and code in the local IDE and compile and testing in the local machine.  When you want to subbmit the solution , go to the problem page in topcoder, and press the Compile button . The you can press the Subbmit button if you didn't get some compile error in the compile phaze.

               If you are interested for the details of the using about them , you can come to the topcoder web and the document about every plugin will be found. Or visiting the forum when you meet some problems .

               
               

            posted on 2007-12-22 13:03 koson 閱讀(2096) 評論(0)  編輯 收藏 引用 所屬分類: TopCoder
            www.久久热.com| 亚洲伊人久久综合影院| 91久久精品视频| 久久嫩草影院免费看夜色| 国产aⅴ激情无码久久| 国产成人综合久久精品尤物| 久久久久精品国产亚洲AV无码| 欧美精品久久久久久久自慰| 久久久久亚洲av毛片大| 久久91综合国产91久久精品| 亚洲色婷婷综合久久| 91亚洲国产成人久久精品| 久久国产高清字幕中文| 久久精品国产亚洲AV香蕉| 精品无码人妻久久久久久| 婷婷久久香蕉五月综合加勒比| 一级做a爰片久久毛片看看| 无码乱码观看精品久久| 一本一道久久a久久精品综合| 伊人丁香狠狠色综合久久| 天天躁日日躁狠狠久久| 久久综合九色欧美综合狠狠| 亚洲va久久久噜噜噜久久天堂| 久久久久亚洲AV成人网人人网站| 精品久久久久香蕉网| 亚洲中文字幕无码一久久区| 伊人 久久 精品| 亚洲精品无码专区久久同性男| 狠狠人妻久久久久久综合| 99久久国产热无码精品免费久久久久| 久久一日本道色综合久久| 97精品依人久久久大香线蕉97| 狠狠色丁香婷婷久久综合五月| 人人狠狠综合久久亚洲高清| 人妻丰满?V无码久久不卡| 合区精品久久久中文字幕一区| 久久久久国产亚洲AV麻豆| 久久久久一级精品亚洲国产成人综合AV区| 91精品国产色综久久| 国产亚州精品女人久久久久久 | 日日躁夜夜躁狠狠久久AV|