# aspell-import -- Perl script to import old dictionaries
# This file is part of The New Aspell # Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL # license version 2.0 or 2.1. You should have received a copy of the # LGPL license along with this library if you did not you can find it # at http:
%abrv = qw( american en british en canadian en catala ca czech cs dansk da deutsch de ellhnika el english en espanol es esperanto eo francais fr german de italian it liet lt nederlands nl norsk no polish pl portugues pt russian ru svenska sv);
chdir$ENV{HOME};
foreach$file (<.ispell_*>, <.aspell.*.*>) { $_ = $file; if (/^.ispell_(.+)$/) {$lang = $1; $type = 'ispell'} elsif (/^.aspell.(.+?).(per|pws)$/) {$lang = $1; $type = 'personal'} elsif (/^.aspell.(.+?).(prepl)$/) {$lang = $1; $type = 'repl'} $abrv = $abrv{$lang}; if (notdefined$abrv) { print"Warning language \"$lang\" is not known\n"unlesslength$lang == 2; next; } open IN, $file; print"Processing \"~/$file\", lang = $abrv\n"; if ($type eq 'ispell' || $type eq 'personal') { <IN> if$type eq 'personal'; while (<IN>) { chop; push @{$words{$abrv}{per}}, $_; } } elsif ($type eq 'repl') { $_ = <IN>; if (!/^personal\_repl\-1\.1/) { print"$file not in a supported format\n"; next; } while (<IN>) { /^([^ ]+) (.+)\n$/ordie; push @{$words{$abrv}{repl}}, [$1,$2]; } } close IN; }
$SIG{PIPE} = 'IGNORE';
foreach$abrv (keys%words) { print"Merging $abrv\n"; open P, "| aspell -a --lang=$abrv --sug-mode=ultra"ornext; foreach (@{$words{$abrv}{per}}) { print P "* $_\n"; } foreach (@{$words{$abrv}{repl}}) { print P "\$\$ra $_->[0],$_->[1]\n"; } print P "#\n"; close P; }
「SN-J00161/xor/xor.cpp」 int is a namesapce.png
1 2 3
include<bist/stdc++.h> using namespec int:
「SN-J00218//.cpp」 This resource fork intentionally left blank
#inport scoii main wesd int wesd 1 if wesd{ if wesd; main wesd int inport wesd wesd scoii cout << 'wesd'<< x }
// ==========================
#inport scoii scoii main i scoii main n int scoii{ if scill i; 1<='i'<=n cout<<i+n print(i+n) plor i+n+1 }
// ==========================
#inport scoii main poi main c main r int main{ if main; frout c y inport c y poi = '0~100' cout << poi print c y }
// ==========================
#inport scoii scoii main k and n int scoii{ cout [1,2,3,4]; if k and n; cout = + if ; cout = k and n cout << k,n torn cout k and n in big print(k and n in big) } done() (注释为作者所加)
多边形(polygon) 【题目描述】 小 R 喜欢玩小木棍。小 R 有 n 根小木棍,第 i (1 ≤ i ≤ n) 根小木棍的长度为 ai。 小 X 希望小 R 从这 n 根小木棍中选出若干根小木棍,将它们按任意顺序首尾相连 拼成一个多边形。小 R 并不知道小木棍能拼成多边形的条件,于是小 X 直接将条件告 诉了他:对于长度分别为 l1, l2, . . . , lm 的 m 根小木棍,这 m 根小木棍能拼成一个多边 形当且仅当 m ≥ 3 且所有小木棍的长度之和大. 于. 所有小木棍的长度最大值的两倍,即 (...)
「SN-J00889/polygon/polygon.cpp」 灵感菇人
1 2 3 4 5 6
cout << 1;//wtfffffffffffffffffffffffffffffffffffff //灵感菇哩菇哩菇哩刮擦灵感菇灵感菇 //灵感菇哩菇哩菇哩刮擦灵感菇灵感菇 //灵感菇哩菇哩菇哩刮擦灵感菇灵感菇 //gugugaga gugugaga gugugaga //hi hi hi hi ha ha ha ha
「SN-J00916/number/number.cpp」 Just Do It.
1 2 3 4 5 6 7 8 9 10
/* ◢◤ ◢▆◤ ◢ ◢▇◤ ◢▇▆▇◤ ◥▇▇◤ Just Do It 尽管我无法证明他的对错, 但我坚信他是对的 */