2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ã§ã173è¨äºãããææãè¨äºã°ããã¨ã¯ããé å¼µã£ããªèªåãã¾ãæå¾ã«æåç¥æºåã§æ´æ°ãªãã¦ã§ããç¶æ ãããªããã¨ã¯æåããããã£ã¦ããã ãã©ãããã£ã¨ä½è£ãæã£ã¦æ´æ°ããã¹ãã ã£ããªããã¾ããæå¾ã¨ãããã¨ãªã®ã§ãã¾ãã¯ã200åæ´æ°ã®å¤¢ãæ½°â¦
ãªããã¯ã¦ãç»å ´ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ããç´°ããã¨ãããä½ãè¾¼ã¾ãã¦ããã飯ã¨ãããã©ãã¼ãã¨ãããªããããä»ææå¾ ä½ãããã§ããã¨æãã
ãã£ã¨ãã©ãããçªã£è¾¼ãã°ããã§ããããªããã話ãã¾ã¨ã¾ããªãã¢ãã¡ã§ããã
ããããã山岳é¨ï¼ããï¼ãªããçæ¿å¢ãã¦ããï¼ãªããéåé¨ã¿ããªãããé¨å®¤ãªãã ï¼é¨å®¤æ£ã«ãªã£ã¦ãã®ãï¼ã»ã»ã»ãã¿ã¾ããåãä¹±ãã¾ããããæ°åã¯å 妹ã·ãªã¼ãºãªãã§ãããä»é æ°ã¥ãã¾ãããã¤ãã«ãã¨ãªã£ã岡å´ãæ ¼å¥½è¯ããæ¥åã¯ã»ã»ã»ä¾¿åº§kããâ¦
ãããããã®ç·ã¯ä¹ã£åããã¦ããã®ããããã«ãã¦ãäºåãä½ä»²è¯ããã¡ãã£ã¦ãã®ï¼
ã¾ã å段éã§ãããã¾ãããããããã ãªãã
100articles,200articlesã®ãã¿ãå°½ãã¦ãã¦å¿ æ»ãªã®ã§ãTodaysJOIã§è¨äºæ°ç¨¼ãããã«Schemeåå¼·ä¸ãããåãããããããªã¨ãèãã¦ããã ãã©ãã
å°å·ã®ãã¨ãªãå°å·é販ãããªã³ãããã¯ãæåç¥ã§å¤§æã®å°å·æ¥è ã«æ¼åç¨ã®ãã³ãã¬ããã®å°å·ã注æãããã ãã©ããã©ãããå¤ãã¦é常ã«è¦å´ãããæåºã«ã¯Photoshopã使ã£ããï¼ã ããããã対å¿å½¢å¼ãPhotoshop,Illustrator,Word,Excel,PowerPointãâ¦
ç ãã¦ã³ã¼ãæ¸ããªãã以å¤ã«ç½ ãå¤ãæ°ããããç ãã ããã #include <climits> #include <cstdio> #include <algorithm> #include <vector> using namespace std; int n,m; vector<int> cups; int pcount_limit; int pcount; void move_cups(int depth,int dest) { if(pcount>pcount_limit) { pcou</int></vector></algorithm></cstdio></climits>â¦
ãã£ã¨çãã§ããæ°ããããã ããmapã¯å·¦è¾ºå¤ã¨ãã¦ä½¿ããªãã®ããªãã #!/usr/bin/perl %t=(N=>[0,1,5,4,0],E=>[0,3,5,2,0],W=>[0,2,5,3,0],S=>[0,4,5,1,0],R=>[1,2,4,3,1],L=>[1,3,4,2,1]); @c=1..6; $s=1; $n=<>; for(1..$n) { $_=substr<>,0,1; if(not â¦
ãã®æã®ãã¿ã³ã£ããç³»ã®ä½åã®ä½è ã£ã¦ä½ãªãã ããããä½ãªãã ããããä½ãªãã ããããã¾ããä¸å¦çã«ã¯æ³åããã§ããªãçµé¨ãç©ãã§ãããã ããã
100articlesæ¥æã¯èª°ãå¼ãç¶ããã ã>60th
ç¬æ®ºã§ã #include <cstdio> #include <algorithm> #include <vector> using namespace std; int main(int argc,char* argv[],char* envp[]) { int n; scanf("%d\n",&n); vector<char> table(256); for(int i=0;i<256;i++) {table[i]=i;} for(int i=0;i</char></vector></algorithm></cstdio>
ä»çç¶ã¨è©±é¡ã«ãªã£ã¦ãã¯ã©ã¦ããNHKã¹ãã·ã£ã«ã®é°è¬ã«ãããã¯ã©ã¦ãï¼ã·ã³ã¯ã©ã¤ã¢ã³ãã¿ããã«ãªã£ããããã§ããããããªãã¨ã¯ã©ãã§ãããã¦ãã¯ã©ã¦ããã¯ã©ããã«è¦ããã
åãåé¡ãPerlã§è§£ããã¨ãã左辺å¤ãä¸é æ¼ç®åã§åå²ããæ¹æ³ãèãããã©ãC++ãªã左辺å¤ç¨ã«åç §å(int&)ã使ãããããåãäºãã§ãããããï¼ã¨ãããã¨ã§æ¸ãç´ãã #include <cstdio> #include <algorithm> #include <vector> using namespace std; int main(int argc,char* ar</vector></algorithm></cstdio>â¦
åãã£ãæãæããã®ã§è§£çè¦ãªãã¨ãè¨ã£ããã©ãçµå±è¦ããã¾ããã¨ã¯æã£ããã©ããã£ã±ãåãç´ æ°ã§ãããµãªãããã®ãï¼ï¼ï¼ãã ããC++ã§çµã¿ç´ãã®ã¯ãã¯ãã¿ã«ãã®ã§ãå¤åé·ã®Pythonã§ã #!/usr/bin/python # -*- coding: utf-8 -*- from math impâ¦
ãã¯ããã«ãã®ãããã¼ã»ããã¯ææ¥ãããã©ã³ã©ã³ã«ã¼ã©ã¼ãã ããã ã
大é£ããã£ã©ããï¼ãã¨å¤§ä¸å¤«ãè¸è¡ã®ç¥ï¼ktkrè¨ã£ã¦ããããããï¼ç¸å¤ããããã³ã·ã§ã³ãå¹å¸ãã¦ãã¦è¬ãªã¢ãã¡ã ãªãã
大河ã®ãã³ãã¬ãã£ã©ã£ã¦ãäºéæ§ãããã£ã¦ãã»ã»ã»ããªããªãã ããã¤ã¯(ç«å è«)ããå ¨å¡ããã£ã©ãããããªãç«ã£ã¦ã¦ãããç¹ç°ãªè¨å®ã£ã¦ããã§ããªãã®ã«ãããã¾ãããéã«å ¨å¡é¢ç½ããã¦å¥½ããªãã£ã©ã©ã³ã¯ã¨ãä½ããªãã
ãªã¹ãã¨é åãéãã¨ããããããããæ±ããå¥æ¬¡å ã ã¨ãããã¨ã«æè¿æ°ã¥ãããPerlã®æ°åã¯æååæ±ãã¨ããã®ã¯æåã ãã©ããã£ã±ãå¤åé·ãªã®ããªãã
æåç¥ãè¿ãã®ã§æ´æ°ç¡çãªãã§ããããã¨æ¬¡100articlesãã60thã¯æ©ãåä¹ããããã¦ãã ãã
Perlãªã®ã§ã¯ã³ã©ã¤ãã¼ææ¦ãããã°ã©ã ã³ã¼ãæ¬ä½ã92æåãªã®ã§80æåããªã¼ãã¼ãã¦ãããããã左辺å¤tupleãªãã¨ããããä¸é æ¼ç®åã¾ã§å·¦è¾ºå¤ã«ä½¿ããã¨ãé ãããããä»åã¯ãããå½¹ã«ç«ã£ã¦è¯ãã³ã¼ãã«ãªã£ããããããçããªããã§ãããããåã«â¦
Rubyã¯Javaããé ãã£ããåã®å¥½ããªscanfããã£ãã®ã¯è¯ãã£ããéã«printfã®æ¸ãå¿å°ã¯Pythonã®ã»ããä¸ãPerlã«ããRubyã«ããããªãã§range operatorã¯å ¨éåºéãªã®ã¼ã¼ã¼ã¼ï¼ï¼ããããã ã常èï¼Pythonã®xrangeã¯åéåºéã ãã¼ã¼ï¼ #!/usr/bin/ruby râ¦
ä»å®æãããJavaé ããJITã¨ãHotSpotã¨ãã§æ¹åãã¦ãã£ã¦èãããã©ãæ®éã«é ãããªãã§ï¼ import java.io.*; import static java.lang.Integer.parseInt; public class t1 { public static void main(String[] args) throws IOException { BufferedReadâ¦
å ¥åå¦çã®çãã¯Cã®scanfã¨C++ã®cinãæå¼·ãæ®ésplitã¨ãparseIntããªãããããªããããããé¤ãã°Pythonã¯çãæ¸ããã»ãã ããªãã #!/usr/bin/python # -*- coding: utf-8 -*- n = int(raw_input()) sum_a = 0 sum_b = 0 for i in xrange(n): a, b = [â¦
è¨äºæ°ã足ããªãããã°ãã #include <cstdio> #include <algorithm> #include <vector> using namespace std; int main(int argc,char* argv[]) { int n; scanf("%d\n",&n); int sum_a=0; int sum_b=0; for(int i=0;i<n;i++) { int a,b; scanf("%d %d\n",&a,&b); if(a>b) { sum_a+=a+b; } else if(a==b) { sum_a+=a; sum_b+=b; } else â¦</n;i++)></vector></algorithm></cstdio>
ãã³ãã¬ãï¼ç¨ä¾ï¼ãã³ãã¬ããã¦ãå°ãããã£ã©ã¯ã¿ã¼ãåæ§çã§ãããæ±ç¨çãªå½¢å¼ãæ示çã«ç¨ãããã¦ããã®ãããããã¨æºãå¤å½¢ãã¦æ ¼å¥½è¯ãã£ãã
羽山ãããç¾åï¼ç¾åï¼èå°ãäºã¤ãã£ããªãã¦MOON PHASEã«æ¸ãããã¾ã§æ°ã¥ããªãã£ãã漫ç¶ã¨è¦ã¦ãã証æ ã ãªãã¾ãä»æ¹ãªããªã
200è¨äºãããªããªããããªã®ã§ãè¨äºç¨¼ãã import java.io.*; import static java.lang.Integer.parseInt; public class t1 { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReadeâ¦
bã¨cã®å¤§å°æ¤æ»ããªãã¦ããã£ããã¨ã«ä»é æ°ã¥ããã #!/usr/bin/python # -*- coding: utf-8 -*- count_all = 0 count_right = 0 count_less = 0 count_more = 0 while True: a, b, c = [int(x) for x in raw_input().split(' ')] if(a < b): a, b = b, a â¦