{"in": "from collections import deque\ndef check_expression(exp):\n if len(exp) & 1:\n return False\n stack = deque()\n for ch in exp:\n if ch == '(' or ch == '{' or ch == '[':\n stack.append(ch)\n if ch == ')' or ch == '}' or ch == ']':\n if not stack:\n return False\n top = stack.pop()\n if (top == '(' and ch != ')') or (top == '{' and ch != '}' or (top == '[' and ch != ']')):\n return False\n return not stack", "out": "1", "pred": "1"} {"in": "Die Principesa Maria hieß nun Dezrobirea, die Împăratul Traian wurde zur Sotsialnaja Revolyutsija, aus der Dacia wurde die 1907 god und die Regele Carol I wurde umbenannt in Ioann Roate (http://www.Steinbruch Leimen ist deckungsgleich mit dem Naturschutzgebiet.Auf einem der Stiche nannte sich Cibber „C.Von 2003 bis 2005 war er Mitglied des SPD-Bundesvorstandes.Nach der Niederschlagung des Aufstandes wurde Abdulmeliks Familie in den Westen der Türkei deportiert.Mindestens seit der 1. Dynastie zeigte sich die Verbindung vom König als lebender Horus unter der Sonne im Beinamen Nebu, aber erst Djoser erhöhte den Königsstatus als lebender Horus auf Erden gleichrangig mit der Sonne.Wien und die Corona-Krise Wien: Falter Verlag 2021 (gem. mit Christopher Mavric).", "out": "0", "pred": "0"} {"in": "Annie è consapevole che dovrà fare i conti per tutte le persone che ha ucciso, preparandosi ad affrontare le conseguenze per il futuro.Un viaggio di sola andata costa AMD 100 (circa $0,21) per tutti gli autobus e furgoni pubblici, mentre è di AMD 50 per i filobus.La morte si trova sulla soglia.Secondo studi francesi del secolo scorso, la valerianella, parente della valeriana, sarebbe originaria della Sicilia e della Sardegna e si sarebbe diffusa, poi, dalle coltivazioni, in tutta Europa.L'anno seguente, Liebermann le affida la direzione del Gruppo di Ricerche Teatrali (GRTOP), direzione che manterrà per sei anni.La chiusura del neuroporo procede dalla iniziale sede di chiusura nella regione cervicale, come anche da una sede di chiusura successiva nell'encefalo anteriore.Giuliano rientrò nella delegazione di 2ª classe di Frosinone.", "out": "0", "pred": "0"} {"in": "Bis auf Ostermundigen haben sich alle Gemeinden gegen Fusionsverhandlungen ausgesprochen.Dann aber tritt sie in das Haus, in dem sie selbst lebt, und findet in ihrem Zimmer einen Brief ihrer Mutter.Eusebius zitierte in seiner Demonstratio Fidei daraus.Diese Arbeiten wurden von Fachfirmen ausgeführt.Daher verließ Junglas die Aalener im Januar 2015 und wechselte zum Drittligisten Arminia Bielefeld.Aad ist der Fluss im Kilmartin Glen.Die Poren des sensorischen Systems auf der Oberseite des Kopfes und am Bauch sind als schwärzliche Punkte oder Streifen sichtbar.", "out": "0", "pred": "0"} {"in": "But the prince turns her away solely for her appearance.When that county was abolished in 1996 it was made a unitary authority.The government gave them weapons.This year, festival runners decided to share the festival with tradespeople and residents in front of Hongdae.Despite this, many Christians chose not to change their religion to Islam.Therefore, the governor of Illinois is currently a Democrat, as are both its US Senators and over 70% of its representatives.According to scientists, the oldest amber originates from the carbon time and has an age of approximately 345 million years (Upper Carboniferous, Northumberland, USA).", "out": "0", "pred": "0"} {"in": "La prima versione, Naum 1.0, è stata distribuita nell'aprile 2004.Il suo nome, bruciato, non ricomparve più nei turni seguenti.Si noti che le date di regno per i khagan variano con la fonte.Voleva (o ordinò) che Saturn Gil restasse con lui e Brainiac 5, con cui sarebbe stata al sicuro.Sempre arrabbiata con Reddington che non vuole rivelarle la verità su sua madre, Liz cerca l'aiuto di Tom, il che conduce alla fine i due a cedere ai loro reciproci sentimenti.L'apostolo qui relativizza questa \"vocazione\"), perde la sua importanza intrinseca.Secondo Robert, le principali opere letterarie sono tutte commenti sulla propria forma, sulla generica tradizione o tradizioni da cui prendono il loro essere.", "out": "0", "pred": "0"} {"in": "全国重症心身障害児(者)を守る会高知支部を結成し、地元に障害児を集団で生活させるための施設を建設することを決め、自ら「希望の家」と名づけた施設を開設し、自分の次男を含めた数人を入居させ、経費は自ら競輪で獲得した賞金をも補う形で運営を行っていた。そして結ばれた内蔵助と共に吉良邸討ち入りに参戦。望遠鏡のカセグレンポートとIFOSCの間には、較正系が設けられており、フラットフィールド補正や分光観測の波長較正に使用する光源や、狭帯域フィルターが用意されている。表面は飴色になっており、しっかりと味付けされているのが特徴である。クブショクが「シュペーアがヒトラーの焦土作戦を阻止するために行動していたことを知っていますか」と質問すると、オーレンドルフは「知っています」と答えた。最初の噴火はおよそ50万年前に遡り、」が出席して会見した問題で、伊藤が記者会見の開催に関与し、記者会見について「市民の人権擁護の会」しかし、ほとんどの関係者や機関からは満足のいく助言はもらえなかった \"Rapports et délibérations du Conseil général du Finistère, août 1878, consultable http://gallica.国際法一般を扱う常設司法裁判所という点において、ロータリーエンジンこそが、GSの唯一の欠点とされていたアンダーパワーの解決はもとより、進歩的な車体構造、駆動方式、サスペンション、", "out": "0", "pred": "0"} {"in": "Rugadh é sa bhliain 1955.", "out": "0", "pred": "0"} {"in": "This caused the evacuation of 8,200 people in the region.Since there were not a lot of Portuguese women in Brazil, intermarriage made it easier for the Portuguese to colonize the country.He was elected into the National Assembly in general election 2002 from his native town, Nowshera.He also wanted these Apaches and Navajo to act as a buffer for any aggressive acts committed upon the white settlements from Kiowas and Comanches to the east of Bosque Redondo.They have two children, son Jack and daughter Charlotte.He played 2 games for Japan until 2012.The Spy Who Loved Me and Moonraker.", "out": "0", "pred": "0"} {"in": "from operator import itemgetter \ndef index_minimum(test_list):\n res = min(test_list, key = itemgetter(1))[0]\n return (res) ", "out": "1", "pred": "1"} {"in": "Áras an Uachtaráin.", "out": "0", "pred": "0"} {"in": "Questo perché era la zona, sin dai tempi preromani, della necropoli.Nel periodo estivo il paese si è fatto promotore di varie iniziative di carattere culturale come il LioniJazzFestival e il LioniMusicFestival.Dopo un solo anno Federico firmò un trattato col Papa, che sanciva la comune spartizione delle terre conquistate dell'Italia meridionale.Al termine di tutte le norme ISO sono presenti sempre tabelle di corrispondenza riferite alle norme al momento in essere.El Neny con la divisa dei Gunners.Il 17 gennaio 2012 prolunga il suo contratto fino al 30 giugno 2013.L'ultimo avvistamento confermato, avvenuto nell'estremo nord dell'", "out": "0", "pred": "0"} {"in": "Когда он начинает спускаться, попрощавшись с Уиной и пообещав вернуться, слышится неистово громкий сигнал, похожий на сирену, который гипнотизирует всех элоев.Savoia-Marchetti S.55 был одним из первых самолётов, пересекших Атлантический океан.Девяносто первый год стал пиком популярности «Независимой газеты»: от выхода три раза в неделю газета перешла к ежедневным выпускам, сохранив объём в 8 полос, тираж превысил 200 тысяч копий.Евгения Алхимова, оформленного им в течение 9 минут (голы забивались на 27-й, 33-й и 36-й минутах).В 2011 году он выпустился из академии клуба и на протяжении ещё трёх лет выступал за резервную команду «Однако уже 21 августа, после отставки президента «Эббу-Вейл» Маркуса Расселла и переименования команды («Ньюпорт энд Гвент Дрэгонс») Браун вернулся в число спонсоров.Известны его плакаты и книжные иллюстрации.Сейчас на месте древнего города-государства расположен Археологический парк.В 1905 году за участие в забастовках рижского пролетариата, был уволен и стал безработным.Россия: воображение пространства / пространство воображения (", "out": "0", "pred": "0"} {"in": "Edward Lear y mettait en scène des créatures singulières qui ont pu suggérer à Charles Dodgson l’idée du Snark, créature carrollienne presque invisible et redoutée.» : Gibbs entreprend alors de faire mieux connaître l’œuvre de Grassmann, qu'il estime antérieure, et de portée plus générale que les quaternions d'La Grande île de la Terre de Feu est entourée au nord-est par l'Le labyrinthe est daté de 1716, c'est une copie en réduction de celui situé dans l'Ses photographies se caractérisent par une complexité de mise en scène marquée par des influences picturales et cinématographiques.Cette chanson fait l'ouverture de ses spectacles en 1987 ( ).Mais le chapiteau à gauche, côté clocher, a été refait lors d'une restauration, et le motif a pu être appliqué par erreur.", "out": "0", "pred": "0"} {"in": "Stone continued his work at a new organization called Catalytic Diplomacy.In 1966 he was awarded the American Historical Association's Herbert Baxter Adams Prize.The words I can't breathe have become a protest chant.On 18 March 1861, the church moved to their newly-built Metropolitan Tabernacle, at Elephant-and-Castle in London.They fought and conquered each other.It was released on 5 July 2002.Two new districts: Bijapur and Narayanpur were carved out on May 11, 2007 citation and nine new districts on Jan 1, 2012.", "out": "0", "pred": "0"} {"in": "print(('last modified: %s' % time.ctime(os.path.getmtime(file))))print(('created: %s' % time.ctime(os.path.getctime(file))))return os.path.getctime(path_to_file)os.system('TASKKILL /F /IM firefox.exe')return (x.group(0) for x in re.finditer(\"[A-Za-z']+\", string))\"\"\", \"\"\".join(['%.2f'] * len(x))print(re.match('(\\\\d+(\\\\.\\\\d+)?)', '3434.35353').group(1))df['name'].str.replace('\\\\(.*\\\\)', '')result = [x for x in list_a if x[0] in list_b]print([''.join(a) for a in combinations(['hel', 'lo', 'bye'], 2)])[x for x in li if 'ar' in x[2]]unsorted_list.sort(key=lambda x: x[3])logging.info('test')fig.add_subplot(1, 1, 1)sorted(list(x.items()), key=operator.itemgetter(1))", "out": "1", "pred": "1"} {"in": "当初は長期間行動可能な大型なものを「艦隊巡洋艦」と呼称し、それ以外の小型のものを二等、三等と区別したが、後に機関技術の発達で小型のものでも艦隊行動が可能となり区別が曖昧となった為、艦隊巡洋艦は一等巡洋艦に呼称が改められた。、マテル傘下の子会社を統合してコンテンツ制作事業部としてマテル・クリエイションズを設立した。電車の総括制御は都市鉄道の発展とともに進化した。後者は 『5』 からで半袖の上衣&丈の長い下穿き×白いチューブトップ×白い鉢巻かヘッドバンドを選択可というスタイル。その憎悪から男を鋏で刺殺する通り魔を起こしていたが 『Heaven's Door』本編より昔の話でゆりも認識していなかった。第2話までのタイトルロゴは表題通りの表記であったが :引数 archiveurl と archivedate は両方を指定してください。ただし、蜂の巣を攻撃した後、着用していると死亡するまで刺される。そして汪敏は、自分がずっと兄嫁夫婦に騙され、金をむしり取られ続けてきたということを理解した。実際に現存する作品を慧眼するところ虎徹同様大変優れた刀工であることがわかる。これにより、反政府勢力はアサド政権の中枢であるダマスカス官庁街を攻撃する手立てを完全に失い、少なくともアサド政権の存続は確定的となり、7年にわたる戦争の勝利も濃厚となった。", "out": "0", "pred": "0"} {"in": "The states are listed along with their correspondent emblems, data and location.'s local government reforms abolished the \"division\" as an administrative tier.In Argonauts, males and females are quite different in size and lifespan.Members are elected to two-year terms.A Büchner flask has thick walls so that a pressure change will not break it.Its aim is to become a \"hub\" (important airport) for the east of England.During the spring of 2015, Chan confirmed in several interviews that he would start training for the 2015–2016 season.", "out": "0", "pred": "0"} {"in": "printf(\"%d\\n\",a[i]);}}int main(){int n,l,j,i,flag=0;//flag???????//scanf(\"%d\",&n);getchar();char **p;p=(char**)malloc(n*sizeof(char*));for(i=0;i='a'&&*(*(p+i))<='z')||(*(*(p+i))>='A'&&*(*(p+i))<='Z')){ for(j=0;j='a'&&*(*(p+i)+j)<='z')||(*(*(p+i)+j)>='A'&&*(*(p+i)+j)<='Z')||(*(*(p+i)+j)>='0'&&*(*(p+i)+j)<='9')){flag=0;}else{flag=1;break;//???????????????????//} }}else", "out": "1", "pred": "1"} {"in": "В связи со слабой изрезанностью береговой линии и приподнятостью окраинных частей влияние морей, окружающих материк, слабо сказывается во внутренних частях.Тогда же получил и свою первую боевую награду, орден Красного Знамени.Первоначально епархия Лилонгве являлась суффраганной по отношению к архиепархии Блантайра.В 1974 году стал чемпионом мира и завоевал серебряную медаль Азиатских игр.Здесь же начинается улица Rush Street и находится северное побережье реки Чикаго.В аниме в истинном обличье выглядит как харизматичный рыжеволосый юноша с зелеными глазами.Губернатор Гораций Сеймур прибыл в город, и выступил с речью в городском собрании.Госкомприроды Украины имеет статус министерства с 1991 г.Отсюда различные толкования его учения.Одним из показателей популярности клуба в городе базирования является посещаемость домашних матчей.", "out": "0", "pred": "0"} {"in": "Derweil nimmt die Not der Bauern derart überhand, dass diese zu rebellieren beginnen.Für Dolmetschkabinen gelten bestimmte Mindestanforderungen, die in den Normen ISO 2603 und DIN 56 924 Teil 1 (ortsfeste Kabinen) sowie ISO 4043 und DIN 56 924 Teil 2 (transportable Kabinen) festgeschrieben sind.Den Verkauf hatte er bereits bei der Vorstellung von Hernandez angekündigt, danach aber dennoch entgegen seiner Ankündigung seinen Anteil nochmals erhöht.Diese Richtschwerter wurden in China benutzt.Die beiden Quartette (oder das Oktett) und die nachfolgenden Terzette (oder das Sextett) trennte ein rhetorischer Neuansatz.Noch 15 Jahre später leitete die Färberei mit Textilfasern verunreinigtes Wasser in die Spree ab.Das erkennt man daran, dass er bei Anwendung auf Vektoren des Typs Null ergibt.", "out": "0", "pred": "0"} {"in": "len=strlen(a);if((a[0]>='a'&&a[0]<='z')||(a[0]>='A'&&a[0]<='Z')||a[0]=='_'){count=0;for(j=1;j='a'&&a[j]<='z')||(a[j]>='A'&&a[j]<='Z')||a[j]=='_'||(a[j]>='0'&&a[j]<='9'))count++;if(count==len-1)cout<<\"1\"<='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\\n\"); }", "out": "1", "pred": "1"} {"in": "def volume_cylinder(r,h):\n volume=3.1415*r*r*h\n return volume", "out": "1", "pred": "1"} {"in": "Duccio painted the Madonna sitting on a throne with the Christ Child in her lap, raising his hand in blessing.This station opened on 27 December 2015, along with the rest of the Downtown line stage 2. The Thomson East Coast line section will open in 2021, as part of stage 3 of the line.This leaves 8 teams.Then, a counter coup had challenged the unity of Nigeria.Premchand lived a life of financial struggle.The other kind of pollination takes place when pollen from one plant travels to the pistil of another plant.They allow a lower dose of the vaccine to be given.", "out": "0", "pred": "0"} {"in": "for(j=0;j<80;j++)a[i][j]='\\0';for(i=0;i=65&&a[i][0]<=90||a[i][0]==95||a[i][0]>=97&&a[i][0]<=122)){t[i]=0;continue;} for(j=0;j<80;j++){if(!(a[i][j]>=65&&a[i][j]<=90||a[i][j]==95||a[i][j]>=97&&a[i][j]<=122||a[i][j]>=48&&a[i][j]<=57||a[i][j]=='\\0')){t[i]=0;break;} } if(j==80)t[i]=1;for(i=0;i='A')+(Char[k][i]<='z'&&Char[k][i]>='a')+(Char[k][i]<='9'&&Char[k][i]>='0')+(Char[k][i]=='_')==0) //?????0 { cout<<0<='A'&&origin_string[0]<='Z')||(origin_string[0]>='a'&&origin_string[0]<='z')){check=1;} else {check=0;}", "out": "1", "pred": "1"} {"in": "Ba é seo an 22ú eagrán.", "out": "0", "pred": "0"} {"in": "En 1944, alors étudiant de l'Institut technique nautique, il suit le frère Dino qui commande une formation partisane.Peter Kubicek, qui avait ouvertement critiqué le livre original, est remercié dans la préface du nouveau pour l'aide qu'il a apportée à sa rédaction.Ashley Wood (né en 1971) est un illustrateur, dessinateur australien.Le village est traversé par un principal cours d'eau appelé la Liette, ou \"petite rivière\".Ces travailleurs furent confrontés à des conditions de travail souvent difficiles et ce pour un maigre salaire bien que nourris et logés.Gravure de West Grinstead Park près de West Grinstead, West Sussex, publiée en 1835 dans The History, Antiquities and Topography of the County of Sussex par Thomas Walker Horsfield.En 1946, il est membre adjoint de l'", "out": "0", "pred": "0"} {"in": "df[df.columns[1:]].replace('[\\\\$,]', '', regex=True).astype(float)df1.merge(df2, how='left', on='word')print(''.join(''.join(i) for i in zip(a2, a1)) + a[-1] if len(a) % 2 else '')root.attributes('-topmost', True)root.lift()hex(int(''.join([str(int(b)) for b in walls]), 2))hex(sum(b << i for i, b in enumerate(reversed(walls))))print(('Total score for', name, 'is', score))print('Total score for {} is {}'.format(name, score))print('Total score for %s is %s ' % (name, score))print(('Total score for', name, 'is', score))url('^$', TemplateView.as_view(template_name='your_template.html'))df[df['A'].isin([3, 6])]instance.__class__.__name__system('/path/to/my/venv/bin/python myscript.py')", "out": "1", "pred": "1"} {"in": "def count_binary_seq(n): \n\tnCr = 1\n\tres = 1\n\tfor r in range(1, n + 1): \n\t\tnCr = (nCr * (n + 1 - r)) / r \n\t\tres += nCr * nCr \n\treturn res ", "out": "1", "pred": "1"} {"in": "Imrítear é taobh amuigh.", "out": "0", "pred": "0"} {"in": "Mit dem Zug durch …Mit Dragoslav Mitrinovic und Borislav Crstici veröffentlichte er ein Handbuch der Zahlentheorie.Am 30. Mai 1997 musste er ins Krankenhaus, weil sein Krebs Komplikationen verursachte.Seit 2003 finden von LF-23 im Rahmen des Raketenabwehrprogrammes der USA Tests mit dem sogenannten Orbital Boost Vehicle statt.Sie erhielt die Auszeichnungen Best Actress auf dem Rob Knox Film Festival und Best Actress auf den Warner Brothers New Filmmakers Awards.Ähnlich wie Sassoon war Osbert mittlerweile zu der Überzeugung gekommen, dass es in dieser Phase des Krieges nur noch um Eroberungen gehe.Von 1988 bis 2008 wuchs Eggenthal um 99 Einwohner bzw. etwa acht Prozent.", "out": "0", "pred": "0"} {"in": "葉は交互につき、3つから5つに切れ込みが入っており、最大で10センチメートルに達する。電動車両普及センターが主催の電気自動車モデルゾーン実験(山梨県北杜市)にエレクシードRSにて参加。ATRAC3plusに標準で対応。シーズン初めは制球に苦しみ、79.2イニングを投げ、45四球だった。6月23日に、右手の打撲で故障者リストに入った https://mlb.キャストを一新し、女性だけの特捜隊ライトウインズの活躍を描く。ウィルマーディングでの事業に関わる人には1つの大きな不満があった。それに対して、社会性昆虫の場合、明確な体型や体格差が見られ、しかも固定的である。ファーストネームのサナ(Sanaa)は、同日は全国で一斉に旅館・ホテルなどへの聞き込み捜査が行われており 『朝日新聞』1992年1月6日朝刊第一社会面31頁「119号容疑者、あわや“第5の殺人” 大阪で現金強盗 【大阪】」(朝日新聞大阪本社) 、「Nが近辺に潜伏している」という情報を把握していた大阪府警に加えて京都府警・兵庫県警もそれぞれ現場周辺で厳戒態勢を取り、張り込み捜査を続けていた 『読売新聞』1992年1月6日大阪朝刊第一社会面27頁「連続殺人のN容疑者 第5の犯行 裏かかれた捜査陣 女性落語家震え上がる」(読売新聞大阪本社) 。端子電圧300V時の定格出力は130kW。", "out": "0", "pred": "0"} {"in": "Die mittelfristige Planung sah vor, in die Oberliga aufzusteigen, um dort nach dem Vorbild der Eisbären Berlin Juniors einen Unterbau zur ersten Mannschaft zu bilden.Ich hatte Glück, ich war einer von denen, die dadurch stark wurden.“) Andere Fahrer hingegen seien „zerstört“ worden.Nach einem Ruhejahr kehrte Pichler 2015 als Cheftrainer zum schwedischen Biathlonverband zurück, verlangte dafür aber freie Hand bei der Zusammenstellung der Mannschaft.Er wurde 1993 nur 10 Tage vor ihrem Tod veröffentlicht.In der Regel werden Reels leicht „punktiert“ gespielt, d. h. die 1. (3., 5., 7.) Achtelnote jedes Taktes ist etwas länger als die jeweils folgende.In den späteren Jahren des Franco-Regimes bildeten sich von diesen traditionellen Parteien und Bewegungen weitgehend unabhängige oppositionelle Gruppen heraus.Der Betrieb der Zeche wurde durch die Abgaben an die Besatzungsmächte zunehmend unrentabel.", "out": "0", "pred": "0"} {"in": "D'fhan sé ann sé mhí.", "out": "0", "pred": "0"} {"in": "Но вот зритель эту работу совсем не принял.В основном исполнял роли героико-патриотического репертуара.Лидером мероприятия считалась команда Sant’Ambroeus, а пилота предполагалось выбрать из троицы: Альбино Буттики, Люсьен де Санктис и Джанкарло Багетти.Валихан-ходжа правил в Кашгарии всего 115 дней.Так, в реакции с азотной кислотой образуется перфторхинон.Участник художественных выставок и вернисажей с 1963 года.Смежными округами являются Центр Новой Шотландии, Саквилл — Восточный берег, Кингс — Хэнтс и Босежур.После Вудли снялась в экранизации романа Тима Тарпа «Ночью Мэтт слышит, как Райерсон кого-то приглашает и открывает окно, а затем слышит странные звуки похожие на детский смех.Располагает значительными запасами энергетического и технологического топлива, причем вся добыча ведется открытым способом.", "out": "0", "pred": "0"} {"in": "Nach dem Abitur zog er mit 19 Jahren nach Berlin, wo er zunächst begann, Luft- und Raumfahrttechnik und danach Mathematik zu studieren.Die Oberfläche zeigt ein ausgeprägtes irreguläres Netzmuster.Arnstadt Nord/Erfurter Kreuz, unter anderem zur Bedienung des Flugzeugturbinenwartungswerks N3 und der Firma Gonvauto Thüringen.Im Januar 1999 startete ein völlig neu konstruiertes Modell.In einem Mausoleum an der Kirche befinden sich die Gräber der Familie von Magnis.Informationen – Anschriften – Berichte.Nicht zu verwechseln ist das Porzellangeld mit Medaillen oder Wertmarken aus Porzellan, die keine offizielle Währungsfunktion hatten.", "out": "0", "pred": "0"} {"in": "Questi compiti erano spesso al di sopra della loro portata, così che i risultati furono spesso deludenti e al di sotto delle aspettative dei diversi segmenti di popolazione.Si hanno ancora notizie di restauri al campanile nell'anno 1669.La censura della radio e della televisione è stata, in assoluto, la risorsa meno efficace presa dal governo della Germania orientale.Di norma la loro azione si sovrappone a quella dell'ortosimpatico, che rilascia questi ormoni nelle sue terminazioni postgangliari.Nel 1818 fu restaurata la torre campanaria poi, nel 1833, venne ampliato il presbiterio.Avendo raggiunto una distanza di sicurezza di 100 km dalla ISS dopo due orbite di volo autonomo, alle 4:10 la Sojuz riaccese i propulsori (il cosiddetto Deorbit Burn) per 4 minuti e 36 secondi per rallentare e permetterle di entrare in atmosfera.Il 7 febbraio 2014 passa in prestito oneroso in Cina, in cambio di € 190.000.", "out": "0", "pred": "0"} {"in": "In seguito passò sotto il dominio austriaco.I modelli superficiali non possono spiegare perché i flussi atmosferici su Giove violino i criteri di stabilità.Negli anni sessanta divenne uno sport popolare con campionati ufficiali.Inoltre avrà una relazione con Ethan.Fu così che nacque la Robur.Il re, infatti, dimostrò più volte di essere interessato maggiormente alla caccia, al tennis, alla vita mondana piuttosto che alla gestione dello stato.Questo sforzo è iniziato nel 2008 quando si tenne la prima finale nazionale a Lagos.", "out": "0", "pred": "0"} {"in": "df.sort(['a', 'b'], ascending=[True, False])redirect('Home.views.index')[x for x in a if x not in [2, 3, 7]]out = ''.join(c for c in asking if c not in ('!', '.', ':'))soup.find('meta', {'name': 'City'})['content']urllib.parse.unquote('%0a')urllib.parse.unquote(url).decode('utf8')del lst[:]del lst1[:]lst[:] = []alist[:] = []s.reset_index(0).reset_index(drop=True)elems[0].getText().encode('utf-8')[(y - x) for x, y in zip(L, L[1:])]print(re.search('\\\\bLOG_ADDR\\\\s+(\\\\S+)', line).group(1))", "out": "1", "pred": "1"} {"in": "protected void handleConnection(Socket server) throws IOException {OutputStream out = server.getOutputStream();PrintWriter pout = new PrintWriter(out, true);BufferedReader in = SocketUtil.getReader(server);String failureReason = null;int failureCode = 0;String httpVersion = \"HTTP/1.0\";String uri = null;String command = in.readLine();URL url = null;if (command != null) {StringTokenizer tokenizer = new StringTokenizer(command);if (tokenizer.countTokens() != 3) {failureCode = 400;failureReason = \"Illformed Request-Line\";} else {String method = tokenizer.nextToken();if (!method.equalsIgnoreCase(\"get\")) {failureCode = 501;failureReason = \"Only supports GET method\";} else {uri = tokenizer.nextToken();httpVersion = tokenizer.nextToken();try {url = getURL(uri);} catch (IOException e) {failureCode = 404;failureReason = \"resource not found\";}}}} else {failureCode = 400;failureReason = \"Null request\";}if (url != null) {InputStream stream = null;try {URLConnection connection = url.openConnection();byte[] chunk = new byte[1024];int read = 0;pout.println(httpVersion + \" 200 \");pout.println(\"Content-Type: \" + connection.getContentType());pout.println(\"Content-Length: \" + connection.getContentLength());pout.println(\"Content-Encoding: \" + connection.getContentEncoding());pout.println();stream = connection.getInputStream();read = stream.read(chunk);while (read != -1) {out.write(chunk, 0, read);read = stream.read(chunk);}} catch (IOException e) {failureCode = 500;failureReason = \"problem reading the resource content\";} finally {if (stream != null) {stream.close();}}} else {failureCode = 404;failureReason = \"resource not found\";}if (failureCode != 0) {pout.println(httpVersion + \" \" + failureCode + \" \" + failureReason);pout.println();}doDelay();server.close();}@Overridepublic void run() {if (mMode == 0) {long currentVersion = Version.extractVersion(App.getVersion());if (currentVersion == 0) {mMode = 2;RESULT = MSG_UP_TO_DATE;return;}long versionAvailable = currentVersion;mMode = 2;try {StringBuilder buffer = new StringBuilder(mCheckURL);try {NetworkInterface ni = NetworkInterface.getByInetAddress(InetAddress.getLocalHost());if (!ni.isLoopback()) {if (ni.isUp()) {if (!ni.isVirtual()) {buffer.append('?');byte[] macAddress = ni.getHardwareAddress();for (byte one : macAddress) {buffer.append(Integer.toHexString(one >>> 4 & 0xF));buffer.append(Integer.toHexString(one & 0xF));}}}}} catch (Exception exception) {}URL url = new URL(buffer.toString());BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String line = in.readLine();while (line != null) {StringTokenizer tokenizer = new StringTokenizer(line, \"\\t\");if (tokenizer.hasMoreTokens()) {try {if (tokenizer.nextToken().equalsIgnoreCase(mProductKey)) {String token = tokenizer.nextToken();long version = Version.extractVersion(token);if (version > versionAvailable) {versionAvailable = version;}}} catch (Exception exception) {}}line = in.readLine();}} catch (Exception exception) {}if (versionAvailable > currentVersion) {Preferences prefs = Preferences.getInstance();String humanReadableVersion = Version.getHumanReadableVersion(versionAvailable);NEW_VERSION_AVAILABLE = true;RESULT = MessageFormat.format(MSG_OUT_OF_DATE, humanReadableVersion);if (versionAvailable > Version.extractVersion(prefs.getStringValue(MODULE, LAST_VERSION_KEY, App.getVersion()))) {prefs.setValue(MODULE, LAST_VERSION_KEY, humanReadableVersion);prefs.save();mMode = 1;EventQueue.invokeLater(this);return;}} else {RESULT = MSG_UP_TO_DATE;}} else if (mMode == 1) {if (App.isNotificationAllowed()) {String result = getResult();mMode = 2;if (WindowUtils.showConfirmDialog(null, result, MSG_UPDATE_TITLE, JOptionPane.OK_CANCEL_OPTION, new String[] { MSG_UPDATE_TITLE, MSG_IGNORE_TITLE }, MSG_UPDATE_TITLE) == JOptionPane.OK_OPTION) {goToUpdate();}} else {DelayedTask.schedule(this, 250);}}}public static void main(String[] args) throws Exception {String layerName = args[0];String layerDescription = args[1];String units = args[2];String rawDataDirPath = args[3];String processDirPath = args[4];String divaDirPath = args[5];String legendDirPath = args[6];String geotiffDirPath = args[7];String dbJdbcUrl = args[8];String dbUsername = args[9];String dbPassword = args[10];String geoserverUsername = args[11];String geoserverPassword = args[12];File rawDataDir = new File(rawDataDirPath);if (!rawDataDir.exists() || !rawDataDir.isDirectory()) {throw new RuntimeException(\"Supplied raw data directory \" + rawDataDirPath + \" does not exist or is not a directory\");}File processDir = new File(processDirPath);if (!processDir.exists() || !processDir.isDirectory()) {throw new RuntimeException(\"Supplied process directory \" + processDirPath + \" does not exist or is not a directory\");}File divaDir = new File(divaDirPath);if (!divaDir.exists() || !divaDir.isDirectory()) {throw new RuntimeException(\"Supplied diva directory \" + divaDirPath + \" does not exist or is not a directory\");}File legendDir = new File(legendDirPath);if (!legendDir.exists() || !legendDir.isDirectory()) {throw new RuntimeException(\"Supplied legend directory \" + legendDirPath + \" does not exist or is not a directory\");}File geotiffDir = new File(geotiffDirPath);if (!geotiffDir.exists() || !geotiffDir.isDirectory()) {throw new RuntimeException(\"Supplied geotiff directory \" + geotiffDirPath + \" does not exist or is not a directory\");}System.out.println(\"Beginning environmetal load\");System.out.println(\"Connecting to database\");Class.forName(\"org.postgresql.Driver\");Properties props = new Properties();props.setProperty(\"user\", dbUsername);props.setProperty(\"password\", dbPassword);Connection conn = DriverManager.getConnection(dbJdbcUrl, props);conn.setAutoCommit(false);try {File layerProcessDir = new File(processDir, layerName);layerProcessDir.mkdir();System.out.println(\"Running gdalwarp\");File hdrFile = new File(rawDataDir, \"hdr.adf\");if (!hdrFile.exists()) {throw new RuntimeException(\"Could not find hdr.adf in \" + rawDataDirPath);}File bilFile = new File(layerProcessDir, layerName + \".bil\");Process procGdalWarp = Runtime.getRuntime().exec(new String[] { \"gdalwarp\", \"-of\", \"EHdr\", \"-ot\", \"Float32\", hdrFile.getAbsolutePath(), bilFile.getAbsolutePath() });int gdalWarpReturnVal = procGdalWarp.waitFor();if (gdalWarpReturnVal != 0) {String gdalWarpErrorOutput = IOUtils.toString(procGdalWarp.getErrorStream());throw new RuntimeException(\"gdalwarp failed: \" + gdalWarpErrorOutput);}System.out.println(\"Running Bil2diva\");boolean bil2DivaSuccess = Bil2diva.bil2diva(layerProcessDir.getAbsolutePath() + File.separator + layerName, divaDir.getAbsolutePath() + File.separator + layerName, units);if (!bil2DivaSuccess) {throw new RuntimeException(\"Bil2diva Failed\");}System.out.println(\"Running GridLegend\");boolean gridLegendSuccess = GridLegend.generateGridLegend(divaDir.getAbsolutePath() + File.separator + layerName, legendDir.getAbsolutePath() + File.separator + layerName, 1, false);if (!gridLegendSuccess) {throw new RuntimeException(\"GridLegend Failed\");}System.out.println(\"Running gdal_translate\");File geotiffFile = new File(geotiffDir, layerName + \".tif\");Process procGdalTranslate = Runtime.getRuntime().exec(new String[] { \"gdal_translate\", \"-of\", \"GTiff\", bilFile.getAbsolutePath(), geotiffFile.getAbsolutePath() });int gdalTranslateReturnVal = procGdalTranslate.waitFor();if (gdalTranslateReturnVal != 0) {String gdalTranslateErrorOutput = IOUtils.toString(procGdalTranslate.getErrorStream());throw new RuntimeException(\"gdal_translate failed: \" + gdalTranslateErrorOutput);}System.out.println(\"Extracting extents and min/max environmental value from diva .grd file\");File divaGrd = new File(divaDir, layerName + \".grd\");if (!divaGrd.exists()) {throw new RuntimeException(\"Could not locate diva .grd file: \" + divaGrd.toString());}String strDivaGrd = FileUtils.readFileToString(divaGrd);float minValue = Float.parseFloat(matchPattern(strDivaGrd, \"^MinValue=(.+)$\"));float maxValue = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxValue=(.+)$\"));float minLatitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MinY=(.+)$\"));float maxLatitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxY=(.+)$\"));float minLongitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MinX=(.+)$\"));float maxLongitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxX=(.+)$\"));System.out.println(\"Generating ID for new layer...\");Statement st = conn.createStatement();ResultSet rs = st.executeQuery(\"SELECT MAX(id) from layers\");rs.next();int id = 1;String idAsString = rs.getString(1);if (idAsString != null) {id = Integer.parseInt(idAsString);id++;}String displayPath = MessageFormat.format(GEOSERVER_QUERY_TEMPLATE, layerName);System.out.println(\"Creating layers table entry...\");PreparedStatement createLayersStatement = createLayersInsert(conn, id, layerDescription, divaDir.getAbsolutePath(), layerName, displayPath, minLatitude, minLongitude, maxLatitude, maxLongitude, minValue, maxValue, units);createLayersStatement.execute();System.out.println(\"Creating fields table entry...\");PreparedStatement createFieldsStatement = createFieldsInsert(conn, id, layerName, layerDescription);createFieldsStatement.execute();DefaultHttpClient httpClient = new DefaultHttpClient();httpClient.getCredentialsProvider().setCredentials(new AuthScope(\"localhost\", 8082), new UsernamePasswordCredentials(geoserverUsername, geoserverPassword));System.out.println(\"Creating layer in geoserver...\");HttpPut createLayerPut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/workspaces/ALA/coveragestores/%s/external.geotiff\", layerName));createLayerPut.setHeader(\"Content-type\", \"text/plain\");createLayerPut.setEntity(new StringEntity(geotiffFile.toURI().toURL().toString()));HttpResponse createLayerResponse = httpClient.execute(createLayerPut);if (createLayerResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Error creating layer in geoserver: \" + createLayerResponse.toString());}EntityUtils.consume(createLayerResponse.getEntity());System.out.println(\"Creating style in geoserver\");HttpPost createStylePost = new HttpPost(\"http://localhost:8082/geoserver/rest/styles\");createStylePost.setHeader(\"Content-type\", \"text/xml\");createStylePost.setEntity(new StringEntity(String.format(\"\", layerName, layerName)));HttpResponse createStyleResponse = httpClient.execute(createLayerPut);if (createStyleResponse.getStatusLine().getStatusCode() != 201) {throw new RuntimeException(\"Error creating style in geoserver: \" + createStyleResponse.toString());}EntityUtils.consume(createStyleResponse.getEntity());System.out.println(\"Uploading sld file to geoserver\");File sldFile = new File(legendDir, layerName + \".sld\");String sldData = FileUtils.readFileToString(sldFile);HttpPut uploadSldPut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/styles/%s_style\", layerName));uploadSldPut.setHeader(\"Content-type\", \"application/vnd.ogc.sld+xml\");uploadSldPut.setEntity(new StringEntity(sldData));HttpResponse uploadSldResponse = httpClient.execute(uploadSldPut);if (uploadSldResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Error uploading sld file geoserver: \" + uploadSldResponse.toString());}EntityUtils.consume(uploadSldResponse.getEntity());System.out.println(\"Setting default style in geoserver\");HttpPut setDefaultStylePut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/layers/ALA:%s\", layerName));setDefaultStylePut.setHeader(\"Content-type\", \"text/xml\");setDefaultStylePut.setEntity(new StringEntity(String.format(\"true%s_style\", layerName)));HttpResponse setDefaultStyleResponse = httpClient.execute(createLayerPut);if (setDefaultStyleResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Setting default style in geoserver: \" + setDefaultStyleResponse.toString());}EntityUtils.consume(setDefaultStyleResponse.getEntity());conn.commit();} catch (Exception ex) {ex.printStackTrace();conn.rollback();}}public byte[] getBytesFromUrl(String url) {try {HttpGet get = new HttpGet(url);HttpResponse response = this.getHttpClient().execute(get);HttpEntity entity = response.getEntity();if (entity == null) {throw new RuntimeException(\"response body was empty\");}return EntityUtils.toByteArray(entity);} catch (RuntimeException ex) {throw ex;} catch (Exception ex) {throw new RuntimeException(ex);}}public String get(String url) {try {HttpGet get = new HttpGet(url);HttpResponse response = this.getHttpClient().execute(get);HttpEntity entity = response.getEntity();if (entity == null) {throw new RuntimeException(\"response body was empty\");}return EntityUtils.toString(entity);} catch (RuntimeException ex) {throw ex;} catch (Exception ex) {throw new RuntimeException(ex);}}public TestReport runImpl() throws Exception {String parser = XMLResourceDescriptor.getXMLParserClassName();DocumentFactory df = new SAXDocumentFactory(GenericDOMImplementation.getDOMImplementation(), parser);File f = (new File(testFileName));URL url = f.toURL();Document doc = df.createDocument(null, rootTag, url.toString(), url.openStream());Element e = doc.getElementById(targetId);if (e == null) {DefaultTestReport report = new DefaultTestReport(this);report.setErrorCode(ERROR_GET_ELEMENT_BY_ID_FAILED);report.addDescriptionEntry(ENTRY_KEY_ID, targetId);report.setPassed(false);return report;}Document otherDocument = df.createDocument(null, rootTag, url.toString(), url.openStream());DocumentFragment docFrag = otherDocument.createDocumentFragment();try {docFrag.appendChild(doc.getDocumentElement());} catch (DOMException ex) {return reportSuccess();}DefaultTestReport report = new DefaultTestReport(this);report.setErrorCode(ERROR_EXCEPTION_NOT_THROWN);report.setPassed(false);return report;}public static ChannelIF addChannel(String url) throws Exception {ChannelIF channel = null;try {channel = FeedParser.parse(new ChannelBuilder(), url);if (channel.getLocation() == null) channel.setLocation(new URL(url));} catch (ParseException e) {InputStream is = new URL(url).openStream();InputStreamReader reader = new InputStreamReader(is);channel = FeedParser.parse(new ChannelBuilder(), reader);reader.close();is.close();if (channel.getLocation() == null) channel.setLocation(new URL(url));}DAOChannel.addChannel(channel);DAOFavicon.addFaviconForChannel(channel);return channel;}public boolean consolidateCrossrefGet(BiblioItem bib, ArrayList bib2) throws Exception {boolean result = false;String doi = bib.getDOI();String aut = bib.getFirstAuthorSurname();String title = bib.getTitle();String firstPage = null;String pageRange = bib.getPageRange();int beginPage = bib.getBeginPage();if (beginPage != -1) {firstPage = \"\" + beginPage;} else if (pageRange != null) {StringTokenizer st = new StringTokenizer(pageRange, \"--\");if (st.countTokens() == 2) {firstPage = st.nextToken();} else if (st.countTokens() == 1) firstPage = pageRange;}if (aut != null) {aut = TextUtilities.removeAccents(aut);}if (title != null) {title = TextUtilities.removeAccents(title);}if (doi != null) {if (doi.startsWith(\"doi:\") | doi.startsWith(\"DOI:\")) {doi.substring(4, doi.length());doi = doi.trim();}doi = doi.replace(\" \", \"\");String xml = null;if (cCon != null) {PreparedStatement pstmt = null;try {pstmt = cCon.prepareStatement(QUERY_CROSSREF_SQL3);pstmt.setString(1, doi);ResultSet res = pstmt.executeQuery();if (res.next()) {xml = res.getString(1);}res.close();pstmt.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF CACHE\");se.printStackTrace();} finally {try {if (pstmt != null) pstmt.close();} catch (SQLException se) {}}if (xml != null) {InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser parser = spf.newSAXParser();parser.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}}}if (xml == null) {String subpath = String.format(DOI_BASE_QUERY, crossref_id, crossref_pw, doi);URL url = new URL(\"http://\" + crossref_host + \"/\" + subpath);System.out.println(\"Sending: \" + url.toString());HttpURLConnection urlConn = null;try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e) {this.setProxy();try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e2) {e2.printStackTrace();urlConn = null;}}if (urlConn != null) {try {urlConn.setDoOutput(true);urlConn.setDoInput(true);urlConn.setRequestMethod(\"GET\");urlConn.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");InputStream in = urlConn.getInputStream();xml = TextUtilities.convertStreamToString(in);InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser parser = spf.newSAXParser();parser.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}urlConn.disconnect();} catch (Exception e) {System.err.println(\"Warning: Consolidation set true, but the online connection to Crossref fails.\");}if (cCon != null) {PreparedStatement pstmt2 = null;try {pstmt2 = cCon.prepareStatement(INSERT_CROSSREF_SQL3);pstmt2.setString(1, doi);pstmt2.setString(2, xml);pstmt2.executeUpdate();pstmt2.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF UPDATE\");} finally {try {if (pstmt2 != null) pstmt2.close();} catch (SQLException se) {}}}}}} else if ((title != null) & (aut != null)) {String xml = null;if (cCon != null) {PreparedStatement pstmt = null;try {pstmt = cCon.prepareStatement(QUERY_CROSSREF_SQL);pstmt.setString(1, aut);pstmt.setString(2, title);ResultSet res = pstmt.executeQuery();if (res.next()) {xml = res.getString(1);}res.close();pstmt.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF CACHE\");se.printStackTrace();} finally {try {if (pstmt != null) pstmt.close();} catch (SQLException se) {}}if (xml != null) {InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser parser = spf.newSAXParser();parser.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}}}if (xml == null) {String subpath = String.format(TITLE_BASE_QUERY, crossref_id, crossref_pw, URLEncoder.encode(title), URLEncoder.encode(aut));URL url = new URL(\"http://\" + crossref_host + \"/\" + subpath);System.out.println(\"Sending: \" + url.toString());HttpURLConnection urlConn = null;try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e) {this.setProxy();try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e2) {e2.printStackTrace();urlConn = null;}}if (urlConn != null) {try {urlConn.setDoOutput(true);urlConn.setDoInput(true);urlConn.setRequestMethod(\"GET\");urlConn.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");InputStream in = urlConn.getInputStream();xml = TextUtilities.convertStreamToString(in);InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser parser = spf.newSAXParser();parser.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}urlConn.disconnect();} catch (Exception e) {System.err.println(\"Warning: Consolidation set true, but the online connection to Crossref fails.\");}if (cCon != null) {PreparedStatement pstmt2 = null;try {pstmt2 = cCon.prepareStatement(INSERT_CROSSREF_SQL);pstmt2.setString(1, aut);pstmt2.setString(2, bib.getTitle());pstmt2.setString(3, xml);pstmt2.executeUpdate();pstmt2.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF UPDATE\");} finally {try {if (pstmt2 != null) pstmt2.close();} catch (SQLException se) {}}}}}} else if ((firstPage != null) & (bib.getJournal() != null) & (bib.getVolume() != null)) {String subpath = String.format(JOURNAL_BASE_QUERY, crossref_id, crossref_pw, URLEncoder.encode(bib.getJournal()), URLEncoder.encode(bib.getVolume()), firstPage);URL url = new URL(\"http://\" + crossref_host + \"/\" + subpath);String urlmsg = url.toString();System.out.println(urlmsg);String xml = null;if (cCon != null) {PreparedStatement pstmt = null;try {pstmt = cCon.prepareStatement(QUERY_CROSSREF_SQL2);pstmt.setString(1, urlmsg);ResultSet res = pstmt.executeQuery();if (res.next()) {xml = res.getString(1);}res.close();pstmt.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF CACHE\");se.printStackTrace();} finally {try {if (pstmt != null) pstmt.close();} catch (SQLException se) {}}if (xml != null) {InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser parser = spf.newSAXParser();parser.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}}}if (xml == null) {System.out.println(\"Sending: \" + urlmsg);HttpURLConnection urlConn = null;try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e) {this.setProxy();try {urlConn = (HttpURLConnection) url.openConnection();} catch (Exception e2) {e2.printStackTrace();urlConn = null;}}if (urlConn != null) {try {urlConn.setDoOutput(true);urlConn.setDoInput(true);urlConn.setRequestMethod(\"GET\");urlConn.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");InputStream in = urlConn.getInputStream();xml = TextUtilities.convertStreamToString(in);InputSource is = new InputSource();is.setCharacterStream(new StringReader(xml));DefaultHandler crossref = new crossrefUnixrefSaxParser(bib2);SAXParserFactory spf = SAXParserFactory.newInstance();SAXParser p = spf.newSAXParser();p.parse(is, crossref);if (bib2.size() > 0) {if (!bib2.get(0).getError()) result = true;}in.close();urlConn.disconnect();} catch (Exception e) {System.err.println(\"Warning: Consolidation set true, but the online connection to Crossref fails.\");}if (cCon != null) {PreparedStatement pstmt2 = null;try {pstmt2 = cCon.prepareStatement(INSERT_CROSSREF_SQL2);pstmt2.setString(1, urlmsg);pstmt2.setString(2, xml);pstmt2.executeUpdate();pstmt2.close();} catch (SQLException se) {System.err.println(\"EXCEPTION HANDLING CROSSREF UPDATE\");} finally {try {if (pstmt2 != null) pstmt2.close();} catch (SQLException se) {}}}}}}return result;}public static void main(String[] arg) throws IOException {XmlPullParserFactory PULL_PARSER_FACTORY;try {PULL_PARSER_FACTORY = XmlPullParserFactory.newInstance(System.getProperty(XmlPullParserFactory.PROPERTY_NAME), null);PULL_PARSER_FACTORY.setNamespaceAware(true);DasParser dp = new DasParser(PULL_PARSER_FACTORY);URL url = new URL(\"http://www.ebi.ac.uk/das-srv/uniprot/das/uniprot/features?segment=P05067\");InputStream in = url.openStream();BufferedReader br = new BufferedReader(new InputStreamReader(in));String aLine, xml = \"\";while ((aLine = br.readLine()) != null) {xml += aLine;}WritebackDocument wbd = dp.parse(xml);System.out.println(\"FIN\" + wbd);} catch (XmlPullParserException xppe) {throw new IllegalStateException(\"Fatal Exception thrown at initialisation. Cannot initialise the PullParserFactory required to allow generation of the DAS XML.\", xppe);}}public static void loadConfig(DeviceEntry defaultDevice, EmulatorContext emulatorContext) {Config.defaultDevice = defaultDevice;Config.emulatorContext = emulatorContext;File configFile = new File(getConfigPath(), \"config2.xml\");try {if (configFile.exists()) {loadConfigFile(\"config2.xml\");} else {configFile = new File(getConfigPath(), \"config.xml\");if (configFile.exists()) {loadConfigFile(\"config.xml\");for (Enumeration e = getDeviceEntries().elements(); e.hasMoreElements(); ) {DeviceEntry entry = (DeviceEntry) e.nextElement();if (!entry.canRemove()) {continue;}removeDeviceEntry(entry);File src = new File(getConfigPath(), entry.getFileName());File dst = File.createTempFile(\"dev\", \".jar\", getConfigPath());IOUtils.copyFile(src, dst);entry.setFileName(dst.getName());addDeviceEntry(entry);}} else {createDefaultConfigXml();}saveConfig();}} catch (IOException ex) {Logger.error(ex);createDefaultConfigXml();} finally {if (configXml == null) {createDefaultConfigXml();}}urlsMRU.read(configXml.getChildOrNew(\"files\").getChildOrNew(\"recent\"));initSystemProperties();}", "out": "1", "pred": "1"} {"in": "People can die from COPD.To make it hard for the Germans to launch attacks during the sea attack phase, airborne operations were used to capture bridges and road crossings.Any observed evolutionary change is described by them as being \"just microevolution\".Occasionally her tendency to exaggerate and glamorize the facts gets her into trouble.Michelle Vogel, Gene Tierney: A Biography (Jefferson: McFarland & Company, Inc., Publishers, 2005), p. 115 She went on to star in several films.At the end of each stage, the gods would destroy the world and create a new one but only four times.Autoloaders and tape libraries are frequently used to automate cartridge handling.", "out": "0", "pred": "0"} {"in": "El 2-12 era un robusto planeador capaz de realizar vuelos a alta cota y fue muy buscado tras la Segunda Guerra Mundial.El 5 de noviembre 2010 Albrighton firmó un nuevo contrato mantenerlo en el club hasta 2014.En 1925, se hizo miembra del Lyceum Club.La intoxicación también puede causar sed, insomnio, náusea, pérdida de peso y alteraciones del humor.En el disco Guccini retomó una canción de la Asamblea Musical Teatral, escrita por Gian Piero Alloisio, Venecia (para la que realizó algunas pequeñas modificaciones al texto).Esta vez Sting, pudo derrotar a Hogan por conteo de tres, pero una vez más, Hogan movería sus influencias y la victoria de Sting sólo pudo darse cuando Randy Savage interfirió a favor de Hogan.La ceremonia de colocación de la primera piedra tuvo lugar el 29 de mayo de 2013.", "out": "0", "pred": "0"} {"in": "Sus reuniones de trabajo se separan en dos sesiones.En respuesta, Zhu Di fingió estar enfermo mientras se preparaba para la guerra prevista.La pared interior muestra algo de desplome, y el suelo es irregular, presentando una serie de apilamientos de bloques rocosos en su cuenca.Ta-Nehisi Coates, Wakanda se encuentra en el lago Victoria, cerca de Mohannda, Canaan, Azania y Niganda.Paranoico, se vuelve a acostar… ¡y despierta dos semanas antes!Parte I: lista de especies y distribución por subcuencas.El camino transcurre zigzagueante entre robledales y sotobosques de encinas en las zonas más húmedas.", "out": "0", "pred": "0"} {"in": "橘部長刑事と関根部長刑事が共演する時は橘が「チョウさん」で関根が「関チョウさん」、関根と松木部長刑事共演の時は関根が「チョウさん」で松木は「マッツァン」であった。この文はその前日にスウィフトへ称賛の手紙を送ったアレグザンダー・ポープによるものであると誤って引用されている。ところが、当時の神戸港には「紅丸」ボスの使用人であり、ルーシアスの年長の友であるブーン(スティーブ・マックイーン)がその車の世話を任された。LOL、ROFL、およびその他の頭字語は、コンピュータを介したコミュニケーションから対面のコミュニケーションに移行した。; CM枠が30秒の番組'''ファイル:FukushimaAirportM.体育館と道場、ジムの設備があり、ジムの使用も無料。リンク範囲(link-scoped)マルチキャストアドレスは、互換性のあるフォーマットを使用する RFC 4489, A Method for Generating Link-Scoped IPv6 Multicast Addresses, J-S.KutasとHillyard(1984)は、単語に対するN400の振幅がそのCloze確率とほぼ逆の線形の関係にあることを発見した Kutas, M. et al.", "out": "0", "pred": "0"} {"in": "int main(){char (*pi)[81];int i,m,n,j,ok=0;scanf(\"%d\",&n);pi=(char(*)[81])calloc(n,sizeof(char)*81);gets(*pi);for (i=0;i='A'&&*(*(pi+i))<='Z')||(*(*(pi+i))>='a'&&*(*(pi+i))<='z')||(*(*(pi+i))=='_'))for (j=1;j='A'&&*(*(pi+i)+j)<='Z')||(*(*(pi+i)+j)>='a'&&*(*(pi+i)+j)<='z')||(*(*(pi+i)+j)=='_')||(*(*(pi+i)+j)>='0'&&*(*(pi+i)+j)<='9'));elseelseok=0; printf(\"%d\\n\",ok);}free(pi);return 0;}int main()//???????????,??????????{int n;scanf(\"%d\\n\",&n);int *num;num=(int *)malloc(n*sizeof(int));int i,j;for(i=0;i'9'&&str[j]<'A')||(str[j]>'Z'&&str[j]<'_')||(str[j]>'_'&&str[j]<'a')||str[j]>'z') sign=0; //??????????? cout< params, String secret) {SortedSet keys = new TreeSet(params.keySet());keys.remove(FacebookParam.SIGNATURE.toString());String str = \"\";for (String key : keys) {str += key + \"=\" + params.get(key);}str += secret;try {MessageDigest md = MessageDigest.getInstance(\"MD5\");md.update(str.getBytes(\"UTF-8\"));StringBuilder result = new StringBuilder();for (byte b : md.digest()) {result.append(Integer.toHexString((b & 0xf0) >>> 4));result.append(Integer.toHexString(b & 0x0f));}return result.toString();} catch (Exception e) {throw new RuntimeException(e);}}private void getRandomGUID(boolean secure) {MessageDigest md5 = null;StringBuffer sbValueBeforeMD5 = new StringBuffer();try {md5 = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException e) {System.out.println(\"Error: \" + e);}try {long time = System.currentTimeMillis();long rand = 0;if (secure) {rand = mySecureRand.nextLong();} else {rand = myRand.nextLong();}sbValueBeforeMD5.append(s_id);sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(time));sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(rand));valueBeforeMD5 = sbValueBeforeMD5.toString();md5.update(valueBeforeMD5.getBytes());byte[] array = md5.digest();StringBuffer sb = new StringBuffer();for (int j = 0; j < array.length; ++j) {int b = array[j] & 0xFF;if (b < 0x10) sb.append('0');sb.append(Integer.toHexString(b));}valueAfterMD5 = sb.toString();} catch (Exception e) {System.out.println(\"Error:\" + e);}}private ArrayList execAtParentServer(ArrayList paramList) throws Exception {ArrayList outputList = null;String message = \"\";try {HashMap serverUrlMap = InitXml.getInstance().getServerMap();Iterator it = serverUrlMap.keySet().iterator();while (it.hasNext()) {String server = (String) it.next();String serverUrl = (String) serverUrlMap.get(server);serverUrl = serverUrl + Primer3Manager.servletName;URL url = new URL(serverUrl);URLConnection uc = url.openConnection();uc.setDoOutput(true);OutputStream os = uc.getOutputStream();StringBuffer buf = new StringBuffer();buf.append(\"actionType=designparent\");for (int i = 0; i < paramList.size(); i++) {Primer3Param param = (Primer3Param) paramList.get(i);if (i == 0) {buf.append(\"&sequence=\" + param.getSequence());buf.append(\"&upstream_size\" + upstreamSize);buf.append(\"&downstreamSize\" + downstreamSize);buf.append(\"&MARGIN_LENGTH=\" + marginLength);buf.append(\"&OVERLAP_LENGTH=\" + overlapLength);buf.append(\"&MUST_XLATE_PRODUCT_MIN_SIZE=\" + param.getPrimerProductMinSize());buf.append(\"&MUST_XLATE_PRODUCT_MAX_SIZE=\" + param.getPrimerProductMaxSize());buf.append(\"&PRIMER_PRODUCT_OPT_SIZE=\" + param.getPrimerProductOptSize());buf.append(\"&PRIMER_MAX_END_STABILITY=\" + param.getPrimerMaxEndStability());buf.append(\"&PRIMER_MAX_MISPRIMING=\" + param.getPrimerMaxMispriming());buf.append(\"&PRIMER_PAIR_MAX_MISPRIMING=\" + param.getPrimerPairMaxMispriming());buf.append(\"&PRIMER_MIN_SIZE=\" + param.getPrimerMinSize());buf.append(\"&PRIMER_OPT_SIZE=\" + param.getPrimerOptSize());buf.append(\"&PRIMER_MAX_SIZE=\" + param.getPrimerMaxSize());buf.append(\"&PRIMER_MIN_TM=\" + param.getPrimerMinTm());buf.append(\"&PRIMER_OPT_TM=\" + param.getPrimerOptTm());buf.append(\"&PRIMER_MAX_TM=\" + param.getPrimerMaxTm());buf.append(\"&PRIMER_MAX_DIFF_TM=\" + param.getPrimerMaxDiffTm());buf.append(\"&PRIMER_MIN_GC=\" + param.getPrimerMinGc());buf.append(\"&PRIMER_OPT_GC_PERCENT=\" + param.getPrimerOptGcPercent());buf.append(\"&PRIMER_MAX_GC=\" + param.getPrimerMaxGc());buf.append(\"&PRIMER_SELF_ANY=\" + param.getPrimerSelfAny());buf.append(\"&PRIMER_SELF_END=\" + param.getPrimerSelfEnd());buf.append(\"&PRIMER_NUM_NS_ACCEPTED=\" + param.getPrimerNumNsAccepted());buf.append(\"&PRIMER_MAX_POLY_X=\" + param.getPrimerMaxPolyX());buf.append(\"&PRIMER_GC_CLAMP=\" + param.getPrimerGcClamp());}buf.append(\"&target=\" + param.getPrimerSequenceId() + \",\" + (param.getTarget())[0] + \",\" + (param.getTarget())[1]);}PrintStream ps = new PrintStream(os);ps.print(buf.toString());ps.close();ObjectInputStream ois = new ObjectInputStream(uc.getInputStream());outputList = (ArrayList) ois.readObject();ois.close();}} catch (IOException e1) {e1.printStackTrace();}if ((outputList == null || outputList.size() == 0) && message != null && message.length() > 0) {throw new Exception(message);}return outputList;}public DownloadThread call() throws UpdateModException {try {Thread.currentThread().setName(\"Download - \" + modName);if (url != null) {URL urls = new URL(this.url);URLConnection connection = urls.openConnection();connection.setConnectTimeout(7500);InputStream is = urls.openStream();String filename = null;if (path == null || path.isEmpty()) {String pattern = \"[^a-z,A-Z,0-9, ,.]\";filename = this.url.substring(this.url.lastIndexOf(\"/\") + 1).replace(\"%20\", \" \");filename = filename.replaceAll(pattern, \"\");} else {filename = path;}FileOutputStream fos = null;file = new File(System.getProperty(\"java.io.tmpdir\") + File.separator + filename);fos = new FileOutputStream(file, false);FileUtils.copyInputStream(is, fos);is.close();fos.flush();fos.close();}} catch (MalformedURLException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);} catch (ConnectException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);} catch (NullPointerException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);} catch (InvalidParameterException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);} catch (FileNotFoundException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);} catch (IOException ex) {System.out.println(ex);file = null;throw new UpdateModException(null, ex);}return this;}@SuppressWarnings(\"static-access\")@Overrideprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException {PrintWriter writer = null;InputStream is = null;FileOutputStream fos = null;try {writer = response.getWriter();} catch (IOException ex) {log(OctetStreamReader.class.getName() + \"has thrown an exception: \" + ex.getMessage());}String filename = request.getHeader(\"X-File-Name\");try {filename = URLDecoder.decode(filename, \"utf-8\");} catch (UnsupportedEncodingException e) {e.printStackTrace();}try {is = request.getInputStream();File newFile = new File(realPath + filename);if (!newFile.exists()) {fos = new FileOutputStream(new File(realPath + filename));IOUtils.copy(is, fos);response.setStatus(response.SC_OK);writer.print(\"{success: true,detailMsg}\");} else {response.setStatus(response.SC_INTERNAL_SERVER_ERROR);writer.print(\"{success: false,detailMsg:'文件已经存在!请重命名后上传!'}\");log(OctetStreamReader.class.getName() + \"has thrown an exception: \" + filename + \" has existed!\");}} catch (FileNotFoundException ex) {response.setStatus(response.SC_INTERNAL_SERVER_ERROR);writer.print(\"{success: false}\");log(OctetStreamReader.class.getName() + \"has thrown an exception: \" + ex.getMessage());} catch (IOException ex) {response.setStatus(response.SC_INTERNAL_SERVER_ERROR);writer.print(\"{success: false}\");log(OctetStreamReader.class.getName() + \"has thrown an exception: \" + ex.getMessage());} finally {try {fos.close();is.close();} catch (IOException ignored) {}}writer.flush();writer.close();}@Overridepublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {response.setContentType(\"text/html\");PrintWriter out = response.getWriter();int i;String dicomURL = request.getParameter(\"datasetURL\");String contentType = request.getParameter(\"contentType\");String studyUID = request.getParameter(\"studyUID\");String seriesUID = request.getParameter(\"seriesUID\");String objectUID = request.getParameter(\"objectUID\");dicomURL += \"&contentType=\" + contentType + \"&studyUID=\" + studyUID + \"&seriesUID=\" + seriesUID + \"&objectUID=\" + objectUID + \"&transferSyntax=1.2.840.10008.1.2.1\";dicomURL = dicomURL.replace(\"+\", \"%2B\");InputStream is = null;DataInputStream dis = null;try {URL url = new URL(dicomURL);is = url.openStream();dis = new DataInputStream(is);for (i = 0; i < dicomData.length; i++) dicomData[i] = dis.readUnsignedByte();String windowCenter = getElementValue(\"00281050\");String windowWidth = getElementValue(\"00281051\");request.getSession(true).setAttribute(WINDOW_CENTER_PARAM, windowCenter == null ? null : windowCenter.trim());request.getSession(true).setAttribute(WINDOW_WIDTH_PARAM, windowWidth == null ? null : windowWidth.trim());dis.skipBytes(50000000);is.close();dis.close();out.println(\"Success\");out.close();} catch (Exception e) {log.error(\"Unable to read and send the DICOM dataset page\", e);}}protected static Parser buildParser(URL url) throws IOException, ParserException {Parser parser;URLConnection connection = openConnection(url);if (!(connection instanceof HttpURLConnection) || ((HttpURLConnection) connection).getResponseCode() == 200) {parser = new Parser(connection);} else {parser = null;}return parser;}private String load(URL url) {BufferedReader r = null;try {r = new BufferedReader(new InputStreamReader(url.openStream()));StringBuffer buf = new StringBuffer();while (r.ready()) {buf.append(r.readLine()).append('\\n');}r.close();return buf.toString();} catch (IOException e) {e.printStackTrace();return null;}}public InputStream getDaoConfig(String connectionType) throws IOException {URL url = null;if (connectionType.equals(SQL.ORACLE)) {url = com.apelon.dts.db.admin.config.MigrateConfig.class.getResource(\"oracle.xml\");} else if (connectionType.equals(SQL.SQL2K)) {url = com.apelon.dts.db.admin.config.MigrateConfig.class.getResource(\"sql2k.xml\");}return url.openStream();}public static void test2() throws Exception {int keySize = 1024;int dBlockSize = keySize / 8;int eBlockSize = dBlockSize - 8 - 3;CertAndKeyGen certAndKeyGen = new CertAndKeyGen(\"RSA\", \"MD5WithRSA\");certAndKeyGen.generate(keySize);PublicKey publicKey = certAndKeyGen.getPublicKey();PrivateKey privateKey = certAndKeyGen.getPrivateKey();Cipher cipher1 = Cipher.getInstance(\"RSA/ECB/PKCS1Padding\");cipher1.init(Cipher.ENCRYPT_MODE, publicKey);String fileA = \"C:/temp/a.txt\";String fileB = \"C:/temp/b.txt\";String fileC = \"C:/temp/c.txt\";FileInputStream fis = new FileInputStream(fileA);FileOutputStream fos = new FileOutputStream(fileB, false);CipherOutputStream eos = new CipherOutputStream(fos, cipher1, eBlockSize);byte[] b = new byte[128];int i = fis.read(b);while (i != -1) {eos.write(b, 0, i);i = fis.read(b);}eos.flush();eos.close();fos.close();Cipher cipher2 = Cipher.getInstance(\"RSA/ECB/PKCS1Padding\");cipher2.init(Cipher.DECRYPT_MODE, privateKey);fis = new FileInputStream(fileB);CipherInputStream cis = new CipherInputStream(fis, cipher2, dBlockSize);FileOutputStream decodedFile = new FileOutputStream(fileC, false);int read = -1;while ((read = cis.read()) > -1) {decodedFile.write(read);}decodedFile.close();fis.close();}", "out": "1", "pred": "1"} {"in": "、2006年経営行動科学学会にて事例報告される。韓国軍はさらなる犠牲者や兵長の自殺を考慮し、兵長を包囲をすると、説得に方針転換したという。23日からは射殺の意志がないことを示し、特攻連隊長、特攻連隊中隊長、8軍団憲兵隊長による3人での説得を開始。実は動いているのは魔力によるダミーで、本体は小さなカプセルの中にあり、弱点でもある。その後、先頭車はクレーンで撤去され、後ろの2両は機関車で牽引された patrick lee.その後ベビーが使ってしまい、ピッコロ自身が究極のドラゴンボールを消滅させるため滅びゆく地球と運命を共にしたため、叶えることも不可能となった。) 戦史叢書 関東軍(1)、314~315頁。内野スタンドの自由席を廃止した2014年以降は、場内スタンドの全座席が指定席になっている。インディアナ高校法医学協会を通じてスピーチとディベートに参加。なお、ラジオNIKKEIでは2019年現在でも東日本のレースを扱う第1放送が旧競馬研究出身ないしは関東他紙からの移籍者、西日本のレースを放送する第2放送は旧競馬ニュース・競馬ダービー出身のトラックマンと担当が分けられている。左SB(LB)のレギュラーとして 2012年リーグ2位、2013年超級杯優勝、2015年足協杯優勝。", "out": "0", "pred": "0"} {"in": "Роберт Кёрнс изобрёл прерыватель работы стеклоочистителя и предложил его крупной компании, но его изобретение отвергли.» во время Первой мировой войны.Формула служит микроединицей действия, способной комбинироваться с другими формулами, образуя речевой отрезок.Повышая уровень лорда, игрок получает доступ к новым героям.Здесь наступающие 21-я, 5-я гвардейская и 6-я армии встретили упорное сопротивление в районе крепости Бреслау.Валерий Аркадьевич Демидов (27 декабря 1861, село Быковка, Васильсурский уезд, Нижегородская губерния — не ранее 1922) — российский общественный, земской и церковный деятель, действительный статский советник.Тяжелая и выверенная работа принесла Дэю седьмой и последний в жизни «Оскар».Но башню всё равно построили, а королева придумала для неё название и велела высечь его на наружной стене.Активно используется в политической борьбе: «Понимаете, человек, который придумал название „выхухоль“, не может быть президентом России.Доза препарата является максимальной у детей, и после внутримышечного введения абсорбция активного вещества происходит в течение длительного времени (21—28 дней).", "out": "0", "pred": "0"} {"in": "Tom, che vive con la giovane figlia Rose, si infila quindi in un pericoloso gioco nel quale scopre poi che è stato il suo stesso amico a volerlo immischiare.», del quale sarebbe stato prima redattore e poi direttore nel periodo dal 1918 al 1952, cioè quasi fino alla morte.Rimasto solo, Orfeo canta la sua disperazione nell 'Per Zaccaria, la percezione di Agostino del male come una privazione, non è dunque una risposta soddisfacente alle domande della società moderna sul perché esista la sofferenza.La chiave, tuttavia, non sblocca la trappola e Kerry muore dilaniata.Gettare le basi per una pacifica unificazione attraverso una cooperazione reciprocamente vantaggiosa.Come regista, Redford segue un percorso artistico che gli vale il riconoscimento di critica e pubblico alla sua professionalità.", "out": "0", "pred": "0"} {"in": "Zudem finden sich einige kürzere und weniger komplexe Stücke.Nach einigen Auseinandersetzungen lässt Murdock Evelyn entführen und droht damit, sie mit seiner Gang zu vergewaltigen.Marling schrieb, dass sie von der Fantreue bewegt war.Bis Saisonende kam er zu zwei Einsätzen in der Pro League.Das harmonische Mittel aus 1 und 2 ergibt sich also aus dem reziproken arithmetischen Mittel aus 1 und 1/2.Von 1791 bis 1920 war es im Besitz der Familie de La Croix.Das Landschaftsschutzgebiet Lantschfeld, Oberes Zederhaustal, Oberes Murtal spart nur etwa 50 ha um die direkte Passhöhe aus.", "out": "0", "pred": "0"} {"in": "Baile beag é Uibhle (", "out": "0", "pred": "0"} {"in": "He made a record twenty-five title defenses before giving up the title in 1949.Upon its head sits the missing cat.Chronic toxicity talks about the bad health effects from many exposures, often at lower levels, to a substance over a longer amount of time (months or years).He could speak fluent Latin, French and Spanish.National energy policy has a significant effect on energy usage across all four sectors.British Journal of Social and Clinical Psychology 9: 222-231.Both the wood vessels and the gourds must undergo curing to get a better taste before being used for the first time and to ensure the long life of the gourd.", "out": "0", "pred": "0"} {"in": "Se conservan las piedras laterales del corredor y la cámara, mientras falta el techo.Los israelíes también consolidaron su dominio en Karameh y comenzaron a demoler el campamento.Mientras se recuperaba, el Pingüino expresó su atracción por Dove.Al menos 23 personas murieron en los primeros días, pero con los efectos posteriores se habla de una cifra cercana a las 160 víctimas.Las dos mujeres no reaccionaron a sus sentencias.Como indica su nombre, «protectores domésticos», se consideraban parte de la casa del emperador.Si es así estamos ante un argumento sólido.", "out": "0", "pred": "0"} {"in": "def find_lucas(n): \n\tif (n == 0): \n\t\treturn 2\n\tif (n == 1): \n\t\treturn 1\n\treturn find_lucas(n - 1) + find_lucas(n - 2) ", "out": "1", "pred": "1"} {"in": "The spines inflict a painful wound when they penetrate human skin, but are usually not dangerous.The hall is a Jacobean mansion, built partly with stone from the Abbey ruins.There are 16 species worldwide and 2 species which occur in Azerbaijan.The second 8 part series began on 11 September 2008 at 10pm.The Joker Is Wild is a 1957 American biographical musical drama movie directed by Charles Vidor and based on the biography of Joe E. Lewis by Art Cohn.Where Dease Lake is located in the province of British Columbia.We use the same word \"man\": The man sees the woman and The woman sees the man.", "out": "0", "pred": "0"} {"in": "Im Jahr 2011 betrug die Bevölkerung 12.898 auf einer Gesamtfläche von 1.180 km².Fledermausaare brüten in großen Teilen des Verbreitungsgebietes nicht zu festen Jahreszeiten, die Brutzeit richtet sich weitgehend nach dem Nahrungsangebot.Anfangs hinterließen die Lokomotiven einen starken Eindruck.Lange 1958, S. 23 Alfred Lange, ein begnadeter Redner aus der Schule des Rhetorikers und Sprecherziehers Fritz Schweinsberg, bildetet die einzelnen Stefanusfreunde in den Kreisen weiter.Mit der Kapitulation Deutschlands endete auch das Bestehen der Gauliga Südhannover-Braunschweig.Seit dieser schockierenden Erfahrung Zu den Nachwirkungen des Aufstands siehe Gene A. Brucker: The Ciompi Revolution.Hosen im Auftrag der Regierung herstellte.", "out": "0", "pred": "0"} {"in": "В последующие годы играл во многих постановках театра.В течение 8 лет под девизом «Первый раз в первый класс» накануне учебного года 50-60 ребятишек из многодетных малообеспеченных семей, а также дети инвалиды и сироты получают портфели с полным набором школьных принадлежностей.В общей сложности руководил разработкой 13 изделий, принятых на вооружение, что можно считать рекордом.В ледовом дворце работают прокат коньков и их заточка, а также сервис по починке клюшек.Фомы Александровича Фененко, который работал там столоначальником в правлении Орловского государственного заемного банка, затем помощником управляющего Орловской удельной конторы, и его жены Варвары Александровны.Крестьяне-артельщики перешли на производство масла, преимущественно голштинского.По подсчётам издания «На 1 января 1931 года в районе насчитывалось 34 сельских советов, 108 населённых пунктов.Учредитель благотворительного фонда для молодых адвокатов (1904).После небольшого перерыва в карьере из-за автомобильной аварии 2007 года, впоследствии которой актриса проходила длительный курс восстановления и прибегала к услугам пластических хирургов для восстановления своего лица, она сыграла роль-", "out": "0", "pred": "0"} {"in": "そこで船の奪取を企てるが、その最中にロボットが襲来。しかし、来季の契約を勝ち取ることはできず、10月1日に契約を更新しない旨が発表された 。10月31日、自由契約公示 :引数 archiveurl と archivedate は両方を指定してください。ライブは商店街公認で、熱狂的ファンが居るほどの人気。その後、再び塗装が汚れてからは汚れる仕事を避けようとは思わなくなった。、12回3-0(117-108、2者が117-108、118-107)の判定勝ちを収め、フライ級に続く2階級制覇に成功した。寺社などの創設年について、書かれた当時から逆算した年数を記している。; 中御座神輿 ( なかござみこし 、 ( 通称「三若神輿」、古称「大宮神輿」)特別啓示(とくべつけいじ、Special revelation)とは、出演:猪熊兼勝、上野誠、やすみりえ、上田悦子、浅越ゴエ / 浜村淳、チキンガーリックステーキ、加藤ヒロユキ、近藤光史、野村啓司、子守康範、上泉雄一、亀山つとむ、今岡誠、くっすん、柏木宏之、武川智美、仙田和吉、河田直也、上田悦子 / 太田夢莉、赤澤萌乃、小林莉加子、久代梨奈〔NMB48チームBII〕 / 茶屋町スウィングガール?もっともこれとは逆に、マイケルの母親は、米国文化の優越感から、日本を「カミカゼとハラキリの怖い国」とみなす偏見に満ちた手紙を出しており、監督は両国の文化的齟齬を両国民の無知と誤解という次元でユーモラスに相殺している。", "out": "0", "pred": "0"} {"in": "def count_vowels(test_str):\n res = 0\n vow_list = ['a', 'e', 'i', 'o', 'u']\n for idx in range(1, len(test_str) - 1):\n if test_str[idx] not in vow_list and (test_str[idx - 1] in vow_list or test_str[idx + 1] in vow_list):\n res += 1\n if test_str[0] not in vow_list and test_str[1] in vow_list:\n res += 1\n if test_str[-1] not in vow_list and test_str[-2] in vow_list:\n res += 1\n return (res) ", "out": "1", "pred": "1"} {"in": "Dies wäre bei einer Blasenmasse von 7,69·10 −4 kg/m 2 der Fall.Hauch besuchte die Bürgerschule, erlernte danach den Beruf des Gärtners und war von 1892 bis 1904 in diesem Beruf tätig.Die Natur hatte sich schon große Teile der Bebauung zurückerobert, die von Efeu und Bäumen überwuchert waren und dadurch auseinanderbrachen.In der Saison 1956/57 wurde der Verein südbadischer Amateurmeister.Er ist seit 1994 verheiratet und hat zwei Kinder.Dieses ist der imaginäre Freund eines kleinen Mädchens namens Hailey, das von einem als Weihnachtsmann verkleideten Mann gekidnappt wurde.Unterer Stadtturm: Zwischen den 18 burgundischen Wappen ist Maximilian dargestellt.", "out": "0", "pred": "0"} {"in": "Ideas of a fully independent Scotland have became bigger in the late 20th and 21st century.He arrested Campion and had him sent to London for trial and execution.Humanely taken, all, all lost, quite lost.She started her career as a child when in 1993 she become vocalist at Trio Laris group, then in 1998 she began a career in television as host at Kring Olala at TPI.Bombardier Inc has been given a SR904- million ($241-million) contract to build a monorail system for the King Abdullah Financial District.Emmental is produced in loaves of 70–80 kg.Today, ten different types of eyes are known.", "out": "0", "pred": "0"} {"in": "No se sabe si Balder también se vuelve vulnerable cuando se encuentra en dimensiones distintas a las de Asgard y la Tierra.La estructura ramificada es la más común.A pesar de que LTC partía de cero, su proyecto contaba con profesionales de la televisión británica y apostaba por programas culturales, en línea con las sugerencias de Pilkington.En Brasil la Universidad de Sao Paulo, tiene programas de pos doctorado bajo la supervisión de un investigador experimentado.La policía municipal también hace rondas de vigilancia con cierta frecuencia.Los EE. UU. son actualmente el segundo fabricante más grande del mundo en volumen, con aproximadamente 8-10 millones fabricados anualmente.Luego, en 2018, BOM optó por emitir nueve películas diarias (además de documentales) sin cortes publicitarios y la teletienda se emite desde las 01:45 hasta el inicio de la primera película del día (entre las 09:30 y las 11:00).", "out": "0", "pred": "0"} {"in": "The Bosna basketball club from Sarajevo were European Champions in 1979.The \"Edamthala\" is made of only one/two layer of cow skin and the \"Valamthala\" will have a five/seven layer skin, so as to have a bass sound.These were titled Earl palatine.He also could not be killed in the day or night, or inside or outside of his palace.There are many types of trees.Meat that is cooked less will appear to be more tender and soft.In 1928 he ran for the United States Senate and was defeated by Republican Otis F. Glenn, receiving 46% of the vote.", "out": "0", "pred": "0"} {"in": ")に代言人試験に合格し、翌年に卒業した。シーズン初戦となったサンタルチアステークスを5馬身1/4差で圧勝ののち、この段階では8枚目であり、累積警告による出場停止2回目となって2試合の出場停止、すなわち第33節と第34節(最終節)が出場停止となり、リーグ残り試合に出場できない条件となったが、同じ試合でさらにイエローカードを受けて退場して最初の警告は加算されなくなったことで累積7枚となり、退場による出場停止1試合のみが科されたため、リーグ最終戦に出場できた。登場人物たちは劇団の役者であり、一連の事象が合宿で進行している演技の脚本によるものなのか、それとも実際の殺人事件なのかを確信することができない。また、開放感を持たせるために座席端部の袖仕切りにはガラスが採用されている。私立應南学院高等部(しりつおうながくいんこうとうぶ)は、2008年10月に結成された、、「具足櫓」対岸には平櫓の「鉛御櫓」がある。この地域でトウモロコシ栽培は初めてのことだった。そしてこの毒を持つ魚類が警戒状態にある時や、ストレスを受けた時には分泌量が増える。しかし当時のスタフカは戦略的攻勢に転じる明確な方針を打ち出しており、各方面軍司令部もスタフカの意向に応じて攻勢計画を提出していた 。1942年内の解放を目指すという点で軍とスターリンに考えは一致していた 。", "out": "0", "pred": "0"} {"in": "char a[n][81];//??????memset(a,0,sizeof(a));for(i=0;i='a')&&(a[i][j]<='z'))||((a[i][j]>='A')&&(a[i][j]<='Z')));else {cout<<'0'<='a')&&(a[i][j]<='z'))||((a[i][j]>='A')&&(a[i][j]<='Z'))||((a[i][j]>='0')&&(a[i][j]<='9')))==0){cout<<'0'<=65&&b[i][0]<=90)||(b[i][0]>=97&&b[i][0]<=122)||b[i][0]==95)", "out": "1", "pred": "1"} {"in": "def _sum(arr): \n sum=0\n for i in arr: \n sum = sum + i \n return(sum) ", "out": "1", "pred": "1"} {"in": "judge=1;break;}}j++;}if(judge)printf(\"0\\n\");elseprintf(\"1\\n\");}}main(){int n;int f;getchar();char p[n][100];for(int i=0;i<=n-1;i++){ gets(p[i]); f=0; int l=strlen(p[i]); for(int u=0;u<=l-1;u++) { if(p[i][u]<=47||(p[i][u]>=58&&p[i][u]<=64)||(p[i][u]>=91&&p[i][u]<=94)||(p[i][u]>=123)||p[i][u]==96) f=1; } if(((p[i][0]=='_')||(p[i][0]>='a'&&p[i][0]<='z')||(p[i][0]>='A'&&p[i][0]<='Z'))&&f==0) printf(\"1\\n\"); else printf(\"0\\n\");", "out": "1", "pred": "1"} {"in": "Nel 1675, i suoi possedimenti gli vennero confermati dal raja di Ramnad, Raghunatha Kilavan, che era anche suo cognato.A proposito della decisione riguardante il titolo, la cantante ha spiegato di averlo scelto perché indica «una persona opposta a una determinata politica, attività o idea».Nel corso dell'eccidio morirono oltre settanta persone.Solo allora si ebbe un tentativo del Parlamento britannico di rompere la dipendenza della Gran Bretagna dal legname baltico.In ultima analisi alcuni portali hanno da poco cominciato a pagare addirittura lo streaming delle tracce (sebbene si parli di pochi centesimi di euro).Era previsto che subito dopo sarebbe stata stipulata la pace con la Svezia, vantaggiosa per il partito dei cappelli.Vedovo con a carico Cristina, figlia adolescente, che gli è letteralmente cresciuta sotto gli occhi, si trasferisce nel palazzo di Laura nella prima puntata.", "out": "0", "pred": "0"} {"in": "Erst 1954 kam es zur Ausgliederung und Entstehung der heutigen Gemeinde.Private Schlachtungen finden direkt vor dem oder im eigenen Haus statt.Abziehlacke bestehen aus wässrigen oder lösungsmittelhaltigen Bindemitteln, Dispersionen, Emulsionen oder Lösungen.In Bönitz gibt es den Fußballverein SV Röderland 75. Dessen Männermannschaft spielt gegenwärtig Spielsaison 2008/ 2009 in der 2. Kreisklasse.Dort erreichte Vaněk in seiner zweiten Saison seinen ersten Großerfolg als Trainer.Ende der 1920er Jahre wurden in Leipzig mehrere Volksparkanlagen errichtet.Zählte man 1875 noch 70 ständige Kurgäste, waren es im Jahr 1903 bereits 1829 Urlauber, die Mehrzahl von ihnen Ungarn und Wiener.", "out": "0", "pred": "0"} {"in": "if(origin_string[0]=='_'||(origin_string[0]>='A'&&origin_string[0]<='Z')||(origin_string[0]>='a'&&origin_string[0]<='z')){check=1;} else {check=0;} for(j=1;j='A'&&origin_string[j]<='Z')||(origin_string[j]>='a'&&origin_string[j]<='z')||(origin_string[j]>='0'&&origin_string[j]<='9')){check=1;}else{ check=0;break;}} } printf(\"%d\\n\",check); }}int main(){char a[80];", "out": "1", "pred": "1"} {"in": "Is cosantóir é.", "out": "0", "pred": "0"} {"in": "以前は、加工乳や乳飲料であっても一定以上の成分(無脂乳固形分8.、子宮の収縮や子宮頚管の熟化が促進され頸管無力症のように流産、早産がおこると考えられている。クリル湖でのテレビ番組の取材に同行したとき、テントの中で睡眠中ヒグマに襲われて死亡したケースが有名である。) 『世界の文字の図典』世界の文字研究会 編、吉川弘文館 。しかし、鋳造によるものは冷却および凝固速度が場所によって不均一なため、鍛造あるいは圧延によるものは肉厚不同や熱間加工終了温度の部分的不同のため、過熱異常組織や炭化物の部分的凝集、結晶粒の粗大化や不均一が発生するsfn。フェンディのためにフランシス・クルジャンが調香した、レザーとムスクの香るオリジナルのオードパルファムが調和を奏でます。また19時からの世帯平均視聴率は19.8%(ビデオリサーチ調べ、関東地区)を記録した citation 。、民主党および無党派層内のリベラル派と保守派の間に亀裂を生んだ(ケリーは選挙戦を通じて同性婚には反対するが、、「ビザンツ帝国」、「ビザンティン帝国」などのように呼ばれるが、これらはあくまでも古代との相違点を示すための後世に付けられた便宜的な呼称に過ぎない。一方、タングートは唐の時代から存在したが、上記の吐蕃に圧迫されて甘粛・寧夏地方に北進して、", "out": "0", "pred": "0"} {"in": "Neurologist Antonio Damasio studied patients who had damage to this area of the brain.In tank battle Pakistan has a little edge and is considered to be victorious while the Australian news papesr also consider Pakistan to be the winner of tank battle.David Fefolt is an American hard rock and heavy metal vocalist best known for his work with Hawk, Masi and Angels of Babylon.The partnership of Zong with mobile operators allowed them to charge customers using short numbers.She finally graduated in 1920.When she was a girl she wrote stories.SK Rapid only won the Austrian championship twice since 2000.", "out": "0", "pred": "0"} {"in": "The new service started on 28 December 2012.Depending on the total cost that the monopoly has, a monopoly may be able to earn supernormal profits in the long run.The total population of Andaman, as per the census of 2011, was 356,152.He won the world championship in 1997 with Williams, in only his second season, the first person to do so that quickly (except for the 1950 season, the very first season in F1).This brought new manufactures, such as Cooper to move up to Formula Two.This is the only common year with three occurrences of Friday the 13th, in February, March and November.The arpeggio may either go up or go down, but it is more common going up.", "out": "0", "pred": "0"} {"in": "La estación lluviosa o invierno dura de octubre a mayo, con una temperatura anual promedio que varía de 12 °C a 18 °C.El ataque mató a la agresora e hirió a dos policías, uno de los cuales más tarde falleció debido a sus heridas.En años recientes, ha sido el destino de cientos de refugiados provenientes de países vecinos, principalmente Somalia.Ello se debe a que las reglas de IMO no se extienden a las aguas jurisdiccionales e interiores.Durante el franquismo se permitieron otros dos centros de enseñanza del periodismo, aunque en ambos casos los alumnos de los mismos necesitaban acreditar sus conocimientos con un examen de convalidación realizado por la Escuela Oficial de Periodismo.Como referencia de la comisión nacional de emergencias, el Plan General de Coordinación de los Juegos Nacionales del 2008, el estadio cuenta con una capacidad autorizada de 12 500 espectadores sentados.Tuvo una hija con su esposa Tilda, Cecilia.", "out": "0", "pred": "0"} {"in": "También tenía un hermano mayor llamado Juan II Enríquez de Lacarra Institución Príncipe de Viana (op. cit., p. 600, año 1988).En esta feria, además de artesanía, se pueden encontrar puestos de alimentación tradicional y actividades para los niños.Ludvig Sophus Rudolph Bergh (15 de octubre de 1824 - 1909) fue un médico y zoólogo danés.Sin embargo, le fue bien en TRL dond el vídeo salió al aire el 17 de agosto de 2001.En esta revista se dio a conocer como crítico de arte y también presentó muchos de sus cuentos.Los trenes n.º 6623-6624 de carga con coche de pasajeros circularon entre Federal y Curuzú Cuatiá hasta su cierre en la década de 1990.También es en este año que la radio se muda al primer piso del edificio de la Biblioteca de la UNLP, frente a la Plaza Rocha, y se instala en la residencia que hasta entonces ocupaba el casero del establecimiento.", "out": "0", "pred": "0"} {"in": "La fotografa, che si è salvata scappando nei boschi, riconosce Musumeci che viene così arrestato nella sua officina.Si tratta della più breve dell'album nonché una tra le più veloci ed aggressive del gruppo.Al suo ritorno però, venne accoltellato dai membri della sua stessa gang, probabilmente in quanto questi erano venuti a conoscenza del suo piano per far divenire la sua gang la più temuta di tutto il carcere.Da qui farà uscire successivamente il doppio DVD Stand der Dinge (Lo stato delle cose).Non di secondaria importanza, ma senza togliere coerenza alla vicenda principale, la storia di Lenny, commesso cinefilo in una videoteca, e Lea, cameriera in un fast-food.Il castello di Montegufoni è tutt'ora un'ambita meta turistica essendo uno dei residance più belli della Toscana.Ha dichiarato \"Ho sentito la traccia e mi sono detto, è incredibile!", "out": "0", "pred": "0"} {"in": "Die Art lebte vor etwa 25 Millionen Jahren.Spenden aus dem In- und Ausland trugen dazu bei, den Bau entstehen zu lassen.Nach historischen Aufzeichnungen war dieser Raum dem Zollkommissar vorbehalten.Bei einer Größe von 1,86 m hatte er ein Wettkampfgewicht von 85 kg.Sein Verbreitungsgebiet beschränkt sich auf Feuchtregionen entlang schnellfließender Flüsse.Der erste von Wagen befahrbare Weg wurde 1895 erstellt.So wurde er auf einem Parteikonvent im März 2011 von der Radiomoderatorin und Aktivistin Laurie Roth als ein heimlicher Muslim und Kommunist bezeichnet, der sich nur als Amerikaner ausgebe.", "out": "0", "pred": "0"} {"in": "Sichere Belege für die Existenz der Schola datieren jedoch erst aus dem späten 7. Jahrhundert.Auch heute wieder haben wir vier mutige Kandidaten, die alle der Meinung sind, einen Jäger besiegen zu können.Altgriechisches Amulett MS 5236 mit einer Beschwörung des Gottes Phoebus Apollo.Dementsprechend wurden im August 1945 die vorhandenen Unterlagen an die Militärgeneralstaatsanwaltschaft übergeben.Marcel Lehoux konnte erneut die schnellste Runde des Tages einfahren, allerdings um sieben Sekunden langsamer als am Vortag.Deshalb absolvieren sie vor dem Beginn einer Ausbildung im BFW Weser-Ems oft einen vorbereitenden, meist dreimonatigen Kurs.Später wechselte Fisher zum Schatzamt (National Treasury) und diente beim Personalfond für Staatsbedienstete (Government Employees Pension Fund) als Chef der Abteilung für Kommunikation und Kundendienste.", "out": "0", "pred": "0"} {"in": "def find_Parity(x): \n y = x ^ (x >> 1); \n y = y ^ (y >> 2); \n y = y ^ (y >> 4); \n y = y ^ (y >> 8); \n y = y ^ (y >> 16); \n if (y & 1): \n return True\n return False", "out": "1", "pred": "1"} {"in": "L'attuale Comunità Italiana di Zara, rifondatasi con la dissoluzione della Jugoslavia, è costituita in buon numero proprio da abitanti di Borgo Erizzo rimasti.Gli insigniti della Gran Croce utilizzano il prefisso \"Sua Eccellenza\" mentre gli insigniti della Croce utilizzano il prefisso \"Onorevole\".Come in tutti gli animali simili (i pampateri), la struttura della corazza di Kraglievichia non permetteva all'animale di appallottolarsi come invece avviene nella maggior parte degli armadilli.Attualmente nell'ospedale di Kimbau è l'unico medico curante per 150.000 abitanti in un territorio di 5.000 chilometri quadrati.L'accordo conferiva anche a Silverstein, in qualità di locatario, il diritto di far ricostruire le strutture dell'intero sito qualora una di queste fosse stata distrutta o demolita.L'anno seguente si registrò un piazzamento ancora migliore, ovvero un terzo posto.Nota: ordine convenzionale stilato partendo dal numero complessivo di trofei e sottraendo via via le coppe di minor importanza in caso di equivalenze.", "out": "0", "pred": "0"} {"in": "リチャードは『パッセージ』収録曲の「想い出にさよなら」は、きっとヒットすると感じていたため、A&Mにシングルでのリリースを決断させた。・徳川慶喜(1913年死去)を生で見たことのある人がまだ存命しているのではないかとの仮説の下、高齢者施設や役所などを通じて102歳以上の高齢者に対してインタビューを重ねた結果、105歳の女性から「第2シリーズ (1969年、TBS)』プロモーションも兼ねていた)。、マシンの姿勢変化によるダウンフォース発生量の変化が嫌われるようになったため、徐々にスプリングは硬くなり、ストローク量もきわめて小さくなっている。学校の自治を一任されており、校長に次ぐ絶大な権限を持つ。同年10月24日には社名を富山鉄道に改めた 富山地方鉄道株式会社編、『富山地方鉄道五十年史』(865頁)、1983年(昭和58年)3月、富山地方鉄道 。:月曜 - 金曜 7:55 - 8:00 『河北新報』1971年10月4日 - 11月30日付朝刊、テレビ欄。彼らはそれぞれ作風や立場も明らかに異なっていたが、ジャーナリズムは彼ら全てをひとまとめにし「ヌーヴェル・ヴァーグ」と呼んだ。韓国には小規模なものも含め約30か所のカジノが存在するが、江原ランドだけで韓国国内全てのカジノの総売り上げ・入場者数の50%以上を占めていると言われている :引数 archiveurl と archivedate は両方を指定してください。", "out": "0", "pred": "0"} {"in": "Non di rado al loro interno trovano posto rustici caminetti, cisterne e stipi incastonati nei possenti muri.Vengono condotti una serie di raid aerei contro la città e vengono ammassate truppe e carri armati nella periferia nord.Nel 1942, il RLM cancellò il progetto insieme ad altre soluzioni ancora più ambiziose per concentrare gli sforzi su tecnologie già affermate.Si può arrivare a Veppo dall'Il bacino si estende per 41 km² ed è compreso tra quello del Foro a Nord e quello del Moro a Sud.Un tempo ha ucciso i coniugi Viper e da allora è oggetto del desiderio di vendetta di Ted.Si scoprì però che ad alta velocità la parte posteriore tendeva a sollevarsi riducendo la tenuta di strada e rendendo la guida, a detta dei piloti, molto simile a quella sul ghiaccio.", "out": "0", "pred": "0"} {"in": "os.remove(filename)min([x for x in num_list if x > 2])df['prod_type'] = 'responsive'sorted(lst, key=lambda x: (x < 0, x))six_months = (date.today() + relativedelta(months=(+ 6)))(date(2010, 12, 31) + relativedelta(months=(+ 1)))(date(2010, 12, 31) + relativedelta(months=(+ 2)))print((datetime.date.today() + datetime.timedelta(((6 * 365) / 12))).isoformat())sorted(list(things.keys()), key=lambda x: things[x]['weight'], reverse=True)a[np.arange(len(a)) != 3][x for x in lst if fn(x) != 0]df.set_index('month')arr = [line.split(',') for line in open('./urls-eu.csv')][i for i in range(100) if i > 10 if i < 20]\"\"\"\"\"\".join([c for c in strs if c.isdigit()])", "out": "1", "pred": "1"} {"in": "my_function.__name__np.all(a == a[(0), :], axis=0)sorted(a, key=lambda x: (sum(x[1:3]), x[0]))sorted(a, key=lambda x: (sum(x[1:3]), x[0]), reverse=True)sorted(lst, key=lambda x: (sum(x[1:]), x[0]))sorted(lst, key=lambda x: (sum(x[1:]), x[0]), reverse=True)response.headers['WWW-Authenticate'] = 'Basic realm=\"test\"'del request.session['mykey']datetime.datetime.strptime('24052010', '%d%m%Y').date()re.sub('[^\\\\x00-\\\\x7F]+', ' ', text)numpy.array([[1, 2], [3, 4]])myList = [i for i in range(10)][m[0] for m in re.compile('((.+?)\\\\2+)').findall('44442(2)2(2)44')][i[0] for i in re.findall('((\\\\d)(?:[()]*\\\\2*[()]*)*)', s)]fig.subplots_adjust(wspace=0, hspace=0)", "out": "1", "pred": "1"} {"in": "Rugadh é in Popayán.", "out": "0", "pred": "0"} {"in": "That is, what is on the other side of the object can be seen through it.Mountains in the north of Switzerland are fewer and smaller.This was the first song from the group.\"The political personalities of 1996 U.S. presidential candidates Bill Clinton and Bob Dole.\"A recipient of virtually every other available combat decoration, he is widely considered the most decorated Airman in history.It had been in council ownership since 1984 and was used as a social housing unit up to November 2004.It is part of the Senyavin Islands group.", "out": "0", "pred": "0"} {"in": "def even_position(nums):\n\treturn all(nums[i]%2==i%2 for i in range(len(nums)))", "out": "1", "pred": "1"} {"in": "out = ''.join(c for c in asking if c not in ('!', '.', ':'))soup.find('meta', {'name': 'City'})['content']urllib.parse.unquote('%0a')urllib.parse.unquote(url).decode('utf8')del lst[:]del lst1[:]lst[:] = []alist[:] = []s.reset_index(0).reset_index(drop=True)elems[0].getText().encode('utf-8')[(y - x) for x, y in zip(L, L[1:])]print(re.search('\\\\bLOG_ADDR\\\\s+(\\\\S+)', line).group(1))globals().update(importlib.import_module('some.package').__dict__)\"\"\"\"\"\".join(['a', 'b', 'c', 'd'])url.split('&')", "out": "1", "pred": "1"} {"in": "def Find_Min_Length(lst): \n minLength = min(len(x) for x in lst )\n return minLength ", "out": "1", "pred": "1"} {"in": "od = collections.OrderedDict(sorted(d.items()))OrderedDict(sorted(list(d.items()), key=(lambda t: t[0])))response = requests.put(url, data=json.dumps(data), headers=headers)re.sub('[\\\\W_]+', '', s)[(x + y) for x in l2 for y in l1]dict([x.split('=') for x in s.split()])my_list.pop(2)s = s.replace('M', '')newstr = oldstr.replace('M', '')sum(x * y for x, y in zip(a, b))list(x * y for x, y in list(zip(a, b)))sum(i * j for i, j in zip(a, b))sum(x * y for x, y in list(zip(a, b)))f.write(open('xxx.mp4', 'rb').read())new_list = [(x + 1) for x in my_list]", "out": "1", "pred": "1"} {"in": "Mentre l'azienda Sudauto concessionarie Renault, Dacia e Hyundai presente sul territorio dal 1969 sarà sponsor sui pantaloncini per tutto il campionato.La sua prima stagione completa in prima squadra è stata nel 2003-2004 e, da quel momento in poi, ha sempre giocato in prima squadra.Come tutti i piloti dei test riferirono, l'aereo era molto stabile in volo, tanto che era difficile operare cambiamenti di rotta.I baluardi, posti ai cinque vertici del pentagono, hanno la capacità di alloggiare diversi pezzi d'artiglieria, il cui posizionamento è determinato da spalti e feritoie.Questa pagina raccoglie le informazioni riguardanti la Società Sportiva Cavese nelle competizioni ufficiali della stagione 1986-1987.Otto giorni dopo, il 26, l'Derrick e Klein sono convinti che dietro quell'incidente si celi un piano diabolico per togliere di mezzo la dottoressa.", "out": "0", "pred": "0"} {"in": "Er besaß damit schon jenen Kahlkopf, der zu einem Erkennungsmerkmal des heutigen als „inkompetent“ bezeichneten Clowns gehört, ebenso wie die überdimensionierten absatzlosen Schuhe, die seinen komischen Gang bewirken.Diese lokale Wärmeentwicklung führt zu einer Verödung der Haarwurzeln.Zeitweise weitete sich das Gehöft zu einer kleinen, „Das Arboretum Heppenheim an der Bergstraße umfasst rund 200 Einzelbäume (Stand 2014).Initiativen, dies zu korrigieren, lehnte der Nachfolger von Werner Geibel als Bürgermeister der Gemeinde Saarwellingen, Michael Philippi, mit Hinweis auf die ortsübliche Schreibweise ab.Im Gründungsjahr der Genossenschaft wurde Österreich vom Zusammenbruch der Wiener Börse und der anschließenden Wirtschaftskrise getroffen.Jeder aus der Bevölkerung kann Projekte vorschlagen.", "out": "0", "pred": "0"} {"in": "ftp.retrbinary('RETR %s' % filename, file.write)urlfetch.fetch(url, deadline=10 * 60)print(my_string[0:100])legend(numpoints=1)dict((x, set(y) & set(d1.get(x, ()))) for x, y in d2.items())numpy.loadtxt(open('test.csv', 'rb'), delimiter=',', skiprows=1)Sample.objects.filter(date__range=['2011-01-01', '2011-01-31'])Sample.objects.filter(date__year='2011', date__month='01')d['dict3'] = {'spam': 5, 'ham': 6}numpy.apply_along_axis(numpy.linalg.norm, 1, a)dict((k, v) for d in dicts for k, v in list(d.items()))print('your string'.decode('string_escape'))sum([True, True, False, False, False, True])fig.set_size_inches(w, h, forward=True)'hello there %(5)s' % {'5': 'you'}", "out": "1", "pred": "1"} {"in": "{char (*p)[81]; int n,i,j,flag; scanf(\"%d\",&n); p=(char (*)[81])calloc(n,sizeof(char)*81); getchar(); gets(*p); for(i=1;i'Z'||*(*(p+i))<'A')&&(*(*(p+i))>'z'||*(*(p+i))<'a')) flag=0; if(flag==1) {for(j=0;j'Z'||*(*(p+i)+j)<'A')&&(*(*(p+i)+j)>'z'||*(*(p+i)+j)<'a')&&(*(*(p+i)+j)>'9'||*(*(p+i)+j)<'0')) {flag=0;break;}} printf(\"%d\\n\",flag);} int main(){int n,i,j;cin>>n;cin.get();char a[n][81];//??????memset(a,0,sizeof(a));for(i=0;i='a')&&(a[i][j]<='z'))||((a[i][j]>='A')&&(a[i][j]<='Z')));else {cout<<'0'< 1:\n return c", "out": "1", "pred": "1"} {"in": "Anschließend entwickelten sie auf der Basis des Siegerentwurfs den sogenannten „Masterplan“.Graham Greene distanzierte sich von dieser Verfilmung und bezeichnete sie als „Propagandafilm für Amerika“.Die Mutterknolle ist dunkel gezeichnet.Nach Ankunft von Vertretern des LII wurde er freigelassen und der Panzer wurde mit eigener Kraft zur Prüfungsstelle zurückbefördert.Es war ihm gelungen, sich zum Herren der Welt zu machen, da er es durch strenge Bußübungen auf dem Berg Mandara Bhagavata Purana VII,7,2 erreicht hatte, nahezu unsterblich zu werden.Jawlenskys Mitteilung „wir alle“ bleibt vage.Zum Gebäudekomplex selbst gehören darüber hinaus Fachwerk-Stallungen und eine Scheune.", "out": "0", "pred": "0"} {"in": "Arteria princeps pollicis: nasce dall'arteria radiale appena questa si porta medialmente nella parte profonda della mano.Se servono tre o più dadi per rispondere alla puntata, l'avversario \"accusa il colpo\" — soffre un risultato negativo che sarà determinato alla fine del conflitto.Le origini sono quasi impossibili da determinare si evocano una danza celtica, romana, gallica, greca, importata dalle Fiandre.Il CMN ha condotto il restauro dell’interno dell’edificio (pavimenti, rivestimenti murari, policromia, mobili) per restituire l’arte di vivere nel XX secolo, in particolare al momento della consegna dei lavori della villa nel 1932.Perciò, la sua autenticità è stata messa in dubbio.La gara dei 200 metri piani maschili si tenne l'8 e 9 marzo.La scena mostra qualche disparità esecutiva che conferma le notizie di problemi tecnici (una miscela impropria nell'intonaco che causò muffe) e della presenza di collaboratori, nella fase iniziale del lavoro.", "out": "0", "pred": "0"} {"in": "All'insaputa dei vampiri però, benché essa sia ancora prigioniera del continuo ciclo di incarnazioni, ormai la divinità è \"morta\" e di conseguenza i suoi poteri sono spariti ormai da secoli.Daffy Duck è assegnato il lavoro.Dopo aver autonomamente tentato di girarsi su un fianco, è stata programmata da Terra una manovra del braccio rotante che ha consentito il corretto riposizionamento del MASCOT.Col passare del tempo Adam regge sempre meno l'umiliante situazione, mentre Dave si relaziona con Leah (alternandosi come Dave e come Daisy) e Doofer con le altre DOG.Al corteo delle vetture, la folla tributava accoglienze festanti con musiche e fiori.Uribe estese la guerra contro le guerriglie delle FARC e dell'ELN, ma anche contro tutte quelle popolazioni considerate la base di appoggio della guerriglia.Nel 1986, trasferitosi a Barcellona, pubblicò il suo secondo romanzo, Opium.", "out": "0", "pred": "0"} {"in": "Так слова, исполняющие в крио функции глаголов (предикативы), могут одновременно выполнять функции прилагательных и/или наречий.Рос в Южном Техасе и был восхищен работой местных художников.Здесь его левые проповеди привлекли молодёжь, но оттолкнули более пожилых и более консервативных прихожан.«Barrett Strong § Discography» в английском разделе.», но затем был продан в «Сиксерс».Киссшот пытается спасти Сэйсиро и сбежать из деревни, но куроями успевает его поглотить, оставив только руку.Словацкие говоры за рубежом формировались как правило в результате переселения словаков из разных диалектных регионов и поэтому имеют смешанный характер.На постройку потребовалось приблизительно 8000 каменщиков и 77 лет.Во времена гражданской войны непреклонная верность присяге была редким явлением, и Жан де Линь был одним из немногих вельмож, ни разу не изменивших своему долгу.В 1957 году суд удовлетворил иск о плагиате в отношении её книги «Приглашение к русскому языку» (An Invitation to Russian).", "out": "0", "pred": "0"} {"in": "Aunque Maud arregló cuidadosamente los matrimonios de sus hijas, la decisión de los matrimonios de sus hijos pertenecía al rey.En los últimos años personas provenientes de las mismas han adquirido casas para arreglarlas y llegar los fines de semana o bien instalarse en forma fija.De las investigaciones se sabe que debía ser una zona habitacional consistente en una vivienda (lo que se ve reforzado por la cuantiosa cantidad de restos cerámicos encontrados en los junto a ella) o granero.Lengua de acero: Por el color negro azulado.Schwander murió de causas naturales en 1974, mientras que Pera regresó a los Estados Unidos en 1975 y fue puesto bajo prueba.El CEO de Duff, confiado en el éxito de Duff Zero, aseguró a la prensa que el público no prefería la cerveza por su contenido alcohólico sino por su robusto sabor.Después del gran festival, publicó en la redes sociales que esta experiencia le gusto mucho y la hizo ser más fuerte como cantante, pero dijo también que se esforzaría en dar cada día más.", "out": "0", "pred": "0"} {"in": "Sie wird gelegentlich auch Halde Haniel-Nord genannt.Strategischer Luftkrieg in Europa, Krieg im Westen und in Ostasien 1943 bis 1944/45.Siegwart Lindenberg: Individuelle Effekte, kollektive Phänomene und das Problem der Transformation.Die Kellermeister der verschiedenen Häuser verschneiden die Cognacs für den Markt.Als erstes Fahrzeug konnte Bw 958 in den Zustand der frühen 1930er Jahre zurückversetzt und am 12. Dezember 1976 vorgestellt werden.Zu Pfingsten findet mit dem Park- und Blütenfest im Kromlauer Park eins der überregional bekannten Parkfeste statt, das jedes Jahr mehrere tausend Besucher hat.Der auf Lebenszeit gewählte Doge entstammte immer dem Patriziat, der ebenfalls auf Lebenszeit gewählte Großkanzler der Dogenkanzlei hingegen nie.", "out": "0", "pred": "0"} {"in": "El aumento de los lípidos séricos también causa hipercarotenemia porque hay un aumento de las lipoproteínas circulantes que contienen carotenoides unidos.Editorial de la Universidad de Costa Rica, San José.En la primera reunión, McCarthy fascinó a Hudson con su vívida descripción de la interconexión interna de los ciclos naturales y financieros, la naturaleza del dinero y la deuda pública.Lo que une a la barra con el resto de la claqueta es una bisagra con forma de trapecio.Su familia es un ejemplo de la evolución religiosa de la nobleza de la Mancomunidad: él era ortodoxo, pero su hijo se convirtió al catolicismo.Así, aun habiendo perdido el recinto el carácter defensivo original mantiene en sus cimientos las bases de las torres de defensa y la estructura del patio de armas.La iglesia está dedicada al Arcángel San Miguel.", "out": "0", "pred": "0"} {"in": "def loss_amount(actual_cost,sale_amount): \n if(sale_amount > actual_cost):\n amount = sale_amount - actual_cost\n return amount\n else:\n return 0", "out": "1", "pred": "1"} {"in": "Considering the offenses it is in charge of, it has the particularity of exercising its activity within the legal framework of universal jurisdiction.Later in this year, she tried to work on Urusei Yatsura (Lamu, the invader girl), her first full series of books.Another phenomenon appears in Hellenistic sculpture: privatization, which involves the recapture of older public patterns in decorative sculpture.His four eldest sons were born before he married their mother.Scifresh is sweet, crunchy and juicy.He wanted to use the army to destroy Konoha.The difference between Lepidopteran larvae and sawfly larvae is that Lepidopteran larvae have tiny hooks on their prolegs.", "out": "0", "pred": "0"} {"in": "cout << 0 << endl;continue;}for (j = 1; str[j] != 0; j++){if (((str[j] >= 'a') && (str[j] <= 'z')) || ((str[j] >= '0') && (str[j] <= '9')) || (str[j] == '_') || ((str[j] >= 'A') && (str[j] <= 'Z')))continue;elsebreak;}if (str[j] == 0)cout << 1 << endl;elsecout << 0 << endl;}return 0;int p(char st1[ ]){int i;if(st1[0]<65||(st1[0]>90&&st1[0]<95)||st1[0]==96||st1[0]>122)return 0;for(i=1;i57&&st1[i]<65)||(st1[i]>90&&st1[i]<95)||st1[i]==96||st1[i]>122)return 0;return 1;}int main(){int i,n;char ch[100];cin>>n;cin.get();for(i=1;i<=n;i++){cin.getline(ch,100,'\\n');", "out": "1", "pred": "1"} {"in": "def Find_Min(lst): \n return min(lst, key=len) ", "out": "1", "pred": "1"} {"in": "Áit do dhaoine measartha.", "out": "0", "pred": "0"} {"in": "Para ello se cuenta con un grupo de socios indonesios y un socio operador con amplia experiencia en este tipo de mercado.\"Que el amor es temporal, que todo te puede pasar y de repente, estás muy solo\" se refiere a lo anterior, el individuo gira en torno a sus relaciones, pero al final esas relaciones son por pura conveniencia y se encuentra solo.¿Cómo funciona la integración?Incluye también el llamado Vale dos Sinos.Un equipo experto en telefonía móvil voló a Portugal el 29 de mayo de 2007 para analizar datos del teléfono móvil, del área, a la hora del secuestro.Non: programa destinado a público infantil que explora con el espectador el descubrimiento de la vida y el porqué de las cosas.La eliminación del protón pro-R de C2 forma el doble enlace C2-C3 de DMAPP.", "out": "0", "pred": "0"} {"in": "public static Set getProvincias(String pURL) {Set result = new HashSet();String iniProv = \"\";String finProv = \"\";String iniNomProv = \"\";String finNomProv = \"\";String iniCodigo = \"\";String finCodigo = \"\";int ini, fin;try {URL url = new URL(pURL);BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String str;Province provincia;while ((str = br.readLine()) != null) {if (str.contains(iniProv)) {provincia = new Province();while ((str = br.readLine()) != null && !str.contains(finProv)) {if (str.contains(iniNomProv)) {ini = str.indexOf(iniNomProv) + iniNomProv.length();fin = str.indexOf(finNomProv);provincia.setDescription(str.substring(ini, fin));}if (str.contains(iniCodigo)) {ini = str.indexOf(iniCodigo) + iniCodigo.length();fin = str.indexOf(finCodigo);provincia.setCodeProvince(Integer.parseInt(str.substring(ini, fin)));}}result.add(provincia);}}br.close();} catch (Exception e) {System.err.println(e);}return result;}public static Set getMunicipios(String pURL) {Set result = new HashSet();String iniCuerr = \"\";String finCuerr = \"\";String iniDesErr = \"\";String finDesErr = \"\";String iniMun = \"\";String finMun = \"\";String iniNomMun = \"\";String finNomMun = \"\";String iniCarto = \"\";String iniCodDelMEH = \"\";String finCodDelMEH = \"\";String iniCodMunMEH = \"\";String finCodMunMEH = \"\";String iniCodProvINE = \"\";String finCodProvINE = \"\";String iniCodMunINE = \"\";String finCodMunINE = \"\";boolean error = false;int ini, fin;try {URL url = new URL(pURL);BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String str;Municipality municipio;while ((str = br.readLine()) != null) {if (str.contains(iniCuerr)) {ini = str.indexOf(iniCuerr) + iniCuerr.length();fin = str.indexOf(finCuerr);if (Integer.parseInt(str.substring(ini, fin)) > 0) error = true;}if (error) {if (str.contains(iniDesErr)) {ini = str.indexOf(iniDesErr) + iniDesErr.length();fin = str.indexOf(finDesErr);throw (new Exception(str.substring(ini, fin)));}} else {if (str.contains(iniMun)) {municipio = new Municipality();municipio.setCodemunicipalityine(0);municipio.setCodemunicipalitydgc(0);while ((str = br.readLine()) != null && !str.contains(finMun)) {if (str.contains(iniNomMun)) {ini = str.indexOf(iniNomMun) + iniNomMun.length();fin = str.indexOf(finNomMun);municipio.setMuniName(str.substring(ini, fin).trim());}if (str.contains(iniCarto)) {if (str.contains(\"URBANA\")) municipio.setIsurban(true);if (str.contains(\"RUSTICA\")) municipio.setIsrustic(true);}if (str.contains(iniCodDelMEH)) {ini = str.indexOf(iniCodDelMEH) + iniCodDelMEH.length();fin = str.indexOf(finCodDelMEH);municipio.setCodemunicipalitydgc(municipio.getCodemunicipalitydgc() + Integer.parseInt(str.substring(ini, fin)) * 1000);}if (str.contains(iniCodMunMEH)) {ini = str.indexOf(iniCodMunMEH) + iniCodMunMEH.length();fin = str.indexOf(finCodMunMEH);municipio.setCodemunicipalitydgc(municipio.getCodemunicipalitydgc() + Integer.parseInt(str.substring(ini, fin)));}if (str.contains(iniCodProvINE)) {ini = str.indexOf(iniCodProvINE) + iniCodProvINE.length();fin = str.indexOf(finCodProvINE);municipio.setCodemunicipalityine(municipio.getCodemunicipalityine() + Integer.parseInt(str.substring(ini, fin)) * 1000);}if (str.contains(iniCodMunINE)) {ini = str.indexOf(iniCodMunINE) + iniCodMunINE.length();fin = str.indexOf(finCodMunINE);municipio.setCodemunicipalityine(municipio.getCodemunicipalityine() + Integer.parseInt(str.substring(ini, fin)));}municipio.setDescription();}result.add(municipio);}}}br.close();} catch (Exception e) {System.err.println(e);}return result;}public static Set getVias(String pURL) {Set result = new HashSet();String iniCuerr = \"\";String finCuerr = \"\";String iniDesErr = \"\";String finDesErr = \"\";String iniVia = \"\";String finVia = \"\";String iniCodVia = \"\";String finCodVia = \"\";String iniTipoVia = \"\";String finTipoVia = \"\";String iniNomVia = \"\";String finNomVia = \"\";boolean error = false;int ini, fin;try {URL url = new URL(pURL);BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String str;Street via;while ((str = br.readLine()) != null) {if (str.contains(iniCuerr)) {ini = str.indexOf(iniCuerr) + iniCuerr.length();fin = str.indexOf(finCuerr);if (Integer.parseInt(str.substring(ini, fin)) > 0) error = true;}if (error) {if (str.contains(iniDesErr)) {ini = str.indexOf(iniDesErr) + iniDesErr.length();fin = str.indexOf(finDesErr);throw (new Exception(str.substring(ini, fin)));}} else {if (str.contains(iniVia)) {via = new Street();while ((str = br.readLine()) != null && !str.contains(finVia)) {if (str.contains(iniCodVia)) {ini = str.indexOf(iniCodVia) + iniCodVia.length();fin = str.indexOf(finCodVia);via.setCodeStreet(Integer.parseInt(str.substring(ini, fin)));}if (str.contains(iniTipoVia)) {TypeStreet tipo = new TypeStreet();if (!str.contains(finTipoVia)) tipo.setCodetpStreet(\"\"); else {ini = str.indexOf(iniTipoVia) + iniTipoVia.length();fin = str.indexOf(finTipoVia);tipo.setCodetpStreet(str.substring(ini, fin));}tipo.setDescription(getDescripcionTipoVia(tipo.getCodetpStreet()));via.setTypeStreet(tipo);}if (str.contains(iniNomVia)) {ini = str.indexOf(iniNomVia) + iniNomVia.length();fin = str.indexOf(finNomVia);via.setStreetName(str.substring(ini, fin).trim());}}result.add(via);}}}br.close();} catch (Exception e) {System.err.println(e);}return result;}public static Set
getDatosCatastrales(String pURL) {Set
result = new HashSet
();String iniCuerr = \"\";String finCuerr = \"\";String iniDesErr = \"\";String finDesErr = \"\";String iniInm1 = \"\";String finInm1 = \"\";String iniInm2 = \"\";String finInm2 = \"\";String iniPC1 = \"\";String iniPC2 = \"\";String finPC1 = \"\";String finPC2 = \"\";String iniCar = \"\";String finCar = \"\";String iniCC1 = \"\";String finCC1 = \"\";String iniCC2 = \"\";String finCC2 = \"\";String iniLDT = \"\";String iniBq = \"\";String finBq = \"\";String iniEs = \"\";String finEs = \"\";String iniPt = \"\";String finPt = \"\";String iniPu = \"\";String finPu = \"\";boolean error = false;int ini, fin;int postal = 0;try {URL url = new URL(pURL);BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String str;while ((str = br.readLine()) != null) {if (str.contains(iniCuerr)) {ini = str.indexOf(iniCuerr) + iniCuerr.length();fin = str.indexOf(finCuerr);if (Integer.parseInt(str.substring(ini, fin)) > 0) error = true;}if (error) {if (str.contains(iniDesErr)) {ini = str.indexOf(iniDesErr) + iniDesErr.length();fin = str.indexOf(finDesErr);throw (new Exception(str.substring(ini, fin)));}} else {if (str.contains(iniInm1) || str.contains(iniInm2)) {Address inmueble = new Address();while ((str = br.readLine()) != null && !str.contains(finInm1) && !str.contains(finInm2)) {if (str.contains(iniPC1) && str.contains(finPC1)) {ini = str.indexOf(iniPC1) + iniPC1.length();fin = str.indexOf(finPC1);inmueble.setDescription(str.substring(ini, fin));}if (str.contains(iniPC2) && str.contains(finPC2)) {ini = str.indexOf(iniPC2) + iniPC2.length();fin = str.indexOf(finPC2);inmueble.setDescription(inmueble.getDescription().concat(str.substring(ini, fin)));}if (str.contains(iniLDT) && str.contains(\"-\")) {postal = Integer.parseInt(str.substring(str.lastIndexOf(\"-\") - 5, str.lastIndexOf(\"-\")));}if (str.contains(iniCar) && str.contains(finCar)) {ini = str.indexOf(iniCar) + iniCar.length();fin = str.indexOf(finCar);inmueble.setDescription(inmueble.getDescription().concat(str.substring(ini, fin)));}if (str.contains(iniCC1) && str.contains(finCC1)) {ini = str.indexOf(iniCC1) + iniCC1.length();fin = str.indexOf(finCC1);inmueble.setDescription(inmueble.getDescription().concat(str.substring(ini, fin)));}if (str.contains(iniCC2) && str.contains(finCC2)) {ini = str.indexOf(iniCC2) + iniCC2.length();fin = str.indexOf(finCC2);inmueble.setDescription(inmueble.getDescription().concat(str.substring(ini, fin)));}if (str.contains(iniBq) && str.contains(finBq)) {ini = str.indexOf(iniBq) + iniBq.length();fin = str.indexOf(finBq);inmueble.setBlock(str.substring(ini, fin));}if (str.contains(iniEs) && str.contains(finEs)) {ini = str.indexOf(iniEs) + iniEs.length();fin = str.indexOf(finEs);inmueble.setStairs(str.substring(ini, fin));}if (str.contains(iniPt) && str.contains(finPt)) {ini = str.indexOf(iniPt) + iniPt.length();fin = str.indexOf(finPt);inmueble.setFloor(str.substring(ini, fin));}if (str.contains(iniPu) && str.contains(finPu)) {ini = str.indexOf(iniPu) + iniPu.length();fin = str.indexOf(finPu);inmueble.setDoor(str.substring(ini, fin));}}result.add(inmueble);}}}br.close();if (result.size() == 1) {Object ad[] = result.toArray();Coordinate coord = ConversorCoordenadas.getCoordenadas(((Address) ad[0]).getDescription());coord.setPostcode(postal);for (Address inm : result) inm.setCoodinate(coord);}} catch (Exception e) {System.err.println(e);}return result;}public static String hash(String str) {if (str == null || str.length() == 0) {throw new CaptureSecurityException(\"String to encript cannot be null or zero length\");}StringBuilder hexString = new StringBuilder();try {MessageDigest md = MessageDigest.getInstance(\"MD5\");md.update(str.getBytes());byte[] hash = md.digest();for (byte element : hash) {if ((0xff & element) < 0x10) {hexString.append('0').append(Integer.toHexString((0xFF & element)));} else {hexString.append(Integer.toHexString(0xFF & element));}}} catch (NoSuchAlgorithmException e) {throw new CaptureSecurityException(e);}return hexString.toString();}public final void navigate(final URL url) {try {EncogLogging.log(EncogLogging.LEVEL_INFO, \"Navigating to page:\" + url);final URLConnection connection = url.openConnection();final InputStream is = connection.getInputStream();navigate(url, is);is.close();} catch (final IOException e) {EncogLogging.log(EncogLogging.LEVEL_ERROR, e);throw new BrowseError(e);}}public static Image getPluginImage(Object plugin, String name) {try {try {URL url = getPluginImageURL(plugin, name);if (m_URLImageMap.containsKey(url)) return m_URLImageMap.get(url);InputStream is = url.openStream();Image image;try {image = getImage(is);m_URLImageMap.put(url, image);} finally {is.close();}return image;} catch (Throwable e) {}} catch (Throwable e) {}return null;}public static String calculatesMD5(String plainText) throws NoSuchAlgorithmException {MessageDigest mdAlgorithm = MessageDigest.getInstance(\"MD5\");mdAlgorithm.update(plainText.getBytes());byte[] digest = mdAlgorithm.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < digest.length; i++) {plainText = Integer.toHexString(0xFF & digest[i]);if (plainText.length() < 2) {plainText = \"0\" + plainText;}hexString.append(plainText);}return hexString.toString();}public String[] getLine(String prefecture) {HttpClient httpclient = null;String[] lines = null;try {httpclient = new DefaultHttpClient();List qparams = new ArrayList();qparams.add(new BasicNameValuePair(\"method\", \"getLines\"));qparams.add(new BasicNameValuePair(\"prefecture\", prefecture));URI uri = URIUtils.createURI(\"http\", \"express.heartrails.com\", -1, \"/api/xml\", URLEncodedUtils.format(qparams, \"UTF-8\"), null);HttpGet httpget = new HttpGet(uri);HttpResponse response = httpclient.execute(httpget);HttpEntity entity = response.getEntity();InputStream instream = entity.getContent();BufferedReader reader = new BufferedReader(new InputStreamReader(instream, \"UTF-8\"));StringBuffer buf = new StringBuffer();String str;while ((str = reader.readLine()) != null) {buf.append(str);buf.append(\"\\n\");}reader.close();LineResponse res = new LineResponse(buf.toString());lines = res.getLineAsString();} catch (URISyntaxException ex) {ex.printStackTrace();} catch (ClientProtocolException ex) {ex.printStackTrace();} catch (IOException ex) {ex.printStackTrace();} catch (SAXException ex) {ex.printStackTrace();} catch (ParserConfigurationException ex) {ex.printStackTrace();} finally {httpclient.getConnectionManager().shutdown();}return lines;}public void getStation(String prefecture, String line) {HttpClient httpclient = null;try {httpclient = new DefaultHttpClient();List qparams = new ArrayList();qparams.add(new BasicNameValuePair(\"method\", \"getStations\"));qparams.add(new BasicNameValuePair(\"prefecture\", prefecture));qparams.add(new BasicNameValuePair(\"line\", line));URI uri = URIUtils.createURI(\"http\", \"express.heartrails.com\", -1, \"/api/xml\", URLEncodedUtils.format(qparams, \"UTF-8\"), null);HttpGet httpget = new HttpGet(uri);HttpResponse response = httpclient.execute(httpget);HttpEntity entity = response.getEntity();InputStream instream = entity.getContent();BufferedReader reader = new BufferedReader(new InputStreamReader(instream, \"UTF-8\"));StringBuffer buf = new StringBuffer();String str;while ((str = reader.readLine()) != null) {buf.append(str);buf.append(\"\\n\");}reader.close();stationRes = new StationResponse(buf.toString());} catch (URISyntaxException ex) {ex.printStackTrace();} catch (ClientProtocolException ex) {ex.printStackTrace();} catch (IOException ex) {ex.printStackTrace();} catch (SAXException ex) {ex.printStackTrace();} catch (ParserConfigurationException ex) {ex.printStackTrace();} finally {mSearchStation.setEnabled(true);}}", "out": "1", "pred": "1"} {"in": "def add_tuple(test_list, test_tup):\n test_list += test_tup\n return test_list", "out": "1", "pred": "1"} {"in": "Her name is Bess and she has long black hair and red lips.What we experience as sunlight is actually solar radiation.The number of years that the comet finishes its full cycle can vary depending on the effect of another planet's gravitational pull.Uniunea Independenta Pentru Sighisoara (UIPS) is the ruling party of Sighisoara, represented by the actual mayof of Sighisoara, Iulian Sîrbu.Japanese bombing in Imphal took place several times in the history of Manipur, thereby creating high casualties to the people of Manipur.One bel is a power ratio of 10:1, and is divided into ten decibels.In the time of the death, he stands over the dying one, and waiting for the man to see him.", "out": "0", "pred": "0"} {"in": "print(re.sub('[\\x00-\\x7f]', '', '\\xa3100 is worth more than \\u20ac100'))ast.literal_eval(\"{'muffin' : 'lolz', 'foo' : 'kitty'}\")print(t.decode('unicode_escape'))print(str.encode('cp1252').decode('utf-8').encode('cp1252').decode('utf-8'))zip(list_a, list_b)list(zip(a, b))df.set_index('id').to_dict()df.set_index('id')['value'].to_dict()sorted(list(mydict.items()), key=lambda a: map(int, a[0].split('.')))re.sub('\\\\([^)]*\\\\)', '', filename)\"\"\"a b\"\"\".replace(' ', '').isalpha()[(x + y) for x, y in zip(first, second)]sorted(list(a_dict.items()), key=lambda item: item[1][1])re.compile('[^a-zA-Z0-9-]+')sorted(list(range(len(a))), key=lambda i: a[i])[-2:]", "out": "1", "pred": "1"} {"in": "A testimonianza di questo periodo rimane un'epigrafe posta sul lato meridionale del ponte che ricorda il matrimonio di Bianca Sagramoso con Luigi della Torre.Curve e distinti (seppur aventi altezza e capienza differenti) sono raccordate tra loro e costituiscono di fatto un'unica struttura, mentre la tribuna è un settore a sé stante, del tutto separato ed indipendente dal resto degli spalti.È in questo periodo che inizia anche a definirsi l'Le cose andarono secondo i piani di Rafael Trujillo, Héctor Trujillo ottenne nuovamente la presidenza.Ciò rimase una fonte di malcontento durante tutto il periodo ottomano.Gli organi interni hanno ricevuto forme più realistiche, mantenendo comunque un aspetto stilizzato privo di dettagli «cruenti o disgustosi».Le pendici orientali sono più moderate, con dolci colline che si estendono al di là degli altipiani centrali e dove le quote si riducono gradualmente attraverso pianure, paludi, laghi fino alle regioni del confine orientale.", "out": "0", "pred": "0"} {"in": "The name is also given to a private natural lake fed by the Los Angeles River and maintained by neighboring property owners.By the outbreak of the First World War, Harry S Truman had become a Lieutenant.He was the first president of the Parliament of Bordeaux on the death of his father in August 1766.In 1969 a columnist of the Lansing State Journal encouraged residents to raise money for the zoo.Tina Cavanough in Magpies: Talking About Books for Children 19 (1: March 2004).Both male and female flowers may be borne on the same plant.Includes uniform polyhedra, stellations, compounds, Johnson solids, etc.", "out": "0", "pred": "0"} {"in": "Además es editora y escritora en numerosas publicaciones; asesora de fundaciones, instituciones culturales, colecciones públicas y privadas en lo relativo a adquisición y exposiciones de arte.Su contribución a AOL Newsbloggers estuvo titulado Mo Rocca 180°: Sólo A medias tan Tedioso como el Noticiero Regular.Centro de Estudios Sociales y Opinión Pública, CDMX.Al igual que en otras zonas de Capadocia, en Uçhisar se pueden encontrar bellos ejemplos de moradas trogloditas excavadas en el débil subsuelo de la región.Por su parte, Esteban Espinoza vio acción en la totalidad de los minutos y el marcador fue con derrota de 1-0.Por eso dicen que aquello de lo que proceden estos es distinto.Estas son diferentes formas en que el nuevo sistema podría ser producido variando de no hacer nada para tirar el viejo sistema en su totalidad y la construcción de uno totalmente nuevo.", "out": "0", "pred": "0"} {"in": "Lessons were held within the temple until a new $35 million five-storey building is completed.The first six games in the series was made by Core Design.He played for the Florida from 1960 through 1962.He aggressively pursued any chance of involvement with automobiles.Terrazzo aggregates, binders and finished flooring systems can contribute to U.S. Green Building Council (USGBC) credits, under the LEED-NC rating system, version 2.2.It is a product of one event: the Permian extinction (which affected brachiopods profoundly and clams relatively little)\".The gendarmerie is part of the army.", "out": "0", "pred": "0"} {"in": "Die CdZ dieser Gebiete hatten den Auftrag, sie in einer Reihe von Jahren einzudeutschen.Das Mädchen Few redet auf die mordwilligen Gangster ein, keinen Schmerz mehr zu verursachen, da das Karma sonst zuschlagen könnte.Reilly verabredet sich mit anderen Frauen und lernt die geschiedene Lehrerin Maria Tedesko kennen.Er besuchte ab der Obersekunda das Staatliche Gymnasium zu Patschkau und bestand im Jahr 1922 das Abitur.Einzeln wird sie allerdings vor allem als Anfänger-Akrobatik in der Juniorenklasse getanzt.Der Diözesan-Verband wurde 1914 erneut gegründet.In Anerkennung seiner Verdienste erhielt Ferdinand Masset 1991 den Preis des Freiburger Tourismusverbands (FTV).", "out": "0", "pred": "0"} {"in": "Dieser nimmt spezielle Akkus auf, welche eine Serienbildgeschwindigkeit von 5,7 Bildern pro Sekunde gestatten.Er erhielt 1942 die Clarke Medal der Royal Society of New South Wales, deren Präsident er 1932/33 war.Bei den Weltmeisterschaften 2012 gewann sie Bronze auf der Mitteldistanz und wurde Vierte auf der Langdistanz und mit der Staffel.Das Eulenbaby schlüpft auf der Fahrt und wird von den Kindern Pieps getauft.So kann zum Beispiel das Einhorn niemals in der Ebene laufen oder das Elfenrad in der Wüste genutzt werden.Sie ist rührend“, schrieb ein Journalist damals.Der Osten Russland bis nach Sibirien ist besonders reich an Pelztieren.", "out": "0", "pred": "0"} {"in": "Is amhlaidh gurb é an t-", "out": "0", "pred": "0"} {"in": "В 1999 году комбинат был объявлен банкротом.На почве внутренних разногласий между Фанденбрюке и директором команды возник конфликт, в результате которого гонщику пришлось уйти.Всё течение проходит по ненаселённой холмистой тайге.В основной группе отмечалось более быстрое исчезновение симптомов ОКИ.» также дали российские журналисты Игорь Кузнецов и Леонид Кроль.В СССР поставлялись: А-11М (бортовой грузовой автомобиль), А-06 (цельнометаллический фургон), А-07М (грузопассажирский фургон), А-13М (автомобиль-пикап), А-18М (микроавтобус), так же в небольшом количестве различные специальные автомобили.К группе риска относятся специальности, связанные с литейными и сварочными работами.Он также появился на Super Black Market Clash (1993), который включал в себя би-сайды из синглов группы.Глинка, ранее дважды игравшая в финалах, золотую медаль главного еврокубка завоевала впервые в карьере.Критики порой упрекали его в том, что у него невыразительное лицо, бедная мимика, характер у его героев получается неопределённый, размытый.", "out": "0", "pred": "0"} {"in": "Le le pavillon de la Marine soviétique est hissé à bord du K-173 pour la première fois.Entre ce dernier et le corps de la chaire s’étend un tore en olivier.Les données ont montré que, contrairement à la prédiction de Iakovidis, il y avait de nombreux autres bâtiments non découverts auparavant.Ce genre s'intéresse aux aventures fabuleuses de chevaliers héroïques respectant à la lettre le code d'honneur de la chevalierie et bénéficiant souvent de capacités surhumaines.Le trio arrive à les remettre ensemble, mais Angelo voit tout le temps son professeur.En l'absence de filtre, comme lors de la seconde modification, l'action affecte toutes les tâches.; son père étant officier de carrière dans l’", "out": "0", "pred": "0"} {"in": "Im Anschluss an diese Veranstaltungen läuten um 21:28 Uhr, dem Zeitpunkt des Beginns der Bombardierung am 16. Januar 1945, die Glocken aller Kirchen der Stadt für etwa zehn Minuten.Dabei mussten Teile des Drehbuchs auf offizielle Weisung hin verändert werden.Kraus erwarb besondere Verdienste um das im Jahre 1927 übernommene Hrsg.Ein Polizist sagt ihr, dass bei einem Anschlag mit einer Nagelbombe ein Mann und ein Kind getötet worden seien.Es war der Sack, Sac mit anderer Bezeichnung.Dem bisherigen Bürgermeister Alex Pastor (PSC) gelang es mit Guanyem Badalona en Comú eine Koalitionsregierung zu bilden und blieb im Amt.Er heiratete 1884 Sarah E. Banghart, von der er sich aber 1903 wieder scheiden ließ.", "out": "0", "pred": "0"} {"in": "This means that 1 in 10 people will not be able to conceive a child naturally.This creates the great effect that can be seen in the figure.She died of cancer in 2021 in a hospital in Switzerland.On July 19, 2020, an anti-The Cathedral was founded in 680 with Bishop Bosel as its head.Some metallic objects may distort the image, like hip, shoulder and knee replacements but the exam can still be done.The Queen's apartment at Versailles (Fr: Grand appartement de la reine) consists of several rooms: The Queen's Bedchamber; The Queen's Private Cabinets; The Room of the Queen's Gentlemen; The Queen's Antechamber; The Room of the Queen's Guard.", "out": "0", "pred": "0"} {"in": "Основным отличием IQOS 3 DUOS является то, что одного заряда держателя хватает на два сеанса использования подряд без подзарядки.Впервые появился на телеэкранах в 1986 году в небольшой роли детектива в одном из эпизодов сериала «Золотогрудый астрильд имеет очень большую площадь распространения, поэтому не находится под угрозой вымирания.С открытием станции «Румянцево» станция «Саларьево» открылась для графикового оборота поездов без пассажиров.Сараччи провёл в этом турнире до отъезда в Германию шесть матчей и, таким образом, постфактум стал обладателем этого трофея.Джилл говорила: «Я с трудом смогла заснуть за день до того, как узнала, что победила в отборе.На заглавной страницы говорилось, что автор книги «Батсуа Р(еджинальд), дочь Генри Реджинальда, учителя и филолога из Лондона»Фундамент сооружения бутовый, стены представляют собой железобетонный каркас с кирпичным заполнением.На внутренней поверхности нижнего края проходит борозда, в которой лежат сосуды и нервы.Немедленное совместное урегулирование разногласий на месте.", "out": "0", "pred": "0"} {"in": "An diesem Tag wurden einige seiner prominenten Unterstützer festgenommen.Susanne Miller, Bürde, S. 292. Als Innenminister plädierte er im Namen der Regierung Anfang Juli 1919 vor der Nationalversammlung für einen Wechsel der Flagge des Deutschen Reiches.So gab sie an, ihre Großmutter hätte im Stall Schlangen mit Milch gefüttert.Während die B 475 östlich an Warendorf vorbeiführt, verläuft die B 64 südlich der Innenstadt entlang der Bahnlinie.Bei den digitalen Kreditkarten muss man im Besitz einer Visa oder Mastercard der Bank sein und die VR-Banking App der Bank nutzen.Drake hat einen Hummer, was die Tanzenden Hummer sehr wütend macht, so dass sie das Zimmer verlassen.Das Wappenbuch zeigt im Bild 6 im schwarzen Schild einen dreihalsigen silbernen nimbierter Adler im Schild und den gleichen wachsend im Oberwappen.", "out": "0", "pred": "0"} {"in": "Dos personas llegan al lugar del crimen, Ayumi Tachibana y una maestra, Tatsuya Hibino.Esta experiencia en Galicia será la base del futuro trabajo de Marchioni en Argentina con “Ciudades Preventivas”.En su conjunto, ASRock representó una gran proporción de ventas en Asia y Europa en términos de rendimiento general.Barney le da Marshall la idea de buscar a su declaración en línea con tarjeta de crédito para ver los cargos más recientes y Marshall descubre que hay cargos en la tarjeta de un hotel en Nueva York.Representa el 6.25% de la superficie de la región Altos.La especie elegida por ellos para la sustitución y restauración del género fue Heterohelix navarroensis (es decir, Spiroplecta navarroensis), la cual tiene aparentemente las mismas características asignadas anteriormente a Spiroplecta americana.El 10 de marzo de 2014 se lanza una nueva edición de su primer álbum First Love; esto fue para conmemorar los 15 años del lanzamiento de dicho disco, que en 1999 fue el álbum más vendido por una artista japonesa.", "out": "0", "pred": "0"} {"in": "urllib.request.urlretrieve('http://search.twitter.com/search.json?q=hi', 'hi.json')numpy.where((x == 0))[0]sys.stdout.flush()str(i)a.__str__()str(a)L.sort(key=operator.itemgetter(1))print(str(count) + '' + str(conv))df.fillna(method='ffill', inplace=True)text.config(state=DISABLED)sum(map(ord, string))list(itertools.product(*arrays))'{:,}'.format(value)locale.setlocale(locale.LC_ALL, 'en_US')locale.format('%d', 1255000, grouping=True)df[df.Col1.isin(['men', 'rocks', 'mountains'])]", "out": "1", "pred": "1"} {"in": "He moved back to Leipzig in 1755, but returned later to Berlin.The locals also called this ground ‘Roses ground’ due to the proximity of Roses English High school.She regularly appears in the media promoting the Michelle for George lingerie line.Many supposedly cold-blooded animals do things to keep their temperature higher than the surrounding air or water.They are playful and like toys very much.Horsburgh Lighthouse was built on the island between 1847 and 1851.More than 5,000 people came to the courtroom to see Corder's body. citation His body was dissected the next day.", "out": "0", "pred": "0"} {"in": "Inoltre, com'essi badarono solo ad 'insaccare' denaro, nella terra sono ora 'insaccati'.Più il valore è basso, maggiore è l'isolamento del mezzo in esame.Era stata innamorata di Shūji, ma ha dovuto rinunciare quando s'è resa conto che il ragazzo amava l'amica.Il 6 ottobre 2020, nel programma televisivo \"Sebbene la sua unica intenzione sia quella di fornire il suo supporto, una volta che suona il suo Dondoko Ondo, che solleva la tensione, non c'è niente che possa fermare il trambusto.Ma qualcosa non va: trovano le loro versioni durante una riunione che vivono ad un ritmo del molto più lento, quasi immobili.Aspettando la costituzione di tale accademia, fu a capo, in qualità di presidente, di una piccola associazione di critici.", "out": "0", "pred": "0"} {"in": "Il donne aujourd'hui des concerts en soliste, en musique de chambre ou encore avec de nombreux orchestres réputés dans des festivals dans le monde entier.Gant manique épais, qui couvre toute la main.Côté varois quelques traces d'un incendie subsistent.Laëtitia Perrais et sa sœur jumelle, Jessica, sont les filles de Sylvie Larcher, agent d'entretien à l'inspection académique, et Franck Perrais, serveur.Le 3 mai 2010, le décret présidentiel réf. 885 a établi Azercosmos dans le but de mettre en œuvre le lancement, l'exploitation et l'exploitation de satellites de télécommunications pour la République d'Azerbaïdjan.D'une superficie de 230 km², il atteint des profondeurs allant jusqu'à 46 m.Il est quatre fois vainqueur en classe Grand Prix 730 (formule de course).", "out": "0", "pred": "0"} {"in": "Compte tenu de sa taille, le village ne compte aujourd’hui ni commerce permanent, ni école, ni service de santé.Une partie importante du texte est consacrée aux miracles et à l'hagiographie de la sainte patronne d'Ely, Etheldrède.Abandonne l’explication ou la volonté de s’expliquer au monde.Il peut également décider seul de récompenser quelqu’un.Selon les adeptes de cette technique, cela facilite l'apprentissage des notions habituellement abstraites de la grammaire.Le style Compagnie des Indes est, en matière d'La muséologie devient indépendante du musée, dorénavant elle le précède.", "out": "0", "pred": "0"} {"in": "break;}}else BL=0;printf(\"%d\\n\",BL);}}int main(){char ch[800][1000];int i,j,n,m=0;cin>>n;cin.get();for(i=1;i<=n;i++){cin.getline(ch[i],100,'\\n');for(i=1;i<=n;i++){if(ch[i][0]=='_'||(ch[i][0]<='z'&&ch[i][0]>='a')||(ch[i][0]<='Z'&&ch[i][0]>='A')){ for(j=0;j<=(strlen(ch[i])-1);j++){if(ch[i][j]!='_'&&(!(ch[i][j]<='z'&&ch[i][j]>='a'))&&(!(ch[i][j]<='Z'&&ch[i][j]>='A'))&&(!((ch[i][j]<='9'&&ch[i][j]>='0')))){m++;}} if(m!=0){cout<<\"0\"<print(parsed_html.body.find('div', attrs={'class': 'container', }).text)page = urllib.request.urlopen('http://www.google.com/')soup = BeautifulSoup(page)plt.figure(figsize=(3, 4))s.translate(None, string.punctuation)base64.urlsafe_b64decode(uenc.encode('ascii'))len(dict_test) + sum(len(v) for v in dict_test.values())hex(d).split('x')[1]list(str(123))[int(x) for x in str(num)]br.select_form(nr=0)json.load(codecs.open('sample.json', 'r', 'utf-8-sig'))", "out": "1", "pred": "1"} {"in": "Также, по версии прокуроров, самолёты нелегально покинули Кабул, поскольку их самолёты не имели никаких регистрационных документов.Данная форма отрицания может использоваться для любых в.и.Преторы, в свою очередь, руководили отделами сельского и лесного хозяйства, а также образовательными, техническими, санитарными и ветеринарными, им также подчинялась местная полиция, к тому же они контролировали деятельность жандармерии.На последнем круге данной гонки Кайса в равной борьбе смогла вырвать золото у Лауры Дальмайер.До Униса не считали нужным увековечивать внутри пирамиды заупокойные заклинания; вероятно, прежние цари, в отличие от Униса, ещё вполне полагались на устное провозглашение этих заклинаний жрецами в будущие годы.Самым трагичным событием стала потеря памяти.Запись Бэтмена «Здесь отличное место для поселения» широко цитировалось в доказательство, что именно Бэтмен нашёл место для будущего города.Решение олимпиадных задач может потребовать существенного количества времени даже от сильного (но ненатренированного на их решение) профессионального математика.Впадает в Лумпун ниже деревни Лумпун.Просьба разрешить герою войны беспрепятственный переезд через границу.", "out": "0", "pred": "0"} {"in": "佐渡を襲った台風により、水名子が死亡した、というのだ。のゲームブランドである5pb.それは、考えの異なった違う部族のインディアンたちのすべての経験を、本当に我々に開かせてくれた 『 Russell Means Freedom』(「Russell Means Interview with Dan Skye of High Times」、2009年5月20日) 。放送時間の変遷(レギュラー放送時代)HKコーパヴォクスの下部組織で育成され、2007年5月にプロデビュー 。この事から聖武天皇と光明皇后はベッドを並べて眠っていたのがうかがえる。クライスの中心的役割を担うポストであり、たとえば、シュヴァーベン・クライスではヴュルテンベルク公とコンスタンツ司教が世襲するといった具合に、常に有力な等族に与えられていた。に若干の相違があるものの、車体や機器の基本レイアウトは本形式との共通点が多い。伝統的なサーバサイド・デコレーションの代わりにクライアントサイド・デコレーションを使用することにより、各アプリケーションが独自のタイトルバーを描画できるため、ウィンドウ・デコレーションの広範囲なカスタマイズや、標準的なウィンドウマネージャでウィンドウを最大化した場合に広大な空きスペースとなっていた領域への機能(この判決の前日に同様の判決が東京地裁民事第二部(", "out": "0", "pred": "0"} {"in": "{flag=0;break;}} printf(\"%d\\n\",flag);}} int main(){int n,i,j;cin>>n;cin.get();char a[n][81];//??????memset(a,0,sizeof(a));for(i=0;i='a')&&(a[i][j]<='z'))||((a[i][j]>='A')&&(a[i][j]<='Z')));continue;}while(a[i][j]!=0){if(((a[i][j]=='_')||((a[i][j]>='a')&&(a[i][j]<='z'))||((a[i][j]>='A')&&(a[i][j]<='Z'))||((a[i][j]>='0')&&(a[i][j]<='9')))==0){cout<<'0'< urls = new ArrayList();IJavaProject javaProject = JavaCore.create(project);urls.add(new File(project.getLocation() + \"/\" + javaProject.getOutputLocation().removeFirstSegments(1) + \"/\").toURI().toURL());for (IClasspathEntry classpathEntry : javaProject.getResolvedClasspath(true)) {if (classpathEntry.getEntryKind() == IClasspathEntry.CPE_PROJECT) {IPath projectPath = classpathEntry.getPath();IProject otherProject = workspace.getRoot().getProject(projectPath.segment(0));IJavaProject otherJavaProject = JavaCore.create(otherProject);urls.add(new File(otherProject.getLocation() + \"/\" + otherJavaProject.getOutputLocation().removeFirstSegments(1) + \"/\").toURI().toURL());}}theClassLoader = AccessController.doPrivileged(new GetURLClassLoaderSuperAction(urls));}} else if (templateURI.isPlatformPlugin()) {final Bundle bundle = Platform.getBundle(templateURI.segment(1));if (bundle != null) {theClassLoader = AccessController.doPrivileged(new GetURLClassLoaderBundleAction(bundle));}}if (theClassLoader != null) {String className = (packageName.length() == 0 ? \"\" : packageName + \".\") + jetCompiler.getSkeleton().getClassName();if (className.endsWith(\"_\")) {className = className.substring(0, className.length() - 1);}try {Class theClass = theClassLoader.loadClass(className);Class theOtherClass = null;try {theOtherClass = getClassLoader().loadClass(className);} catch (ClassNotFoundException exception) {}if (theClass != theOtherClass) {String methodName = jetCompiler.getSkeleton().getMethodName();Method[] methods = theClass.getDeclaredMethods();for (int i = 0; i < methods.length; ++i) {if (methods[i].getName().equals(methodName)) {jetEmitter.setMethod(methods[i]);break;}}return;}} catch (ClassNotFoundException exception) {}}}ByteArrayOutputStream outputStream = new ByteArrayOutputStream();jetCompiler.generate(outputStream);final InputStream contents = new ByteArrayInputStream(outputStream.toByteArray());if (!javaModel.isOpen()) {javaModel.open(new SubProgressMonitor(progressMonitor, 1));} else {progressMonitor.worked(1);}final IProject project = workspace.getRoot().getProject(jetEmitter.getProjectName());progressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETPreparingProject_message\", new Object[] { project.getName() }));IJavaProject javaProject;if (!project.exists()) {progressMonitor.subTask(\"JET creating project \" + project.getName());project.create(new SubProgressMonitor(progressMonitor, 1));progressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETCreatingProject_message\", new Object[] { project.getName() }));IProjectDescription description = workspace.newProjectDescription(project.getName());description.setNatureIds(new String[] { JavaCore.NATURE_ID });description.setLocation(null);project.open(new SubProgressMonitor(progressMonitor, 1));project.setDescription(description, new SubProgressMonitor(progressMonitor, 1));} else {project.open(new SubProgressMonitor(progressMonitor, 5));IProjectDescription description = project.getDescription();description.setNatureIds(new String[] { JavaCore.NATURE_ID });project.setDescription(description, new SubProgressMonitor(progressMonitor, 1));}javaProject = JavaCore.create(project);List classpath = new UniqueEList(Arrays.asList(javaProject.getRawClasspath()));for (int i = 0, len = classpath.size(); i < len; i++) {IClasspathEntry entry = classpath.get(i);if (entry.getEntryKind() == IClasspathEntry.CPE_SOURCE && (\"/\" + project.getName()).equals(entry.getPath().toString())) {classpath.remove(i);}}progressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETInitializingProject_message\", new Object[] { project.getName() }));IClasspathEntry classpathEntry = JavaCore.newSourceEntry(new Path(\"/\" + project.getName() + \"/src\"));IClasspathEntry jreClasspathEntry = JavaCore.newContainerEntry(new Path(\"org.eclipse.jdt.launching.JRE_CONTAINER\"));classpath.add(classpathEntry);classpath.add(jreClasspathEntry);classpath.addAll(getClassPathEntries());IFolder sourceFolder = project.getFolder(new Path(\"src\"));if (!sourceFolder.exists()) {sourceFolder.create(false, true, new SubProgressMonitor(progressMonitor, 1));}IFolder runtimeFolder = project.getFolder(new Path(\"bin\"));if (!runtimeFolder.exists()) {runtimeFolder.create(false, true, new SubProgressMonitor(progressMonitor, 1));}javaProject.setRawClasspath(classpath.toArray(new IClasspathEntry[classpath.size()]), new SubProgressMonitor(progressMonitor, 1));javaProject.setOutputLocation(new Path(\"/\" + project.getName() + \"/bin\"), new SubProgressMonitor(progressMonitor, 1));javaProject.close();progressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETOpeningJavaProject_message\", new Object[] { project.getName() }));javaProject.open(new SubProgressMonitor(progressMonitor, 1));IPackageFragmentRoot[] packageFragmentRoots = javaProject.getPackageFragmentRoots();IPackageFragmentRoot sourcePackageFragmentRoot = null;for (int j = 0; j < packageFragmentRoots.length; ++j) {IPackageFragmentRoot packageFragmentRoot = packageFragmentRoots[j];if (packageFragmentRoot.getKind() == IPackageFragmentRoot.K_SOURCE) {sourcePackageFragmentRoot = packageFragmentRoot;break;}}StringTokenizer stringTokenizer = new StringTokenizer(packageName, \".\");IProgressMonitor subProgressMonitor = new SubProgressMonitor(progressMonitor, 1);subProgressMonitor.beginTask(\"\", stringTokenizer.countTokens() + 4);subProgressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_CreateTargetFile_message\"));IContainer sourceContainer = sourcePackageFragmentRoot == null ? project : (IContainer) sourcePackageFragmentRoot.getCorrespondingResource();while (stringTokenizer.hasMoreElements()) {String folderName = stringTokenizer.nextToken();sourceContainer = sourceContainer.getFolder(new Path(folderName));if (!sourceContainer.exists()) {((IFolder) sourceContainer).create(false, true, new SubProgressMonitor(subProgressMonitor, 1));}}IFile targetFile = sourceContainer.getFile(new Path(jetCompiler.getSkeleton().getClassName() + \".java\"));if (!targetFile.exists()) {subProgressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETCreating_message\", new Object[] { targetFile.getFullPath() }));targetFile.create(contents, true, new SubProgressMonitor(subProgressMonitor, 1));} else {subProgressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETUpdating_message\", new Object[] { targetFile.getFullPath() }));targetFile.setContents(contents, true, true, new SubProgressMonitor(subProgressMonitor, 1));}subProgressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETBuilding_message\", new Object[] { project.getName() }));project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new SubProgressMonitor(subProgressMonitor, 1));boolean errors = hasErrors(subProgressMonitor, targetFile);if (!errors) {subProgressMonitor.subTask(CodeGenPlugin.getPlugin().getString(\"_UI_JETLoadingClass_message\", new Object[] { jetCompiler.getSkeleton().getClassName() + \".class\" }));List urls = new ArrayList();urls.add(new File(project.getLocation() + \"/\" + javaProject.getOutputLocation().removeFirstSegments(1) + \"/\").toURI().toURL());final Set bundles = new HashSet();LOOP: for (IClasspathEntry jetEmitterClasspathEntry : jetEmitter.getClasspathEntries()) {IClasspathAttribute[] classpathAttributes = jetEmitterClasspathEntry.getExtraAttributes();if (classpathAttributes != null) {for (IClasspathAttribute classpathAttribute : classpathAttributes) {if (classpathAttribute.getName().equals(CodeGenUtil.EclipseUtil.PLUGIN_ID_CLASSPATH_ATTRIBUTE_NAME)) {Bundle bundle = Platform.getBundle(classpathAttribute.getValue());if (bundle != null) {bundles.add(bundle);continue LOOP;}}}}urls.add(new URL(\"platform:/resource\" + jetEmitterClasspathEntry.getPath() + \"/\"));}URLClassLoader theClassLoader = AccessController.doPrivileged(new GetURLClassLoaderSuperBundlesAction(bundles, urls));Class theClass = theClassLoader.loadClass((packageName.length() == 0 ? \"\" : packageName + \".\") + jetCompiler.getSkeleton().getClassName());String methodName = jetCompiler.getSkeleton().getMethodName();Method[] methods = theClass.getDeclaredMethods();for (int i = 0; i < methods.length; ++i) {if (methods[i].getName().equals(methodName)) {jetEmitter.setMethod(methods[i]);break;}}}subProgressMonitor.done();} catch (CoreException exception) {throw new JETException(exception);} catch (Exception exception) {throw new JETException(exception);} finally {progressMonitor.done();}}private String signMethod() {String str = API.SHARED_SECRET;Vector v = new Vector(parameters.keySet());Collections.sort(v);for (String key : v) {str += key + parameters.get(key);}MessageDigest m = null;try {m = MessageDigest.getInstance(\"MD5\");m.update(str.getBytes(), 0, str.length());return new BigInteger(1, m.digest()).toString(16);} catch (NoSuchAlgorithmException e) {return null;}}public void setImage(java.awt.Image img) {if (imageName != null && imageName.length() > 0) {try {InputStream url = currentProject.getUrl(imageName).openStream();image = new org.eclipse.swt.graphics.Image(getDisplay(), url);} catch (IOException e) {e.printStackTrace();}Display.getDefault().asyncExec(new Runnable() {public void run() {redraw();}});}}private void work(String[] args) throws Exception {String dictLocation = CONTENT_URL;String cpeContentDirName = CONTENT_DIR;String fn = dictLocation.substring(dictLocation.lastIndexOf(\"/\") + 1);File destFile = new File(cpeContentDirName + File.separator + fn);URL url = new URL(dictLocation);URLConnection conn = url.openConnection();conn.connect();long lmodifiedRemote = conn.getLastModified();boolean needToDownload = false;if (destFile.exists()) {System.out.println(destFile.getAbsolutePath() + \" exists, check modification time\");long lmodifiedLocal = destFile.lastModified();if (lmodifiedRemote > lmodifiedLocal) {System.out.println(\"Server file is newer, need to download\");needToDownload = true;} else {System.out.println(\"Local version is newer, no need to download\");}} else {System.out.println(\"Local version doesn't exist, need to download\");needToDownload = true;}if (needToDownload) {InputStream is = conn.getInputStream();FileOutputStream fos = new FileOutputStream(destFile);byte[] buff = new byte[8192];int read = 0;while ((read = is.read(buff)) > 0) {fos.write(buff, 0, read);}fos.flush();fos.close();is.close();}}protected void readLockssConfigFile(URL url, List peers) {PrintWriter out = null;try {out = new PrintWriter(new OutputStreamWriter(System.out, \"utf8\"), true);out.println(\"unicode-output-ready\");} catch (UnsupportedEncodingException ex) {System.out.println(ex.toString());return;}XMLInputFactory xmlif = XMLInputFactory.newInstance();xmlif.setProperty(\"javax.xml.stream.isCoalescing\", java.lang.Boolean.TRUE);xmlif.setProperty(\"javax.xml.stream.isNamespaceAware\", java.lang.Boolean.TRUE);XMLStreamReader xmlr = null;BufferedInputStream stream = null;long starttime = System.currentTimeMillis();out.println(\"Starting to parse the remote config xml[\" + url + \"]\");int elementCount = 0;int topPropertyCounter = 0;int propertyTagLevel = 0;try {stream = new BufferedInputStream(url.openStream());xmlr = xmlif.createXMLStreamReader(stream, \"utf8\");int eventType = xmlr.getEventType();String curElement = \"\";String targetTagName = \"property\";String peerListAttrName = \"id.initialV3PeerList\";boolean sentinel = false;boolean valueline = false;while (xmlr.hasNext()) {eventType = xmlr.next();switch(eventType) {case XMLEvent.START_ELEMENT:curElement = xmlr.getLocalName();if (curElement.equals(\"property\")) {topPropertyCounter++;propertyTagLevel++;int count = xmlr.getAttributeCount();if (count > 0) {for (int i = 0; i < count; i++) {if (xmlr.getAttributeValue(i).equals(peerListAttrName)) {sentinel = true;out.println(\"!!!!!! hit the\" + peerListAttrName);out.println(\"attr=\" + xmlr.getAttributeName(i));out.println(\"vl=\" + xmlr.getAttributeValue(i));out.println(\">>>>>>>>>>>>>> start :property tag (\" + topPropertyCounter + \") >>>>>>>>>>>>>>\");out.println(\">>>>>>>>>>>>>> property tag level (\" + propertyTagLevel + \") >>>>>>>>>>>>>>\");out.print(xmlr.getAttributeName(i).toString());out.print(\"=\");out.print(\"\\\"\");out.print(xmlr.getAttributeValue(i));out.println(\"\");}}}}if (sentinel && curElement.equals(\"value\")) {valueline = true;String ipAd = xmlr.getElementText();peers.add(ipAd);}break;case XMLEvent.CHARACTERS:break;case XMLEvent.ATTRIBUTE:if (curElement.equals(targetTagName)) {}break;case XMLEvent.END_ELEMENT:if (xmlr.getLocalName().equals(\"property\")) {if (sentinel) {out.println(\"========= end of the target property element\");sentinel = false;valueline = false;}elementCount++;propertyTagLevel--;} else {}break;case XMLEvent.END_DOCUMENT:}}} catch (MalformedURLException ue) {} catch (IOException ex) {} catch (XMLStreamException ex) {} finally {if (xmlr != null) {try {xmlr.close();} catch (XMLStreamException ex) {}}if (stream != null) {try {stream.close();} catch (IOException ex) {}}}}private void getRandomGUID(boolean secure) {MessageDigest md5 = null;StringBuffer sbValueBeforeMD5 = new StringBuffer();try {md5 = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException e) {System.out.println(\"Error: \" + e);}try {long time = System.currentTimeMillis();long rand = 0;if (secure) {rand = mySecureRand.nextLong();} else {rand = myRand.nextLong();}sbValueBeforeMD5.append(s_id);sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(time));sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(rand));valueBeforeMD5 = sbValueBeforeMD5.toString();md5.update(valueBeforeMD5.getBytes());byte[] array = md5.digest();StringBuffer sb = new StringBuffer();for (int j = 0; j < array.length; ++j) {int b = array[j] & 0xFF;if (b < 0x10) sb.append('0');sb.append(Integer.toHexString(b));}valueAfterMD5 = sb.toString();} catch (Exception e) {System.out.println(\"Error:\" + e);}}public Resource get(URL serviceUrl, String resourceId) throws Exception {Resource resource = new Resource();String openurl = serviceUrl.toString() + \"?url_ver=Z39.88-2004\" + \"&rft_id=\" + URLEncoder.encode(resourceId, \"UTF-8\") + \"&svc_id=\" + SVCID_ADORE4;log.debug(\"OpenURL Request: \" + openurl);URL url;try {url = new URL(openurl);HttpURLConnection huc = (HttpURLConnection) (url.openConnection());int code = huc.getResponseCode();if (code == 200) {InputStream is = huc.getInputStream();resource.setBytes(StreamUtil.getByteArray(is));resource.setContentType(huc.getContentType());} else {log.error(\"An error of type \" + code + \" occurred for \" + url.toString());throw new Exception(\"Cannot get \" + url.toString());}} catch (MalformedURLException e) {throw new Exception(\"A MalformedURLException occurred for \" + openurl);} catch (IOException e) {throw new Exception(\"An IOException occurred attempting to connect to \" + openurl);}return resource;}public static String md5Hash(String src) {try {MessageDigest md = MessageDigest.getInstance(\"MD5\");md.update(src.getBytes());return bytesArrayToHexString(md.digest());} catch (Exception e) {return null;}}", "out": "1", "pred": "1"} {"in": "Вместе с тем законы, направленные против публичной безнравственности или непристойности, используются для судебного преследования лиц, которые ими занимаются.На Уимблдоне 2009 года она впервые вышла в третий раунд турнира Большого шлема.Дочь Ханна Подымахина родилась в 1924 году.Приём осуществлялся по рекомендации католических священников, лично знавших кандидатов.Был женат на Элфе де Кардона, потомства не оставил.И в XX веке, в 1940 году, при подготовке издания собрания сочинений Роидиса правительство запретило переиздание романа.Игроки должны сражаться с врагами на арене, управляя своим персонажем с помощью рогатки на своих устройствах.Ещё чаще понятие народа суживается у Pуссо до пролетариата: под народом он тогда разумеет «жалкую» или «несчастную» часть народа.Это были единичные особи, которые месяцами выживали в дикой природе, пока их не находили егеря.Учет сил, действующих между автоматами ij со стороны их соседей.", "out": "0", "pred": "0"} {"in": "Al momento della transazione la ragazza ci ripensa, presa dai rimorsi di coscienza nei confronti di Raoul.Ogni episodio della serie era presentato da Serling, che introduceva lo spettatore nella vita di una persona che stava per cambiare a causa del suo ingresso nella zona \"ai confini della realtà\".Al termine del girone di andata l'Ascoli è ancora penultimo con 8 punti.Al lancio delle cidulas si accompagna la declamazione di una raganiza (frase ritmata) dedicata a ogni ragazzo celibe e ad ogni ragazza nubile del paese.Le ragazze si meravigliano dei suoi capelli e poi tutte insieme si mettono a letto.In questa fase, il meditante cerca l'unità con le forze creative del cosmo evitando però di smarrire la sua coscienza individualizzata.Nei mesi precedenti la manifestazione, il Festival fa tappa in alcune tra le principali città italiane ed estere.", "out": "0", "pred": "0"} {"in": "Dráma grinn ba ea.", "out": "0", "pred": "0"} {"in": "Предусматривается ввод в действие кодов из 3 русских букв. Однако по факту такие коды ещё не используются.До нашего времени дошли подобные фотографии, созданные американцем Уильямом Робертом Боулзом ( ).В конце 6 тома занимает должность председателя Досинкай и становится четвёртым главой клана.Макстивен участвовал в первой своей операции как член ИРА: отряд ирландских повстанцев разграбил в тот день оружейную Учебного офицерского корпуса в школе Фелстид.Её социальный статус не ясен, и кроме „Леди“, используются такие имена, как, королева, принцесса, или Жрица Викс, которые можно прочесть в различных статьях.В 1962 году после выхода на пенсию работал заместителем председателя колхоза по животноводству в колхозе «Коммунизм»В 1964—1983 гг. сыграл роли в спектаклях «Театра телевидения», в 1978—2009 гг. в передачах «театра Польского радио».На тракторах и судах, где специальных требований к приемистости не предъявляется, наоборот, применяются турбокомпрессоры с крупногабаритными рабочими колесами, которые лучше переносят длительную работу в режимах, близких к максимальной мощности.Мосс была женой Криттендена до его смерти.Протоиерей Игорь Шитиков отмечал: «Западный обряд, принятый в Зарубежной церкви нельзя назвать западным в чистом виде.", "out": "0", "pred": "0"} {"in": "def check_monthnumber_number(monthnum3):\n return monthnum3==4 or monthnum3==6 or monthnum3==9 or monthnum3==11", "out": "1", "pred": "1"} {"in": "private void weightAndPlaceClasses() {int rows = getRows();for (int curRow = _maxPackageRank; curRow < rows; curRow++) {xPos = getHGap() / 2;BOTLObjectSourceDiagramNode[] rowObject = getObjectsInRow(curRow);for (int i = 0; i < rowObject.length; i++) {if (curRow == _maxPackageRank) {int nDownlinks = rowObject[i].getDownlinks().size();rowObject[i].setWeight((nDownlinks > 0) ? (1 / nDownlinks) : 2);} else {Vector uplinks = rowObject[i].getUplinks();int nUplinks = uplinks.size();if (nUplinks > 0) {float average_col = 0;for (int j = 0; j < uplinks.size(); j++) {average_col += ((BOTLObjectSourceDiagramNode) (uplinks.elementAt(j))).getColumn();}average_col /= nUplinks;rowObject[i].setWeight(average_col);} else {rowObject[i].setWeight(1000);}}}int[] pos = new int[rowObject.length];for (int i = 0; i < pos.length; i++) {pos[i] = i;}boolean swapped = true;while (swapped) {swapped = false;for (int i = 0; i < pos.length - 1; i++) {if (rowObject[pos[i]].getWeight() > rowObject[pos[i + 1]].getWeight()) {int temp = pos[i];pos[i] = pos[i + 1];pos[i + 1] = temp;swapped = true;}}}for (int i = 0; i < pos.length; i++) {rowObject[pos[i]].setColumn(i);if ((i > _vMax) && (rowObject[pos[i]].getUplinks().size() == 0) && (rowObject[pos[i]].getDownlinks().size() == 0)) {if (getColumns(rows - 1) > _vMax) {rows++;}rowObject[pos[i]].setRank(rows - 1);} else {rowObject[pos[i]].setLocation(new Point(xPos, yPos));xPos += rowObject[pos[i]].getSize().getWidth() + getHGap();}}yPos += getRowHeight(curRow) + getVGap();}}public void loginMD5() throws Exception {GetMethod get = new GetMethod(\"http://login.yahoo.com/config/login?.src=www&.done=http://www.yahoo.com\");get.setRequestHeader(\"user-agent\", \"Mozilla/5.0 (Macintosh; U; PPC MacOS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1\");client.executeMethod(get);parseResponse(get.getResponseBodyAsStream());MessageDigest digest = MessageDigest.getInstance(\"MD5\");digest.update(password.getBytes(\"US-ASCII\"));String hash1 = new String(digest.digest(), \"US-ASCII\");String hash2 = hash1 + challenge;digest.update(hash2.getBytes(\"US-ASCII\"));String hash = new String(digest.digest(), \"US-ASCII\");NameValuePair[] pairs = { new NameValuePair(\"login\", login), new NameValuePair(\"password\", hash), new NameValuePair(\".save\", \"1\"), new NameValuePair(\".tries\", \"1\"), new NameValuePair(\".src\", \"www\"), new NameValuePair(\".md5\", \"1\"), new NameValuePair(\".hash\", \"1\"), new NameValuePair(\".js\", \"1\"), new NameValuePair(\".last\", \"\"), new NameValuePair(\".promo\", \"\"), new NameValuePair(\".intl\", \"us\"), new NameValuePair(\".bypass\", \"\"), new NameValuePair(\".u\", u), new NameValuePair(\".v\", \"0\"), new NameValuePair(\".challenge\", challenge), new NameValuePair(\".yplus\", \"\"), new NameValuePair(\".emailCode\", \"\"), new NameValuePair(\"pkg\", \"\"), new NameValuePair(\"stepid\", \"\"), new NameValuePair(\".ev\", \"\"), new NameValuePair(\"hasMsgr\", \"0\"), new NameValuePair(\".chkP\", \"Y\"), new NameValuePair(\".done\", \"http://www.yahoo.com\"), new NameValuePair(\".persistent\", \"y\") };get = new GetMethod(\"http://login.yahoo.com/config/login\");get.setRequestHeader(\"user-agent\", \"Mozilla/5.0 (Macintosh; U; PPC MacOS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1\");get.addRequestHeader(\"Accept\", \"*/*\");get.addRequestHeader(\"Accept-Language\", \"en-us, ja;q=0.21, de-de;q=0.86, de;q=0.79, fr-fr;q=0.71, fr;q=0.64, nl-nl;q=0.57, nl;q=0.50, it-it;q=0.43, it;q=0.36, ja-jp;q=0.29, en;q=0.93, es-es;q=0.14, es;q=0.07\");get.setQueryString(pairs);client.executeMethod(get);get.getResponseBodyAsString();}private void createJCoPluginProject(IProgressMonitor monitor, String sourceFileName, String pluginName) throws CoreException, IOException {monitor.subTask(MessageFormat.format(Messages.ProjectGenerator_CreatePluginTaskDescription, pluginName));final Map files = readArchiveFile(sourceFileName);monitor.worked(10);IProject project = workspaceRoot.getProject(pluginName);if (project.exists()) {project.delete(true, true, new SubProgressMonitor(monitor, 5));} else {monitor.worked(5);}project.create(new SubProgressMonitor(monitor, 5));project.open(new SubProgressMonitor(monitor, 5));IProjectDescription description = project.getDescription();description.setNatureIds(new String[] { JavaCore.NATURE_ID, PLUGIN_NATURE_ID });project.setDescription(description, new SubProgressMonitor(monitor, 5));IJavaProject javaProject = JavaCore.create(project);IFolder binDir = project.getFolder(\"bin\");IPath binPath = binDir.getFullPath();javaProject.setOutputLocation(binPath, new SubProgressMonitor(monitor, 5));project.getFolder(\"jni\").create(true, true, new SubProgressMonitor(monitor, 5));project.getFile(\"sapjco3.jar\").create(new ByteArrayInputStream(files.get(\"sapjco3.jar\")), true, new SubProgressMonitor(monitor, 10));IFolder metaInfFolder = project.getFolder(\"META-INF\");metaInfFolder.create(true, true, new SubProgressMonitor(monitor, 5));StringBuilder manifest = new StringBuilder();manifest.append(\"Manifest-Version: 1.0\\n\");manifest.append(\"Bundle-ManifestVersion: 2\\n\");manifest.append(\"Bundle-Name: SAP Java Connector v3\\n\");manifest.append(MessageFormat.format(\"Bundle-SymbolicName: {0}\\n\", pluginName));manifest.append(\"Bundle-Version: 7.11.0\\n\");manifest.append(\"Bundle-ClassPath: bin/,\\n\");manifest.append(\" sapjco3.jar,\\n\");manifest.append(\" jni/\\n\");manifest.append(\"Bundle-Vendor: SAP AG, Walldorf (packaged using RCER)\\n\");manifest.append(\"Bundle-RequiredExecutionEnvironment: J2SE-1.5\\n\");manifest.append(\"Export-Package: com.sap.conn.jco,\\n\");manifest.append(\" com.sap.conn.jco.ext,\\n\");manifest.append(\" com.sap.conn.jco.monitor,\\n\");manifest.append(\" com.sap.conn.jco.rt,\\n\");manifest.append(\" com.sap.conn.jco.server\\n\");manifest.append(\"Bundle-ActivationPolicy: lazy\\n\");writeTextFile(monitor, manifest, metaInfFolder.getFile(\"MANIFEST.MF\"));final IPath jcoPath = new Path(MessageFormat.format(\"/{0}/sapjco3.jar\", pluginName));IClasspathEntry jcoEntry = JavaCore.newLibraryEntry(jcoPath, Path.EMPTY, Path.EMPTY, true);final IPath jniPath = new Path(MessageFormat.format(\"/{0}/jni\", pluginName));IClasspathEntry jniEntry = JavaCore.newLibraryEntry(jniPath, Path.EMPTY, Path.EMPTY, true);javaProject.setRawClasspath(new IClasspathEntry[] { jcoEntry, jniEntry }, new SubProgressMonitor(monitor, 5));StringBuilder buildProperties = new StringBuilder();buildProperties.append(\"bin.includes = META-INF/,\\\\\\n\");buildProperties.append(\"sapjco3.jar,\\\\\\n\");buildProperties.append(\"jni/,\\\\\\n\");buildProperties.append(\".\\n\");writeTextFile(monitor, buildProperties, project.getFile(\"build.properties\"));exportableBundles.add(modelManager.findModel(project));}private void createIDocPluginProject(IProgressMonitor monitor, String sourceFileName, String pluginName, String pluginNameJCo) throws CoreException, IOException {monitor.subTask(MessageFormat.format(Messages.ProjectGenerator_CreatePluginTaskDescription, pluginName));final Map files = readArchiveFile(sourceFileName);monitor.worked(10);IProject project = workspaceRoot.getProject(pluginName);if (project.exists()) {project.delete(true, true, new SubProgressMonitor(monitor, 5));} else {monitor.worked(5);}project.create(new SubProgressMonitor(monitor, 5));project.open(new SubProgressMonitor(monitor, 5));IProjectDescription description = project.getDescription();description.setNatureIds(new String[] { JavaCore.NATURE_ID, PLUGIN_NATURE_ID });project.setDescription(description, new SubProgressMonitor(monitor, 5));IJavaProject javaProject = JavaCore.create(project);IFolder binDir = project.getFolder(\"bin\");IPath binPath = binDir.getFullPath();javaProject.setOutputLocation(binPath, new SubProgressMonitor(monitor, 5));project.getFile(\"sapidoc3.jar\").create(new ByteArrayInputStream(files.get(\"sapidoc3.jar\")), true, new SubProgressMonitor(monitor, 15));IFolder metaInfFolder = project.getFolder(\"META-INF\");metaInfFolder.create(true, true, new SubProgressMonitor(monitor, 5));StringBuilder manifest = new StringBuilder();manifest.append(\"Manifest-Version: 1.0\\n\");manifest.append(\"Bundle-ManifestVersion: 2\\n\");manifest.append(\"Bundle-Name: SAP IDoc Library v3\\n\");manifest.append(MessageFormat.format(\"Bundle-SymbolicName: {0}\\n\", pluginName));manifest.append(\"Bundle-Version: 7.11.0\\n\");manifest.append(\"Bundle-ClassPath: bin/,\\n\");manifest.append(\" sapidoc3.jar\\n\");manifest.append(\"Bundle-Vendor: SAP AG, Walldorf (packaged using RCER)\\n\");manifest.append(\"Bundle-RequiredExecutionEnvironment: J2SE-1.5\\n\");manifest.append(\"Export-Package: com.sap.conn.idoc,\\n\");manifest.append(\" com.sap.conn.idoc.jco,\\n\");manifest.append(\" com.sap.conn.idoc.rt.cp,\\n\");manifest.append(\" com.sap.conn.idoc.rt.record,\\n\");manifest.append(\" com.sap.conn.idoc.rt.record.impl,\\n\");manifest.append(\" com.sap.conn.idoc.rt.trace,\\n\");manifest.append(\" com.sap.conn.idoc.rt.util,\\n\");manifest.append(\" com.sap.conn.idoc.rt.xml\\n\");manifest.append(\"Bundle-ActivationPolicy: lazy\\n\");manifest.append(MessageFormat.format(\"Require-Bundle: {0}\\n\", pluginNameJCo));writeTextFile(monitor, manifest, metaInfFolder.getFile(\"MANIFEST.MF\"));final IPath jcoPath = new Path(MessageFormat.format(\"/{0}/sapidoc3.jar\", pluginName));IClasspathEntry jcoEntry = JavaCore.newLibraryEntry(jcoPath, Path.EMPTY, Path.EMPTY, true);javaProject.setRawClasspath(new IClasspathEntry[] { jcoEntry }, new SubProgressMonitor(monitor, 5));StringBuilder buildProperties = new StringBuilder();buildProperties.append(\"bin.includes = META-INF/,\\\\\\n\");buildProperties.append(\"sapidoc3.jar,\\\\\\n\");buildProperties.append(\".\\n\");writeTextFile(monitor, buildProperties, project.getFile(\"build.properties\"));exportableBundles.add(modelManager.findModel(project));}public static String hashPassword(String plaintext) {if (plaintext == null) {return \"\";}MessageDigest md = null;try {md = MessageDigest.getInstance(\"SHA1\");md.update(plaintext.getBytes(\"UTF-8\"));} catch (Exception e) {logger.log(Level.SEVERE, \"Problem hashing password.\", e);}return new String(Base64.encodeBase64(md.digest()));}public void runTask(HashMap pjobParms) throws Exception {FTPClient lftpClient = null;FileOutputStream lfosTargetFile = null;JBJFPluginDefinition lpluginCipher = null;IJBJFPluginCipher theCipher = null;try {JBJFFTPDefinition lxmlFTP = null;if (getFTPDefinition() != null) {lxmlFTP = getFTPDefinition();this.mstrSourceDirectory = lxmlFTP.getSourceDirectory();this.mstrTargetDirectory = lxmlFTP.getTargetDirectory();this.mstrFilename = lxmlFTP.getFilename();this.mstrRemoteServer = lxmlFTP.getServer();if (getResources().containsKey(\"plugin-cipher\")) {lpluginCipher = (JBJFPluginDefinition) getResources().get(\"plugin-cipher\");}if (lpluginCipher != null) {theCipher = getTaskPlugins().getCipherPlugin(lpluginCipher.getPluginId());}if (theCipher != null) {this.mstrServerUsr = theCipher.decryptString(lxmlFTP.getUser());this.mstrServerPwd = theCipher.decryptString(lxmlFTP.getPass());} else {this.mstrServerUsr = lxmlFTP.getUser();this.mstrServerPwd = lxmlFTP.getPass();}} else {throw new Exception(\"Work unit [ \" + SHORT_NAME + \" ] is missing an FTP Definition. Please check\" + \" your JBJF Batch Definition file an make sure\" + \" this work unit has a element added\" + \" within the element.\");}lfosTargetFile = new FileOutputStream(mstrTargetDirectory + File.separator + mstrFilename);lftpClient = new FTPClient();lftpClient.connect(mstrRemoteServer);lftpClient.setFileType(lxmlFTP.getFileTransferType());if (!FTPReply.isPositiveCompletion(lftpClient.getReplyCode())) {throw new Exception(\"FTP server [ \" + mstrRemoteServer + \" ] refused connection.\");}if (!lftpClient.login(mstrServerUsr, mstrServerPwd)) {throw new Exception(\"Unable to login to server [ \" + mstrTargetDirectory + \" ].\");}if (!lftpClient.changeWorkingDirectory(mstrSourceDirectory)) {throw new Exception(\"Unable to change to remote directory [ \" + mstrSourceDirectory + \"]\");}lftpClient.enterLocalPassiveMode();if (!lftpClient.retrieveFile(mstrFilename, lfosTargetFile)) {throw new Exception(\"Unable to download [ \" + mstrSourceDirectory + \"/\" + mstrFilename + \" to \" + mstrTargetDirectory + File.separator + mstrFilename + \" ] from server [ \" + mstrRemoteServer + \" ]\");}lfosTargetFile.close();lftpClient.logout();} catch (Exception e) {throw e;} finally {if (lftpClient != null && lftpClient.isConnected()) {try {lftpClient.disconnect();} catch (IOException ioe) {}}if (lfosTargetFile != null) {try {lfosTargetFile.close();} catch (Exception e) {}}}}public File copyLocalFileAsTempFileInExternallyAccessableDir(String localFileRef) throws IOException {log.debug(\"copyLocalFileAsTempFileInExternallyAccessableDir\");File f = this.createTempFileInExternallyAccessableDir();FileChannel srcChannel = new FileInputStream(localFileRef).getChannel();FileChannel dstChannel = new FileOutputStream(f).getChannel();log.debug(\"before transferring via FileChannel from src-inputStream: \" + localFileRef + \" to dest-outputStream: \" + f.getAbsolutePath());dstChannel.transferFrom(srcChannel, 0, srcChannel.size());srcChannel.close();dstChannel.close();log.debug(\"copyLocalFileAsTempFileInExternallyAccessableDir returning: \" + f.getAbsolutePath());return f;}private InputStream fetch(String urlString) throws MalformedURLException, IOException {DefaultHttpClient httpClient = new DefaultHttpClient();HttpGet request = new HttpGet(urlString);HttpResponse response = httpClient.execute(request);return response.getEntity().getContent();}static String getMD5Hash(String str) throws NoSuchAlgorithmException {MessageDigest md = MessageDigest.getInstance(\"MD5\");md.update(str.getBytes());byte[] b = md.digest();StringBuffer sb = new StringBuffer();for (int i = 0; i < b.length; i++) {int v = (int) b[i];v = v < 0 ? 0x100 + v : v;String cc = Integer.toHexString(v);if (cc.length() == 1) sb.append('0');sb.append(cc);}return sb.toString();}@Overridepublic void process(HttpServletRequest request, HttpServletResponse response) throws Exception {String userAgentGroup = processUserAgent(request);final LiwenxRequest lRequest = new LiwenxRequestImpl(request, response, messageSource, userAgentGroup);Locator loc = router.route(lRequest);if (loc instanceof RedirectLocator) {response.sendRedirect(((RedirectLocator) loc).getPage());} else {((AbstractLiwenxRequest) lRequest).setRequestedLocator(loc);try {LiwenxResponse resp = processPage(lRequest, lRequest.getRequestedLocator(), maxRedirections);processHeaders(resp, response);processCookies(resp, response);if (resp instanceof ExternalRedirectionResponse) {response.sendRedirect(((ExternalRedirectionResponse) resp).getRedirectTo());} else if (resp instanceof BinaryResponse) {BinaryResponse bResp = (BinaryResponse) resp;response.setContentType(bResp.getMimeType().toString());IOUtils.copy(bResp.getInputStream(), response.getOutputStream());} else if (resp instanceof XmlResponse) {final Element root = ((XmlResponse) resp).getXml();Document doc = root.getDocument();if (doc == null) {doc = new Document(root);}final Locator l = lRequest.getCurrentLocator();final Device device = l.getDevice();response.setContentType(calculateContentType(device));response.setCharacterEncoding(encoding);if (device == Device.HTML) {view.processView(doc, l.getLocale(), userAgentGroup, response.getWriter());} else {Serializer s = new Serializer(response.getOutputStream(), encoding);s.write(doc);}}} catch (PageNotFoundException e) {response.sendError(HttpServletResponse.SC_NOT_FOUND);} catch (TooManyRedirectionsException e) {throw e;} catch (Exception e) {throw e;}}}", "out": "1", "pred": "1"} {"in": "Dai taccuini del periodo accademico presso gli eredi del pittore, possiamo stabilire quanto l'iter formativo fosse rigido sia dal punto di vista pratico che teorico con Barison pronto ad appuntarsi i volumi da leggere per proseguire negli studi.Nel mese di dicembre 2006 annuncia assieme a Benjamin il ritorno del World's Greatest Tag Team.Ogni capitolo è presentato attraverso il punto di vista di uno dei personaggi principali.Originariamente doveva essere proprio la Rolls-Royce a costruire la nuova FAB 1, ma alla fine venne realizzata dalla Ford.La paradossale situazione, ad ogni modo, ha portato i protagonisti a riappacificarsi, e tutto torna alla normalità.Alfonsina reagì con la scelta di un suicidio freddamente programmato e messo in atto quasi come in una scena teatrale e anticipato da molte sue poesie.Sarà Warner ad uccidere il pipistrello che si scoprirà essere Andy Anderson.", "out": "0", "pred": "0"} {"in": "La violencia del bando contrario puede hacer que te ganes al público, que simpatiza con los débiles.El ataque a Etiopía se enmarcó en el vigor y el idealismo de Italia que aplastó fácilmente a las democracias decadentes, sin sangre y cobardes, especialmente porque apoyaban a los bárbaros sobre la madre de las civilizaciones.Tiene un grosor de 13.4 mm, una altura de 24.28 cm y 18.97 cm de ancho.Su comida favorita es \"tokoroten\".Ha cantado temas musicales en kannada, bengalí, punjabi, nepalí, inglés, hindi, oriya, malayalam, marathi.Se ha hecho numerosos estudios y propuestas, pero parece que solo tienen el apoyo del 30% de los afrikáneres.El cuerpo tiene una relevancia exagerada en la conceptualización occidental de la sociedad.", "out": "0", "pred": "0"} {"in": "Este \"Enis\" es probablemente Juan IV.Se volvió a casar en 1139 con Bernarda de Comminges, pero murió sin hijos en 1150.Transcurrieron varios años hasta que la Empresa Nacional de Telecomunicaciones (ENTEL) dispusiera ampliar la Central Sarratea ubicada sobre Bv.En cuanto a Quinn, su introducción ocurrió en la serie animada de 1992, en donde se le muestra como una psiquiatra de Arkham que desarrolla una obsesión romántica hacia Joker.; Golobio fue titular los 90' minutos pero el marcador finalizó 3-2 a favor de los cafeteros.Es conocido por su libro coloreado a mano en el que ilustra trajes de diferentes de personas en México.La hembra presenta las partes superiores de color pardo grisáceo, con listas superciliares blancas.", "out": "0", "pred": "0"} {"in": "public ViewProperties(String basePath, String baseFile) throws Exception {FileInputStream input = null;String file = basePath + \"/\" + baseFile + \".properties\";properties = new Properties();try {URL url = MapViewer.class.getResource(file);properties.load(url.openStream());viewName = (String) properties.get(\"view.name\");viewShape = (String) properties.get(\"view.shape\");path = basePath + \"/\" + (String) properties.get(\"icon.path\");iconHeight = getIntProperty(\"icon.height\", 96);iconWidth = getIntProperty(\"icon.width\", 96);fontSizeSmall = getIntProperty(\"font.small.size\", 10);fontSizeMedium = getIntProperty(\"font.medium.size\", 12);fontSizeLarge = getIntProperty(\"font.large.size\", 16);fontSizeHuge = getIntProperty(\"font.huge.size\", 20);if (viewShape.equals(\"Hexagonal\")) {tileHeight = (int) (Math.sqrt(3.0) / 2.0 * iconWidth);tileWidth = (int) (iconWidth * 3.0 / 4.0);tileOffset = (int) (tileHeight / 2.0);} else {tileHeight = iconHeight;tileWidth = iconWidth;tileOffset = 0;}} catch (Exception e) {error(\"Cannot load properties from file [\" + file + \"]\");throw e;}}private void write(File src, File dst, byte id3v1Tag[], byte id3v2HeadTag[], byte id3v2TailTag[]) throws IOException {if (src == null || !src.exists()) throw new IOException(Debug.getDebug(\"missing src\", src));if (!src.getName().toLowerCase().endsWith(\".mp3\")) throw new IOException(Debug.getDebug(\"src not mp3\", src));if (dst == null) throw new IOException(Debug.getDebug(\"missing dst\", dst));if (dst.exists()) {dst.delete();if (dst.exists()) throw new IOException(Debug.getDebug(\"could not delete dst\", dst));}boolean hasId3v1 = new MyID3v1().hasID3v1(src);long id3v1Length = hasId3v1 ? ID3_V1_TAG_LENGTH : 0;long id3v2HeadLength = new MyID3v2().findID3v2HeadLength(src);long id3v2TailLength = new MyID3v2().findID3v2TailLength(src, hasId3v1);OutputStream os = null;InputStream is = null;try {dst.getParentFile().mkdirs();os = new FileOutputStream(dst);os = new BufferedOutputStream(os);if (!skipId3v2Head && !skipId3v2 && id3v2HeadTag != null) os.write(id3v2HeadTag);is = new FileInputStream(src);is = new BufferedInputStream(is);is.skip(id3v2HeadLength);long total_to_read = src.length();total_to_read -= id3v1Length;total_to_read -= id3v2HeadLength;total_to_read -= id3v2TailLength;byte buffer[] = new byte[1024];long total_read = 0;while (total_read < total_to_read) {int remainder = (int) (total_to_read - total_read);int readSize = Math.min(buffer.length, remainder);int read = is.read(buffer, 0, readSize);if (read <= 0) throw new IOException(\"unexpected EOF\");os.write(buffer, 0, read);total_read += read;}if (!skipId3v2Tail && !skipId3v2 && id3v2TailTag != null) os.write(id3v2TailTag);if (!skipId3v1 && id3v1Tag != null) os.write(id3v1Tag);} finally {try {if (is != null) is.close();} catch (Throwable e) {Debug.debug(e);}try {if (os != null) os.close();} catch (Throwable e) {Debug.debug(e);}}}public Program createNewProgram(int projectID, String name, String description) throws AdaptationException {Program program = null;Connection connection = null;Statement statement = null;ResultSet resultSet = null;try {connection = DriverManager.getConnection(CONN_STR);connection.setAutoCommit(false);statement = connection.createStatement();String query = \"INSERT INTO Programs(projectID, name, \" + \"description, sourcePath) VALUES ( \" + projectID + \", \" + \"'\" + name + \"', \" + \"'\" + description + \"', \" + \"'\" + \"[unknown]\" + \"')\";log.debug(\"SQL Query:\\n\" + query);statement.executeUpdate(query);query = \"SELECT * FROM Programs WHERE \" + \" projectID= \" + projectID + \" AND \" + \" name= '\" + name + \"' AND \" + \" description = '\" + description + \"'\";resultSet = statement.executeQuery(query);if (!resultSet.next()) {connection.rollback();String msg = \"Attempt to create program failed\";log.error(msg);throw new AdaptationException(msg);}program = getProgram(resultSet);connection.commit();} catch (SQLException ex) {try {connection.rollback();} catch (Exception e) {}String msg = \"SQLException in createNewProgram\";log.error(msg, ex);throw new AdaptationException(msg, ex);} finally {try {resultSet.close();} catch (Exception ex) {}try {statement.close();} catch (Exception ex) {}try {connection.close();} catch (Exception ex) {}}return program;}public Program updateProgramPath(int id, String sourcePath) throws AdaptationException {Program program = null;Connection connection = null;Statement statement = null;ResultSet resultSet = null;try {String query = \"UPDATE Programs SET \" + \"sourcePath = '\" + sourcePath + \"' \" + \"WHERE id = \" + id;connection = DriverManager.getConnection(CONN_STR);statement = connection.createStatement();statement.executeUpdate(query);query = \"SELECT * from Programs WHERE id = \" + id;resultSet = statement.executeQuery(query);if (!resultSet.next()) {connection.rollback();String msg = \"Attempt to update program failed.\";log.error(msg);throw new AdaptationException(msg);}program = getProgram(resultSet);connection.commit();} catch (SQLException ex) {try {connection.rollback();} catch (Exception e) {}String msg = \"SQLException in updateProgramPath\";log.error(msg, ex);throw new AdaptationException(msg, ex);} finally {try {resultSet.close();} catch (Exception ex) {}try {statement.close();} catch (Exception ex) {}try {connection.close();} catch (Exception ex) {}}return program;}public Program deleteProgram(int id) throws AdaptationException {Program program = null;Connection connection = null;Statement statement = null;ResultSet resultSet = null;try {String query = \"SELECT * FROM Programs WHERE id = \" + id;connection = DriverManager.getConnection(CONN_STR);statement = connection.createStatement();resultSet = statement.executeQuery(query);if (!resultSet.next()) {connection.rollback();String msg = \"Attempt to delete program failed.\";log.error(msg);throw new AdaptationException(msg);}program = getProgram(resultSet);query = \"DELETE FROM Programs WHERE id = \" + id;statement.executeUpdate(query);connection.commit();} catch (SQLException ex) {try {connection.rollback();} catch (Exception e) {}String msg = \"SQLException in deleteProgram\";log.error(msg, ex);throw new AdaptationException(msg, ex);} finally {try {resultSet.close();} catch (Exception ex) {}try {statement.close();} catch (Exception ex) {}try {connection.close();} catch (Exception ex) {}}return program;}private static void copyImage(String srcImg, String destImg) {try {FileChannel srcChannel = new FileInputStream(srcImg).getChannel();FileChannel dstChannel = new FileOutputStream(destImg).getChannel();dstChannel.transferFrom(srcChannel, 0, srcChannel.size());srcChannel.close();dstChannel.close();} catch (Exception e) {e.printStackTrace();}}public HttpResponse executeWithoutRewriting(HttpUriRequest request, HttpContext context) throws IOException {int code = -1;long start = SystemClock.elapsedRealtime();try {HttpResponse response;mConnectionAllocated.set(null);if (NetworkStatsEntity.shouldLogNetworkStats()) {int uid = android.os.Process.myUid();long startTx = NetStat.getUidTxBytes(uid);long startRx = NetStat.getUidRxBytes(uid);response = mClient.execute(request, context);HttpEntity origEntity = response == null ? null : response.getEntity();if (origEntity != null) {long now = SystemClock.elapsedRealtime();long elapsed = now - start;NetworkStatsEntity entity = new NetworkStatsEntity(origEntity, mAppName, uid, startTx, startRx, elapsed, now);response.setEntity(entity);}} else {response = mClient.execute(request, context);}code = response.getStatusLine().getStatusCode();return response;} finally {try {long elapsed = SystemClock.elapsedRealtime() - start;ContentValues values = new ContentValues();values.put(Checkin.Stats.COUNT, 1);values.put(Checkin.Stats.SUM, elapsed / 1000.0);values.put(Checkin.Stats.TAG, Checkin.Stats.Tag.HTTP_REQUEST + \":\" + mAppName);mResolver.insert(Checkin.Stats.CONTENT_URI, values);if (mConnectionAllocated.get() == null && code >= 0) {values.put(Checkin.Stats.TAG, Checkin.Stats.Tag.HTTP_REUSED + \":\" + mAppName);mResolver.insert(Checkin.Stats.CONTENT_URI, values);}String status = code < 0 ? \"IOException\" : Integer.toString(code);values.put(Checkin.Stats.TAG, Checkin.Stats.Tag.HTTP_STATUS + \":\" + mAppName + \":\" + status);mResolver.insert(Checkin.Stats.CONTENT_URI, values);} catch (Exception e) {Log.e(TAG, \"Error recording stats\", e);}}}public HttpResponse execute(HttpUriRequest request, HttpContext context) throws IOException {URI uri = request.getURI();String original = uri.toString();UrlRules rules = UrlRules.getRules(mResolver);UrlRules.Rule rule = rules.matchRule(original);String rewritten = rule.apply(original);if (rewritten == null) {Log.w(TAG, \"Blocked by \" + rule.mName + \": \" + original);throw new BlockedRequestException(rule);} else if (rewritten == original) {return executeWithoutRewriting(request, context);}try {uri = new URI(rewritten);} catch (URISyntaxException e) {throw new RuntimeException(\"Bad URL from rule: \" + rule.mName, e);}RequestWrapper wrapper = wrapRequest(request);wrapper.setURI(uri);request = wrapper;if (LOCAL_LOGV) Log.v(TAG, \"Rule \" + rule.mName + \": \" + original + \" -> \" + rewritten);return executeWithoutRewriting(request, context);}public synchronized void connect() throws FTPConnectionException {checkLocked();try {int reply;this.disconnect();if (isSecured()) {this.client = new FTPSClient(protocol, protection, impliciteSec, null, null);} else {this.client = new FTPClient();}if (this.controlEncoding != null) {this.client.setControlEncoding(this.controlEncoding);debug(\"control encoding : \", controlEncoding);}Logger.defaultLogger().info(\"Trying to connect to server : \" + this.remoteServer + \" ...\");debug(\"connect : connect\", remoteServer);client.connect(remoteServer, this.remotePort);Logger.defaultLogger().info(\"Received FTP server response : \" + formatFTPReplyString(client.getReplyString()));this.connectionId = Util.getRndLong();reply = client.getReplyCode();if (!FTPReply.isPositiveCompletion(reply)) {String msg = formatFTPReplyString(client.getReplyString());this.disconnect();throw new FTPConnectionException(\"Unable to communicate with remote FTP server. Got message : \" + msg);} else {Logger.defaultLogger().info(\"Trying to log in with user : \" + this.login + \" ...\");debug(\"connect : login\", login + \"/\" + password);if (!client.login(this.login, this.password)) {String msg = formatFTPReplyString(client.getReplyString());this.disconnect();throw new FTPConnectionException(\"Unable to login on FTP server (\" + login + \"/\" + password + \"). Received response : \" + msg);} else {Logger.defaultLogger().info(\"Logged in with user : \" + this.login + \". Received response : \" + formatFTPReplyString(client.getReplyString()));if (this.passivMode) {Logger.defaultLogger().info(\"Switching to passive mode ...\");debug(\"connect : pasv\");client.enterLocalPassiveMode();reply = client.getReplyCode();if (!FTPReply.isPositiveCompletion(reply)) {String msg = formatFTPReplyString(client.getReplyString());this.disconnect();throw new FTPConnectionException(\"Unable to switch to passiv mode. Received response : \" + msg);} else {this.updateOpTime();}} else {this.updateOpTime();}debug(\"connect : bin\");client.setFileType(FTP.BINARY_FILE_TYPE);Logger.defaultLogger().info(\"Connected to server : \" + this.remoteServer);}}} catch (UnknownHostException e) {resetClient(e);throw new FTPConnectionException(\"Unknown FTP server : \" + this.remoteServer);} catch (SocketException e) {resetClient(e);throw new FTPConnectionException(\"Error during FTP connection : \" + e.getMessage());} catch (IOException e) {resetClient(e);throw new FTPConnectionException(\"Error during FTP connection : \" + e.getMessage());} finally {clearCache();}}private void weightAndPlaceClasses() {int rows = getRows();for (int curRow = _maxPackageRank; curRow < rows; curRow++) {xPos = getHGap() / 2;BOTLObjectSourceDiagramNode[] rowObject = getObjectsInRow(curRow);for (int i = 0; i < rowObject.length; i++) {if (curRow == _maxPackageRank) {int nDownlinks = rowObject[i].getDownlinks().size();rowObject[i].setWeight((nDownlinks > 0) ? (1 / nDownlinks) : 2);} else {Vector uplinks = rowObject[i].getUplinks();int nUplinks = uplinks.size();if (nUplinks > 0) {float average_col = 0;for (int j = 0; j < uplinks.size(); j++) {average_col += ((BOTLObjectSourceDiagramNode) (uplinks.elementAt(j))).getColumn();}average_col /= nUplinks;rowObject[i].setWeight(average_col);} else {rowObject[i].setWeight(1000);}}}int[] pos = new int[rowObject.length];for (int i = 0; i < pos.length; i++) {pos[i] = i;}boolean swapped = true;while (swapped) {swapped = false;for (int i = 0; i < pos.length - 1; i++) {if (rowObject[pos[i]].getWeight() > rowObject[pos[i + 1]].getWeight()) {int temp = pos[i];pos[i] = pos[i + 1];pos[i + 1] = temp;swapped = true;}}}for (int i = 0; i < pos.length; i++) {rowObject[pos[i]].setColumn(i);if ((i > _vMax) && (rowObject[pos[i]].getUplinks().size() == 0) && (rowObject[pos[i]].getDownlinks().size() == 0)) {if (getColumns(rows - 1) > _vMax) {rows++;}rowObject[pos[i]].setRank(rows - 1);} else {rowObject[pos[i]].setLocation(new Point(xPos, yPos));xPos += rowObject[pos[i]].getSize().getWidth() + getHGap();}}yPos += getRowHeight(curRow) + getVGap();}}", "out": "1", "pred": "1"} {"in": "На острове расположена заброшенная деревня Миллерсвилль.Ну а Осадчий, он как Ленин — вечно живой.Такие разъёмы имеют различные диаметры и на их поверхности нанесено разное количество бороздок.Выберем любое целое число и прибавим к нему сумму его цифр.Блохин Алексей Михайлович воевода в Темникове в 1682-1683 годах Чл.Зимой погода достаточно влажная, часты штормы и ураганы, однако температура редко опускается ниже 4 °C.Состоят из 18 зёрен разной формы, размера и материала.Считает, что Кэтрин пытается её убить.Последние отделены друг от друга горизонтальными линиями (представлены образцы с одной и четырьмя разделительными линиями).При вручении награды исследователь из Каролинского института Петер Рейхард отметил, что, хотя о существовании гормонов было известно уже давно, механизмы их действия до работ С. были полной загадкой.", "out": "0", "pred": "0"} {"in": "Еще раз, его стиль чувствительной баллады не смог добиться успеха в американских чартах.Сын Ростанга I Ростанг II (ум. после 1146) был последним сеньором Поскье.Демобилизовавшись после службы в армии, В. Качурин поступил на работу в вечернюю школу арктической китобойной флотилии «Советская Украина».По данным переписи 1948 года в состав Сталинского сельсовета входило 8 посёлков и село Первомайское.Persona 5 получила награду «лучшая ролевая игра года» на The Game Awards 2017, а также была одним из номинантов на награду «Игра года»В последней миссии игры закадровый голос сообщает - «Ваш Фоккер готов к взлёту, Сэр!», и мы взлетаем на Фоккере модели Dr.I. Что так же непрозрачно намекает на личность протеже стороны немцев.Посетители должны иметь при себе питьевую воду, топливо и еду.Он служил как бы посредником между присутствующими дамами и участвующими в турнире рыцарями.Порядок выбора в первом раунде определялся жребием, в каждом последующем раунде команда, выбиравшая перед этим первой, перемещалась в конец списка и выбирала последней и так далее, по кругу.Возможен подъезд на автотранспорте по улице Вокзальная.", "out": "0", "pred": "0"} {"in": "Als Konsequenz wurde der Aviation Color Code von Grün auf Gelb gesetzt.Die Qualifikation wurde in sechs zeitlich gestaffelten Gruppen ausgetragen.Filippo Zappata hatte nun den absoluten Höhepunkt in seiner Laufbahn als Konstrukteur von Flugzeugen erreicht.Zwischendurch kehrte Graf Treuberg sporadisch zum Film zurück.Handelspartner mit Abgesandten der Pelzhandelsunternehmen zusammenkamen, um die Felle der Saison abzuliefern und neuen Proviant, Tauschgüter sowie ihren Lohn entgegenzunehmen.In diesem Moment, durch Geräusche aufmerksam gemacht, betritt Georges Lelievre die Küche.Die Königstreuen saßen in der damaligen Nationalversammlung auf der rechten Seite (gesehen vom Parlamentspräsidenten aus), die revolutionär Gesinnten auf der linken.", "out": "0", "pred": "0"} {"in": "re.findall('\\\\S+', str1)getattr(getattr(myobject, 'id', None), 'number', None){i: (i * 2) for i in range(10)}dict((i, i * 2) for i in range(10))plt.cla()total = sum(float(item) for item in s.split(','))bin(ord('P'))print(my_string.split(', ', 1)[1])print(data['places'][0]['post code'])word = re.sub('([aeiou]):(([aeiou][^aeiou]*){3})$', '\\\\1\\\\2', word)json.loads('{\"foo\": 42, \"bar\": \"baz\"}')['bar']data = json.loads(array)data = json.loads(array)re.findall('#(\\\\w+)', 'http://example.org/#comments')any(e in lestring for e in lelist)", "out": "1", "pred": "1"} {"in": "Под влиянием этих утрат Гренвиль полностью посвятил себя политической деятельности.Такая ситуация сохранялась до конца 1996 года.Это естественно смутило афинян, и они отважились на повторное обращение к оракулу, но уже в качестве «умоляющих бога о защите».Группа выпустила всего один альбом в 1998 году.По замыслу организаторов, исполнение гимна должно было ослабить тот сильный психологический эффект, который танец новозеландцев оказал на соперников.В Пуэрто-Мадрине находится один из крупнейших в Южной Америке алюминиевых заводов (Открытый повторно в 1970 году Ярославский государственный университет принято считать преемником университета начала века и Демидовского вуза.Вайолет не хочет переезжать и угрожает матери уйти из дома, если они сделают это.Это были цельнолитые пластмассовые гильзы с продольно гофрированной наружной поверхностью и гнездом под капсюль \"Жевело\", изначально предполагавшие возможность переснаряжения и неоднократного использования Р. Жук.Как неукротимый защитник суверенитета, он выступал категорически против иностранного вмешательства в дела стран Карибского бассейна.", "out": "0", "pred": "0"} {"in": "Il videogioco è ambientato nel regno di Illiria ed il giocatore controlla il personaggio di Aeron, un giovane ex-soldato.L'unico motivo apparente per cui si è deciso di concludere il programma con la staffetta veloce sembra sia quello di dare massimo risalto allo scontro tra il quartetto giamaicano e quello statunitense, che da Pechino 2008 vivono confronti al calor bianco.La struttura si sviluppava, infatti, con un fondale costituito da diversi tubi luminosi mobili che si adattavano creando scenari diversi a seconda dell'esigenza.Poiché era impossibile vendere tutti insieme i beni del clero, furono emessi dei biglietti che rappresentavano il valore di questi beni.Lavorò un poco anche alle Ferrovie del Belgio e come rappresentante.Mark è triste perché a causa del suo comportamento con le infermiere tutti i suoi interventi della giornata sono stati cancellati.I componenti non di diritto del Consiglio superiore di sanità durano in carica tre anni a decorrere dalla data di insediamento.", "out": "0", "pred": "0"} {"in": "def split_two_parts(list1, L):\n return list1[:L], list1[L:]", "out": "1", "pred": "1"} {"in": "Der hl. Mauritius im rechten Flügel ist an seiner schwarzen Hautfarbe erkenntlich, er wird begleitet von Petrus und Paulus.Die Fahrzeuge sollten sowohl für den Transport von Personal, als auch für den Transport von Material geeignet sein.So zum Beispiel „Es lebt ja noch der alte Gott“, „Im Himmel ist gut wohnen“, „Mein liebster Heiland, Jesu Christ“ und „Nur Flügel, ja, dem Himmel zu“.Nach der Magisterprüfung 1984 erfolgte 1986 die Promotion.Das Werk De Controversiis Religionis widmete er Sebestyén Thököly († 1607).Außerdem übernehmen die Beamten der Reviere die Streifentätigkeit im Stadtgebiet und sind zum Teil für die Aufnahme von Verkehrsunfällen sowie andere Verkehrsmaßnahmen zuständig.Zur Tece Gruppe gehören 22 Tochterunternehmen und Niederlassungen weltweit.", "out": "0", "pred": "0"} {"in": "El último de ellos, Eugene Cernan, lo hizo en diciembre de 1972.Tal vez el lienzo de Cole sea una respuesta a esta controversia.Una cota inferior para n(4), y por lo tanto una muy débil cota inferior para el ÁRBOL(3), es A(A(.El General ordena, que el Coronel permanezca en la base por un tiempo.Posteriormente, a principios de mayo anunció que 9 empresas maquiladoras estaban colaborando en la elaboración de mascarillas y equipo médico para ser entregadas a la población.En ocasiones considerados variedades de la misma raza, sus únicas diferencias se dan en pelaje y color.Mientras tanto el agente Montañez activó su rifle AR-15 en forma silenciosa para evitar el menor ruido posible (E.N.P., 119; 151).", "out": "0", "pred": "0"} {"in": "The driver was a skilled man, and paid much more than the stoker.His portrait is depicted on the obverse of the Croatian 1000 Croatian kuna banknote, issued in 1993.In 2001, the building was awarded the Emporis Skyscraper Award for Best New Skyscraper.A veterinarian or a vet, is someone who gives animals Veterinary medicine or medical treatment.Forty-year old Christine Lucas (Nicole Kidman) wakes up with a man whom she doesn't know.In Karur (Tamil Nadu), archaeologists found a large number of coins of Ancient Rome and Egypt. The Pandyas sent at least two ambassadors to the Roman Emperor Augustus.If this is so, they would be the earliest known form of writing.", "out": "0", "pred": "0"} {"in": "def swap_List(newList): \n size = len(newList) \n temp = newList[0] \n newList[0] = newList[size - 1] \n newList[size - 1] = temp \n return newList ", "out": "1", "pred": "1"} {"in": "» (от étoile — звезда), первым среди мужчин его получил Серж Перетти в году.В 1762 и 1763 году она перенесла два выкидыша, что ухудшило состояние её здоровья и стало причиной глубокой депрессии.Зубов у большинства видов 16. Коренные зубы как правило с корнями; реже без корней, постоянно растущие.По мнению исследователя плаваний Чжэн Хэ Дж.Также планируется построить ещё одну очередь трамвайной системы.На поверхности имеется 3—6 поперечных бороздок.Как эта, так и следующая за ней песня о любви Айраса Мониса де Асма Mia senhor, vin-vos rogar (B 7) сохранились только благодаря «Песеннику Национальной библиотеки» и отсутствуют в двух других основных сборниках кантиг на галисийско-португальском языке.Около 66% дополнительного спроса на газ до 2050 года придется на промышленный сектор и производство электроэнергии.В 2016 году в Красноярске вышел роман в четырёх книгах «Двадцать лет и одна ночь».В своих исследованиях Маслоу пришёл к выводу о том, что ключевой характеристикой самоактуализирующихся личностей являются так называемые «пиковые переживания».", "out": "0", "pred": "0"} {"in": "Bancéir ab ea a athair.", "out": "0", "pred": "0"} {"in": "Aún se desconoce la ubicación exacta del Templo de Adrano, cuyo culto probablemente vinculado a la actividad del Etna.Clark presidió el Comité de Propiedad Pública y Obras Públicas y sirvió como «látigo» de la mayoría demócrata por un tiempo.En la noche, sobre todo los fines de semana, el malecón toma vida en los bares y pubs frecuentados por turistas nacionales y extranjeros.A la anterior declaración se sumó la de Giger, quien confesó que el guion original de O'Bannon «le había gustado particularmente porque vi que estaba en la corriente de Lovecraft, una de mis mayores fuentes de inspiración».Por esto, Castelló vuelve a Alicante para trabajar en la construcción de las Hogueras.El juego ofrece audio en japonés e inglés.Por su naturaleza, las leyes son generales y no admiten excepciones.", "out": "0", "pred": "0"} {"in": "def first_odd(nums):\n first_odd = next((el for el in nums if el%2!=0),-1)\n return first_odd", "out": "1", "pred": "1"} {"in": "En ambientes populares.Los trabajadores del diario La Capital pararon por completo las tareas en el edificio de calle Sarmiento y en la planta impresora.Ondrasik se familiarizó con Schwartz basada en el afecto de su hija para, y repitió la asistencia a las actuaciones de, el musical Wicked.El Aero Theatre en Santa Mónica es un cine histórico de 1940 que también ha sido renovado por la American Cinematheque.La presión atmosférica ambiental al nivel del mar no es constante: varía con el clima, pero promedia alrededor de 100 kPa.También tiene una zona para estacionamiento.Un mal terrible justo ahora llega el rocío.", "out": "0", "pred": "0"} {"in": "Der Haltepunkt Quast ging am 13. Juli 1930 in Betrieb.Szene 8. Orpheus kehrt wieder um (Arie: „Vezzosi lumi“).Kurz nach Präsident Yar’Aduas Tod wurde Jonathan als neuer Präsident Nigerias vereidigt.Dadurch können viele Direktverbindungen angeboten werden, wodurch die Zahl der Umsteigevorgänge reduziert und damit die Reisezeit verkürzt wird.Mit diesem Auftritt hat Teddy Uschis Herz zurückerobert, während Beyer, arg ramponiert, mit Vischering im Sportstudio zu sehen ist; wutentbrannt stürzt der ehemalige Schatzmeister Dennemann den Fernseher zu Boden.Im Jahr 1993 lag die Einwohnerzahl bei 43.913, im Jahr 2007 bei 45.958.So stirbt der einzelne Mensch, sein Tod erhält aber im Erhalt der Gattung seine Bestimmung.", "out": "0", "pred": "0"} {"in": "L'année suivante, il débute à l'Une ligne longitudinale blanchâtre court le long des flancs.Ilmarinen est mis au courant par sa sœur Annikki des plans de Väinämöinen, et part également pour Pohjola.Manduri est une municipalité brésilienne de l'C'est dans cette auberge que s'arrêtent les premiers coches qui assurent le service de Paris à Strasbourg.Le souci de Skinner est de mettre en évidence une mythologie propre aux États-Unis, nation jeune, sans passé et donc sans traditions.Ceci est connu sous le problème portant le nom du dangling else, et est résolu de différentes manières, en fonction de son langage.", "out": "0", "pred": "0"} {"in": "Eastman and Kotik played together in the early to mid 1970s.Premchand's parents died young - his mother when he was seven and his father while he was fourteen and still a student.The eggs hatch into larvae which eat the eggs and larvae of the 'host' insect.In Ross H. Arnett, Jr. and Michael C. Thomas, American Beetles.He or she may take $1,000 per letter occurrence or turn over the wedge.There are many ways of exploring the island including walking, cycling and using inflatable boats.WiiConnect24 was discontinued on June 27, 2013.", "out": "0", "pred": "0"} {"in": "Он тратит гораздо больше денег, чем может заработать его поместье, и поэтому тесть должен постоянно вмешиваться.Выгорело 158 730 квадратных саженей (61,38 га), погибло 15 человек.В 1860 году опубликовал комедию «Imeniny» и стого времени стал писать юмористические рассказы и новеллы, собранные потом в одной книге под названием: «Dziwolągi» (1876 и 1885 г.г. ).Так начинаются все приключения Лестата.В 1370 году обретены его мощи, которые стояли в раке в храме открыто до нашествия на этот край татар в 1409 году, когда братия, оберегая их от поругания, скрыла в земле.Антинори использовали свое влияние внутри Флоренции для достижения коммерческих целей.С томагавками много работают современные мастера по обработке металла и авторскому художественному оружию.Способ замены через отверстие байонета удешевляет сменные экраны, поскольку используются общие коллективная линза и оправа.Предсказал некоторые виды неустойчивости плазмы и заложил основы теории явлений переноса (диффузии и теплопроводности) в турбулентной плазме.Село Круглое Озеро находится вокруг озера Круглое.", "out": "0", "pred": "0"} {"in": "a = a[-1:] + a[:-1]datetimevariable.strftime('%Y-%m-%d')mixed.replace('\\r\\n', '\\n').replace('\\r', '\\n')os.path.expanduser('~user')T = [L[i] for i in Idx]words = open('myfile').read().split()[[sum([x[1] for x in i])] for i in data][sum([x[1] for x in i]) for i in data]Article.objects.annotate(like_count=Count('likes')).order_by('-like_count')today = datetime.datetime.utcnow().date()[(a * b) for a, b in zip(lista, listb)]re.findall('(?::|;|=)(?:-)?(?:\\\\)|\\\\(|D|P)', s)re.match('[:;][)(](?![)(])', str)json_string = json.dumps([ob.__dict__ for ob in list_name])listofzeros = [0] * n", "out": "1", "pred": "1"} {"in": "以下は、分子系統解析などで支持されることが多い系統樹の一例である 。』と並んで「騎兵隊三部作」と評される最終作。地上波3時間15分SP』2007年1月6日放送 ことをきっかけに「自分がなんだか吹っ切れた」と語っている フジテレビ721『アイドリング!GPSチップ・携帯電話搭載のプロセッサの能力が低かった時代は、GPS情報をホストサーバーに送り、緯度・経度・高度情報を携帯端末に送り返してもらうというシステムも存在した。例えば「転倒付加リンケージ」はWEAPONカードを使った際に手札にあれば攻撃と同時に相手を転ばせることができる。そして、2014年ATPレース・ランキングにおいて、; ナイジェル・ブラウン(英:Nigel Brown)視察後にこのゲーム機と同系統の筐体開発がスタートし、新たに設立したメカトロ2課が担当することとなった 。なお、日本で発売された作品にメンバーが作詞作曲を手がけた楽曲が収録されたのは、本作が初となる。、2020年(令和2年)12月現在では新東名の御殿場JCT - 浜松いなさJCT間の全線6車線化が完成し、残りの区間についても6車線化に向けた本格的な調査が開始されているため、当構想は事実上消滅している。", "out": "0", "pred": "0"} {"in": "Dann klappt der Rover den Mast mit der Parabolantenne und der dreidimensionalen Panoramakamera nach hinten in sein Gehäuse und klappt den beweglichen Solarzellenflügel darüber, um das Gehäuse zu verschließen und sich vor der Kälte zu schützen.In den Begriffen Patientenkompetenz, kompetenter Patient und Selfempowerment kommt seit Beginn des 21. Jahrhunderts ein erweitertes Rollenverständnis von Patienten zum Ausdruck.Wenn von einer Felge Artikeldaten vorhanden sind, kann die Bearbeitungshöhe den Artikeldaten entnommen werden.Erste Erfahrungen als Schauspielerin sammelte sie 1993 in Le dragon, einer Theaterproduktion ihres Vaters.Otte ist seit 2005 als Fondsmanager tätig.Von diesem Tag an können Glinide nur noch in medizinisch begründeten Einzelfällen zulasten der gesetzlichen Krankenversicherung verordnet werden.Unter dem Lactoperoxidase-System versteht man die Kombination aus Lactoperoxidase und dessen ionischen Substraten, dem Wasserstoffperoxid sowie den Oxidationsprodukten.", "out": "0", "pred": "0"} {"in": "この番組は、オリジナルのフォーマットを踏襲しつつ、マーサ流のアレンジがなされ、全米の27都市を舞台に開催された。』のラストボスが纏っているバリアの名称、および本作の連載終了後に出たゲームシリーズで登場するようになった防具に同名のものが存在する。奇巌城編完結以降は連載が休止していたが、2018年2月11日に作者のTwitterにおいて、ヒーローズでの連載が終了したことを正式に告知。筋骨粒々の逞しい身体と七三分けの髪型が特徴で、その体格に見合った高い戦闘センスの持ち主。市が支出する整備費は5億9,400万円で、他は民間出資となる :引数 archiveurl と archivedate は両方を指定してください。この知らせが伝わると、世論は清朝の復活に反対した。これをほぐして地面に撒くと、周囲の土地と心を通い合わせることができる。謀反を起こしたとしてエセックス伯と共にサウサンプトン伯も死刑を宣告され、まずエセックス伯が処刑される。劉表政権下で南郡太守を務めていた蔡瑁が、単行本4巻などに登場する士元の上役のはずだが、この物語では別の人物(姓名不詳)が太守として登場している。厳密にいえば、一般的な(夫妻とも初婚で、妻が夫の氏を称する婚姻した)場合、離婚したときバツ(×)がつくのは除籍になった妻であり、夫にバツ(×)はつかない。", "out": "0", "pred": "0"} {"in": "Le avventure di Mr. Hardware, Lady Software, Pee-Cee conducono i più piccoli nel mondo del computer e dell'informatica.Cox affermò inoltre che Lydon beveva pesantemente durante i loro incontri, e che questa probabilmente fu la ragione per la quale egli non li richiamò più e si disinteressò del processo creativo del film.La squadra chiuse al quindicesimo posto nella classifica ProTour.I bambini di età inferiore o uguale ai sei anni assommavano a 2.788, dei quali 1.557 maschi e 1.231 femmine.Kasparov e Short decisero di lasciare la FIDE a causa della poca consultazione di essa con i giocatori sul luogo del match e sulle condizioni, nonché a causa del taglio del montepremi del 20% in favore della FIDE.; invece i fianchi occidentale e meridionale degradano dolcemente fino all'altezza del ghiaccio dell'I quattro principali consiglieri USA incaricati dell'addestramento e di pianificare operativamente queste missioni speciali erano Dutch Kramer, Tom Curtis, George Atcheson e Joe Pagnella.", "out": "0", "pred": "0"} {"in": "Кроме того, случаи эпилепсии, когда у человека меняются черты лица и дёргается тело трактовались как сексуальные отношения с дьяволом.Два самолёта были переданы авиации Черноморского флота и два Балтийскому.Летом 2009 года новые владельцы начали реставрацию: были выполнены работы по устройству купола (кровли) церкви, покрыта крыша купола, изготовлены и установлены позолоченные главка и крест, оштукатурен и покрашен малый верхний ярус с заменой окон.», в Новосибирске насчитывается не менее 120 догхантеров.Ретиальная коммуникация направлена множеству вероятных адресатов (как в радиопередаче или телевизионной программе, прием которой требует настройки на волну или на канал).Причём, благодаря все тому же смешению кулинарных традиций, на архипелаге можно отведать как привычные европейские или азиатские блюда из свинины, говядины и курицы (жареный цыплёнок, куриные ножки, курица-В день свадьбы Карен и Билла, Хэнк решает примириться со сложившимся положением вещей, но как только он покидает приём со своей дочерью Беккой, Карен выбегает и прыгает в машину, и они отправляются в новую жизнь вместе.Главную часть своих произведений создал в Европе, поэтому на американском континенте менее известен.Охотятся рогатые вороны группой по 2-8 птиц (до 11), крупную добычу часто преследуют сообща.Вследствие естественного выветривания полевого шпата поверхность камня зернистая и неровная, а надпись на нём читается с трудом.", "out": "0", "pred": "0"} {"in": "Is ainmhí é an loras.", "out": "0", "pred": "0"} {"in": "В присутствии лидеров БРИКС подписаны соглашения о сотрудничестве в сфере «зелёной экономики», софинансировании инфраструктурных проектов в Африке и Декларация о создании Делового совета БРИКС.По версии, царь эфиопов, который влюбился в свою дочь Никтимену Лактанций Плацид.Несмотря на выполненную реконструкцию, пилонная станция в центре города неудобна для пассажиров, особенно в час пик.По состоянию на начало 2019 года смонтированы три гидроагрегата.С его стороны были хамские высказывания.Управление запасами на основе метода барабан-буфер-веревка легко осуществить в Excel с использованием финансовых моделей.С переходом войск Западного фронта в контрнаступление отряд был снят с оборонительного рубежа и отправлен в Москву.После сложной экономической обстановки в США после Гражданской войны, некоторое время находился в Южной Америке, в частности в Перу.Вальдано ещё в юношеском возрасте был замечен представителями команды «Треугольник может располагаться как стоящий на одной из сторон, так и на вершине (", "out": "0", "pred": "0"} {"in": "}else if ((a[0]>='a' && a[0]<='z') || (a[0]>='A' && a[0]<='Z')){for (k=0;k='a' && a[k]<='z') || (a[k]>='A' && a[k]<='Z') || (a[k]=='_') || (a[k]>='0' && a[k]<='9'))BL=1;else{BL=0;break;}}else BL=0;printf(\"%d\\n\",BL);}}{char ch[800][1000];int i,j,n,m=0;cin>>n;cin.get();for(i=1;i<=n;i++){cin.getline(ch[i],100,'\\n');}for(i=1;i<=n;i++){if(ch[i][0]=='_'||(ch[i][0]<='z'&&ch[i][0]>='a')||(ch[i][0]<='Z'&&ch[i][0]>='A')){ for(j=0;j<=(strlen(ch[i])-1);j++){if(ch[i][j]!='_'&&(!(ch[i][j]<='z'&&ch[i][j]>='a'))&&(!(ch[i][j]<='Z'&&ch[i][j]>='A'))&&(!((ch[i][j]<='9'&&ch[i][j]>='0')))){", "out": "1", "pred": "1"} {"in": "Dabei trieb er den Strukturwandel der ehemaligen Industriestadt voran.Band 1, Institut für Deutsche Geschichte, 1972, S. 23–24.Der Gewinner wurde von 328 Personen zwischen 16 und 60 Jahren gewählt.Es fanden sich Keramikwaren, Schmuck, Messer, Spiegel und Münzen.Anfang der 1990er Jahre stellte der Verein seine Tätigkeit ein.Durch die Stadterweiterung Chennais im Jahr 2011 wurde ein Teil des Taluks Alandur samt dem Hauptort Alandur in das Stadtgebiet Chennais eingegliedert.Vom 23. bis 25. März 2012 wurde eine Vorrunde in zwei Vierergruppen im Modus Jeder-gegen-jeden ausgetragen.", "out": "0", "pred": "0"} {"in": "María Dos Prazeres conoce más tarde a una niña, a quién le confía a Noi para cuando ella ya no esté, comprometiéndola con el deber de que permitiera salir al perrito los días domingo, porque tenía que ir al lugar que ya conocía en el cementerio.Manipulando material explosivo, el 5 de agosto pierde la vida el teniente José Conrado Mundani.Henry Jayawardena (70 años), un médico jubilado, y Lakshan Wijeratne (55 años), ambos fueron tratados en la UCI, Reino Unido.Además, hizo \"Sleep\" y otras canciones para el piano AMPICO Reproducing.Muchos jóvenes están aprendiendo a cantar en el estilo tradicional.Este conquistador lo denominó San Juan por haberlo encontrado el día dedicado a dicho santo.A los seis años de edad, el día de la fiesta de San Pedro (patrono de Cachoeiro de Itapemirim) fue atropellado por una locomotora de vapor y la pierna derecha le tuvo que ser amputada un poco debajo de la rodilla.", "out": "0", "pred": "0"} {"in": "Es el mundo matemática y físicamente más perfecto, puesto que sus combinaciones (sean moralmente buenas o malas, no importa) son las mejores posibles.Desde aquel año el palacio ha pertenecido a la FACH y se mantiene de forma impecable.Se encuentra a 2,2 km al sur de Jogin II.Se reconcilió también con el Vicio-Tesorero, Lord William Darcy, anterior aliado de los Fitzgerald que se había convertido en uno de los más enconados adversarios de Gearóid.Ello basta para que concurra un miedo insuperable.Mufasa corre a la estampida y lleva a su hijo a salvo.Carabineros Genoveses, adoptó el nombre de Partido de los Trabajadores Italianos.", "out": "0", "pred": "0"} {"in": "Rinneadh moltaí dá réir.", "out": "0", "pred": "0"} {"in": "l=0; if(l==0) printf(\"0\\n\"); else if(p==1&&l==1) printf(\"1\\n\"); else if(p==0) printf(\"0\\n\"); } return 0;}int main(){int n;cin>>n;int t[100]; char a[100][80];int i,j;for(i=0;i<100;i++)for(j=0;j<80;j++)a[i][j]='\\0';for(i=0;i=65&&a[i][0]<=90||a[i][0]==95||a[i][0]>=97&&a[i][0]<=122)){t[i]=0;continue;} for(j=0;j<80;j++){if(!(a[i][j]>=65&&a[i][j]<=90||a[i][j]==95||a[i][j]>=97&&a[i][j]<=122||a[i][j]>=48&&a[i][j]<=57||a[i][j]=='\\0')){t[i]=0;break;}", "out": "1", "pred": "1"} {"in": "hex(sum(b << i for i, b in enumerate(reversed(walls))))print(('Total score for', name, 'is', score))print('Total score for {} is {}'.format(name, score))print('Total score for %s is %s ' % (name, score))print(('Total score for', name, 'is', score))url('^$', TemplateView.as_view(template_name='your_template.html'))df[df['A'].isin([3, 6])]instance.__class__.__name__system('/path/to/my/venv/bin/python myscript.py')Employees.objects.values_list('eng_name', flat=True)re.findall('\\\\d|\\\\d,\\\\d\\\\)', '6,7)')input('Press Enter to continue...')\"\"\"\u0001ABC\"\"\".encode('hex')db.Doc.update({'_id': b['_id']}, {'$set': {'geolocCountry': myGeolocCountry}})re.sub('l+', 'l', 'lollll')", "out": "1", "pred": "1"} {"in": "len=strlen(sen[i]); if(len==1) { if(sen[i][0]=='_'||(sen[i][0]>='a'&&sen[i][0]<='z')||(sen[i][0]>='A'&&sen[i][0]<='Z')) { cout<<1<='a'&&sen[i][0]<='z')||(sen[i][0]>='A'&&sen[i][0]<='Z')) { } if((sen[i][j]>='a'&&sen[i][0]<='z')||(sen[i][j]>='A'&&sen[i][j]<='Z')||(sen[i][j]>='0'&&sen[i][j]<='9')||(sen[i][j]=='_')) { q=1; } else { q=0;break; } } if(p==1&&q==1) { cout<<1< @end_remove')df.loc[(df.index < start_remove) | (df.index > end_remove)]df.isnull().sum()", "out": "1", "pred": "1"} {"in": "Durch ihre Arbeit kam sie zu der Überzeugung, dass „Kriminalität ein Produkt bestimmter gesellschaftlicher Verhältnisse ist“ (Zitat nach Mieke Rimmelzwaan; IISG).Angesichts des Umstands, dass keiner der einheimischen Hersteller über ein konkurrenzfähiges Grand-Prix-Modell verfügte, war der Veranstalter des Rennens bestrebt, die Teilnahme für die übermächtige ausländische Konkurrenz möglichst zu erschweren.Es war dies der einzige Fall in der Geschichte des Sanremo-Festivals, dass zwei Interpreten zwei Jahre in Folge gewinnen konnten.Dies kann auf bis zu viermal täglich 100 mg gesteigert werden.Durch die Freundschaft zu Ryan schafft sie es über ihren eigenen Schatten zu springen.Sein Vater, ein lutherischer Geistlicher und Theologe, starb, als Erich zehn Jahre alt war.Als jedoch im Dezember 1941 der Krieg zwischen Japan und den USA ausbrach, wurde die Mission abgebrochen und die Gruppe kehrte nach Moskau zurück.", "out": "0", "pred": "0"} {"in": "Juan de Orbita intentó resistir pero fue reducido por un guerrero itzá, que lo dejó inconsciente.Se separaron y nunca tuvieron hijos.El procedimiento es aplicable para concentraciones entre 0,1 mg/l y 20 mg/l y se lee con un espectrofotómetro a 664 nm.En su momento de clímax el Carnaval se extendía por los meses de enero y febrero completos.Cada ficha se coloca por orden en uno de los hexágonos del tablero, y una vez colocada no se puede mover.Schmid luego lo incluyó en su colección Blüten dem blühenden Alter gewidmet (Flores dedicadas a la edad de crecer) del año 1818.La elección es tomada de acuerdo a una clasificación elaborada por el Grupo de Estudio Técnico de la FIFA.", "out": "0", "pred": "0"} {"in": "In the early 1950s, he joined forces with street musician Bo Diddley and played harmonica on the March 2, 1955 recording of the Bo Diddley song \"I'm a Man\" released by Checker Records.Vancouver has a mix of people from different cultures.The second step was to use the best animation and motion style for the creatures.They are also known as daddy longlegs around the world.According to archaeological findings, Watamu is inhabited from the 13th Century.The average temperature for the year in Nice is convert.These monsters live under bridges,in burrows underground or in caves.", "out": "0", "pred": "0"} {"in": "Diese enthielt zahlreichen erstklassigen Schmuck in diversen Truhen.Mittlerweile ist BackWerk mit seinen Snack- und Verpflegungsangeboten der größte Back-Gastronom Deutschlands.S. 28. Das verbesserte sich anschließend zwar wieder, aber es blieben verschiedene Probleme, namentlich das der Wohngebiete für die „Fremden“.Am 1. Oktober 2020 stellte der NHC eine tropische Welle in der östlichen Karibik mit einer möglichen Entwicklung zum Tropischen Sturm fest.Johann Hoffmann wurde als Sohn des Kaufmanns Georg Hoffmann und seiner Frau Katharina, geborene Kappel, geboren.Wohnhaft in der Stadt Bad Neuenahr-Ahrweiler sind Personen ( ).Aufwändig bemalte Vasen waren ein gutes, aber nicht das beste Tafelgeschirr, das ein Grieche besitzen konnte.", "out": "0", "pred": "0"} {"in": "def extract_freq(test_list):\n res = len(list(set(tuple(sorted(sub)) for sub in test_list)))\n return (res)", "out": "1", "pred": "1"} {"in": "cin.getline(a,81,'\\n');k=strlen(a);flags=1;for(j=0;j'z')&&((int)a[j]>'Z'||(int)a[j]<'A')&&((int)a[j]<'0'||(int)a[j]>'9')&&a[j]!='_')flags=0;}if(flags==0)cout<<0<='0'&&(int)a[0]<='9')cout<<0<'Z'&&(**(p+i))<'a'&&(**(p+i))!='_')||(**(p+i))>'z') *(q+i)=0; else ", "out": "1", "pred": "1"} {"in": "my_list = [[x for x in sublist if x not in to_del] for sublist in my_list][item for item in a if 1 in item][item for item in a if item[0] == 1]{p.id: {'id': p.id, 'position': ind} for ind, p in enumerate(p_list)}[dict(y) for y in set(tuple(x.items()) for x in d)]exec(compile(open('file.py').read(), 'file.py', 'exec'))rows = session.query(Congress).count()subprocess.call(['test.sh', str(domid)])dfs = pd.read_excel(file_name, sheetname=None)struct.unpack('d', binascii.unhexlify('4081637ef7d0424a'))a[tuple(b)]map(list, permutations([2, 3, 4]))sorted(unsorted_list, key=presorted_list.index)datetime.datetime.now() - datetime.timedelta(days=1)d = pd.DataFrame(0, index=np.arange(len(data)), columns=feature_list)", "out": "1", "pred": "1"} {"in": "Sunderland Mass. Neuroethology explores how the brain links stimuli (e.g. sights, sounds, or smells) to behavior.It appeared on the Fierce Panda version.Although a federal issue, traffic violations occurring in military bases are not subject to civilian courts.During his time as pope, there was a dispute that arose over the deposition in 991 of Arnulf, Archbishop of Reims.It happens because of the time difference between two places.This table shows how to call dan in Japanese.The other KIIS station was located at 1150 AM; \"115\" looks like \"IIS\".", "out": "0", "pred": "0"} {"in": "Doug firmò coi Seattle Seahawks come free agent dopo la fine dello sciopero NFL nel 2011.OM aveva esperienza nelle subforniture, ma non aveva mai lavorato integralmente ad una commessa di automotrici, al contrario degli altri due giganti dell'Nota distintiva della console era il \"Vectrex buzz\", un ronzio di frequenza che accompagna le sessioni di gioco, dovuto a un errore di progettazione della schermatura dello speaker interno.Giuseppe cerca delle levatrici.Nel 1693 Pontchartrain, segretario di stato per la marina, gli chiese di pubblicare un secondo volume con l’idrografia del Mediterraneo.Iniziò così a cercare musicisti in città.L'anno scolastico durava dal 5 novembre al 20 settembre, e gli esami di riparazione si svolgevano alla fine dell'anno prima del 15 novembre.", "out": "0", "pred": "0"} {"in": "En esas circunstancias, la PMK puede ser usada para abrir una sesión inalámbrica cifrada que usa cifrado TKIP o AES.La audición para la banda incluyó un campamento de entrenamiento de tres días y dos noches, en el cual se esperaba que los participantes aprendieran una nueva canción, una rutina de baile y un guion.Mientras, los gruñidos de los rastreadores se hacen cada vez más fuertes dando a entender que se aproximan, sin embargo Sarah permanece inmersa en su alucinación sin ser consciente de ello.Aquí Ai experimentó por primera vez contacto directo con las personas que la admiraban, también dando consejos a sus problemas y escuchándolos.Así, a los 15 días de la batalla, Drona es asesinado.Según Hájková, \"es preocupante que incluso en 2018 la homosexualidad de una víctima del Holocausto se considere ofensiva\".Luffy y Sanji les derrotan, pero en el proceso Sanji es herido por una avalancha creada por los conejos gigantes y Luffy carga con los dos a la montaña.", "out": "0", "pred": "0"} {"in": "if((zifu[j]>='A'&&zifu[j]<='Z')||(zifu[j]>='a'&&zifu[j]<='z')||(zifu[j]>='0'&&zifu[j]<='9')||zifu[j]=='_') p=1; else{ p=0; break;} } } else l=0; if(l==0) printf(\"0\\n\"); else if(p==1&&l==1) printf(\"1\\n\"); else if(p==0) printf(\"0\\n\"); } return 0;}int main(){int n;cin>>n;int t[100]; cin.get();char a[100][80];int i,j;for(i=0;i<100;i++)for(j=0;j<80;j++)a[i][j]='\\0';for(i=0;i lookupFutureEvents(String groupIdentifier) throws GtugsException {StringBuilder json = new StringBuilder();String requestUrl = \"http://api.meetup.com/events.json/?group_urlname=\" + groupIdentifier + \"&key=\" + key;try {URL url = new URL(requestUrl.toString());BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String inputLine;while ((inputLine = in.readLine()) != null) {json.append(inputLine);}in.close();} catch (IOException e) {throw new GtugsException(e);}List events = new ArrayList();JSONObject jsonObj = (JSONObject) JSONValue.parse(json.toString());JSONArray results = (JSONArray) jsonObj.get(\"results\");for (int i = 0; i < results.size(); i++) {JSONObject result = (JSONObject) results.get(i);Event e = new Event();e.setAttendeeCount(Integer.parseInt((String) result.get(\"rsvpcount\")));e.setCity((String) result.get(\"venue_city\"));e.setDescription((String) result.get(\"description\"));e.setLatitude(Double.parseDouble((String) result.get(\"venue_lat\")));e.setLongitude(Double.parseDouble((String) result.get(\"venue_lon\")));e.setName((String) result.get(\"name\"));Date myDate = null;String time = (String) result.get(\"time\");try {myDate = meetupDateFormat.parse(time);e.setStartTime(timeDateFormat.format(myDate));e.setEndTime(timeDateFormat.format(myDate));e.setStartDate(myDate);e.setEndDate(myDate);String tz = tzDateFormat.format(myDate);if (tz != null && tz.startsWith(\"+\")) {tz = tz.substring(1);}e.setTimeZone(Integer.toString(Integer.parseInt(tz) / 100));} catch (ParseException ex) {ex.printStackTrace();continue;}e.setState((String) result.get(\"venue_state\"));StringBuilder addressBuilder = new StringBuilder();if (result.get(\"venue_address1\") != null) {addressBuilder.append((String) result.get(\"venue_address1\") + \" \");}if (result.get(\"venue_address2\") != null) {addressBuilder.append((String) result.get(\"venue_address2\") + \" \");}if (result.get(\"venue_address3\") != null) {addressBuilder.append((String) result.get(\"venue_address3\") + \" \");}if (result.get(\"venue_address4\") != null) {addressBuilder.append((String) result.get(\"venue_address4\"));}e.setStreetAddress(addressBuilder.toString().trim());e.setZipCode((String) result.get(\"venue_zip\"));e.setUrl((String) result.get(\"event_url\"));events.add(e);}return events;}public static void copyFile(File sourceFile, File destFile) throws IOException {InputStream is = null;OutputStream os = null;try {is = new FileInputStream(sourceFile);os = new FileOutputStream(destFile);IOUtils.copy(is, os);} finally {try {if (os != null) os.close();} catch (Exception e) {}try {if (is != null) is.close();} catch (Exception e) {}}}public static void copyWithClose(InputStream is, OutputStream os) throws IOException {try {IOUtils.copy(is, os);} catch (IOException ioe) {try {if (os != null) os.close();} catch (Exception e) {}try {if (is != null) is.close();} catch (Exception e) {}}}public static Object fetchCached(String address, int hours) throws MalformedURLException, IOException {String cacheName = md5(address);checkAndCreateDirectoryIfNeeded();File r = new File(CACHELOCATION + cacheName);Date d = new Date();long limit = d.getTime() - (1000 * 60 * 60 * hours);if (!r.exists() || (hours != -1 && r.lastModified() < limit)) {InputStream is = (InputStream) fetch(address);FileOutputStream fos = new FileOutputStream(CACHELOCATION + cacheName);int nextChar;while ((nextChar = is.read()) != -1) fos.write((char) nextChar);fos.flush();}FileInputStream fis = new FileInputStream(CACHELOCATION + cacheName);return fis;}public static Drawable fetchCachedDrawable(String url) throws MalformedURLException, IOException {Log.d(LOG_TAG, \"Fetching cached : \" + url);String cacheName = md5(url);checkAndCreateDirectoryIfNeeded();File r = new File(CACHELOCATION + cacheName);if (!r.exists()) {InputStream is = (InputStream) fetch(url);FileOutputStream fos = new FileOutputStream(CACHELOCATION + cacheName);int nextChar;while ((nextChar = is.read()) != -1) fos.write((char) nextChar);fos.flush();}FileInputStream fis = new FileInputStream(CACHELOCATION + cacheName);Drawable d = Drawable.createFromStream(fis, \"src\");return d;}public static String md5(String str) {try {MessageDigest digest = java.security.MessageDigest.getInstance(\"MD5\");digest.update(str.getBytes());byte messageDigest[] = digest.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < messageDigest.length; i++) hexString.append(Integer.toHexString(0xFF & messageDigest[i]));String md5 = hexString.toString();Log.v(FileUtil.class.getName(), md5);return md5;} catch (NoSuchAlgorithmException e) {e.printStackTrace();}return \"\";}private void copy(final File file) throws IOException {String targetFilename = targetFilename(file);FileInputStream fis = new FileInputStream(file);try {FileChannel source = fis.getChannel();try {FileOutputStream fos = new FileOutputStream(targetFilename);try {FileChannel target = fos.getChannel();try {target.transferFrom(source, 0, source.size());} finally {target.close();}} finally {fos.close();}} finally {source.close();}} finally {fis.close();}}", "out": "1", "pred": "1"} {"in": "def count_X(tup, x): \n count = 0\n for ele in tup: \n if (ele == x): \n count = count + 1\n return count ", "out": "1", "pred": "1"} {"in": "def count_char_position(str1): \n count_chars = 0\n for i in range(len(str1)):\n if ((i == ord(str1[i]) - ord('A')) or \n (i == ord(str1[i]) - ord('a'))): \n count_chars += 1\n return count_chars ", "out": "1", "pred": "1"} {"in": "c=*(*(p+i)+j);if (!((c>='0'&&c<='9')||(c>='a'&&c<='z')||(c>='A'&&c<='Z')||(c=='_'))) k=1;}c=**(p+i); if (!((c=='_')||(c<='Z'&&c>='A')||(c<='z'&&c>='a'))) k=1;if (k==0) printf(\"1\\n\");else printf(\"0\\n\");}}int main(){int n, i, j, n1;char str[200];cin >> n;cin.get();for (i = 1; i <= n; i++){cin.getline(str,120);if (!((str[0] == '_') || ((str[0] >= 'a') && (str[0] <= 'z')) || ((str[0] >= 'A') && (str[0] <= 'Z')))){cout << 0 << endl;continue;}for (j = 1; str[j] != 0; j++){if (((str[j] >= 'a') && (str[j] <= 'z')) || ((str[j] >= '0') && (str[j] <= '9')) || (str[j] == '_') || ((str[j] >= 'A') && (str[j] <= 'Z')))continue;elsebreak;}if (str[j] == 0)cout << 1 << endl;elsecout << 0 << endl;", "out": "1", "pred": "1"} {"in": "continue;}else{check=0;break;}}else{if((name[i]>='A'&&name[i]<='Z')||(name[i]>='a'&&name[i]<='z')||(name[i]>='0'&&name[i]<='9')||(name[i]=='_')){continue;}else{check=0;break;}}}printf(\"%d\\n\",check);}}{ int n,i,j,l,x=1; char c[1000],s[10]; gets(s); n=atoi(s); for(i=0;i='a'&&c[0]<='z')||(c[0]>='A'&&c[0]<='Z')) x=1; else {", "out": "1", "pred": "1"} {"in": "Bereits 27 Jahre nach seinem Tod wurden erste Schritte für eine Seligsprechung Rems unternommen.Benutzer können auch auf C-Headerdateien zugreifen, um C-Funktionen auszuführen.Indonesien ist eine der führenden Nationen im Badmintonsport und bei Welt- und Kontinentalmeisterschaften überaus erfolgreich.Nach dieser Saison landete die Mannschaft mit 14:6 Punkten auf dem zweiten Platz der Tabelle.Ganz in der Nähe des Anhangabaú gelegen, ist dieses alte Gebäude eines der wenigen Überbleibsel vom Beginn des 20. Jahrhunderts, die dem Bauboom noch nicht zum Opfer gefallen sind.Bereits am 1. Juli 1971 wurde die Gemeinde Dietenhausen nach Ellmendingen eingemeindet.Nach dem großen Erfolg des Teams bei seinem Debüt im Jahr 1975 startete Alva eine steile Karriere.", "out": "0", "pred": "0"} {"in": "、約1か月の入院生活を終え、現役時代に所属していた札幌協栄赤坂ボクシングジムでトレーナーを開始する。、置賜町、新町、矢剣町、太田町、三河南町の各一部(旧福島町が大半を占める、残り周辺村)入会地の登記は、代表者の名前や各入会権者の共有名義で為されている場合が多い。TSSMはもともとESAのタイタン・エンケラドゥスミッション (TandEM) とNASAのタイタン・エクスプローラーの計画が合流してできたものであった。構内踏切から望む駅構内(左側から1番線、2018年4月撮影)※M4はラタキアからサラキブに続き、サラキブでM5と交差する。第2次OG…エンドレス・フロンティアから帰還直後に鋼龍戦隊とガイアセイバーズの戦闘に巻き込まれ、ハガネに保護されて帰還直後で意識を失っているアクセルを渡して去る。直後のビーダマン選手登録の際、ネットワークを通じて秘密の大会「クロスファイト」東ブロック大会の選手のひとりに選出されたことから、クロスファイトやB-アニマルの秘密、そして同じく「導かれた者」としてクロスファイトに参加したビーダーたちと深く関わっていくことになる。エレクトロニック・アーツの2015年会計年度第3四半期の収益報告によると、『ドラゴンエイジ:インクイジション』は売上本数に基づくと、バイオウェアの歴史において最も成功した売り上げになる :引数 archiveurl と archivedate は両方を指定してください。こうして順に役割を入替えながらゲームを続けていくが、勝敗は出せてもゲームクリアに到らないので1人でプレイするルールでさらにゲームを展開してゆく。", "out": "0", "pred": "0"} {"in": "En este procedimiento, la labioplastia se realiza en ocasiones cierto tiempo (una semana, o meses) de la primera etapa de la vaginoplastia, pero en otros casos forma parte de la misma cirugía.Con ello, los demás no saben qué hacer\".Su esposo y su hija estaban siendo aislados sin signos de infección.Los científicos jesuitas intentaron una conciliación entre la física moderna y el pensamiento aristotélico, acto que permaneció aún al principio del siglo XVIII.Se formó en 2004 en El Chaltén, donde residen todos los integrantes de la banda.Se dice que su padre quedó muy afectado por este accidente y nunca pudo sobreponerse a la pérdida de su hijo.Con la llegada de la televisión y el desarrollo del cine en Chile durante la década de 1960, la UTE funda el Departamento de Cine y Televisión.", "out": "0", "pred": "0"} {"in": "yourdata.sort(key=lambda e: e['key']['subkey'], reverse=True)df.round()gca().get_lines()[n].get_xydata()A[:, -2:]request.GET.get('username', '')pprint(dict(list(o.items())))url('^$', include('sms.urls')),url('^', include('sms.urls')),max_item = max(a_list, key=operator.itemgetter(1))max(a_list, key=operator.itemgetter(1))s.resample('3M', how='sum')[a[i] for i in (1, 2, 5)][line for line in open('textfile') if 'apple' in line]datetime.datetime.strptime(s, '%Y-%m-%dT%H:%M:%SZ')pandas.read_csv(filename, sep='\\t', lineterminator='\\r')", "out": "1", "pred": "1"} {"in": "Dob é Séarlas Mór (", "out": "0", "pred": "0"} {"in": "\"World 1-1\" è spesso citato come uno dei livelli di videogiochi più rappresentativi e iconici della storia: Chris Kerr di Gamasutra lo descrive come \"leggendario\".Alla fine si sposeranno.La differenza di altitudine nel territorio comunale, ovviamente, comporta una sostanziale diversità di utilizzo dei terreni.Gli articoli che si concentrano sulla razza di Martha normalmente tentano di effettuare distinzioni tra lo status sociale di Martha e quella di Mickey e in che misura la razza o la classe svolgano o meno un ruolo nella serie.Consiglia di utilizzarlo anche con i fatti storici.Durante lo stesso anno sono stati pubblicati due singoli, Martyr No More e Let The Madness Begin, dall'album Chasing the Grail, pubblicato il 26 gennaio 2010.Sono noti per utilizzare come armi degli strumenti musicali (rispettivamente un fucile a forma di mandolino e due pistole a forma di tromba).", "out": "0", "pred": "0"} {"in": "また1編成につき1728人が乗車できるよう設計されていた。渋谷校地第3館、老朽化のため解体。また、旧薩摩藩士の心情として、鹿児島属廠の火薬・弾丸・武器・製造機械類は藩士が醵出した金で造ったり購入したりしたもので、一朝事があって必要な場合、藩士やその子孫が使用するものであると考えられていたこともあり 加治木常樹著『薩南血涙史』 、私学校徒は中央政府が泥棒のように薩摩の財産を搬出したことに怒るとともに、当然予想される衝突に備えて武器弾薬を入手するために、夜、ユスラ機は被検体を乗せて無断で出撃し僚機に追われるが、被検体が手を触れずに操縦を替わり、MS形態での格闘戦で多数を墜落させる。父の蔭官により太僕寺丞に任じられた。、セルティックスが104-93で勝利した :引数 archiveurl と archivedate は両方を指定してください。左の地では不死者になった人間たちは人を超えた聖人として扱われ、絶大な権威を持つ。DVDの初回限定版の特典として同梱されているCD。この新塗装第1陣となったボーイング777-300ER(機体番号:B-KPM)は、東京 - 香港線のCX548便(香港8:45発東京羽田行き)にてデビューを果たしている今後5年間で約150機を新しい塗装に塗り替える他、』にはアルバム・バージョンとして収録された為、オリジナル・バージョンはアルバム初収録。", "out": "0", "pred": "0"} {"in": "p=0; break;} } } else l=0; if(l==0) printf(\"0\\n\"); else if(p==1&&l==1) printf(\"1\\n\"); else if(p==0) printf(\"0\\n\"); } }int main(){int n;cin>>n;int t[100]; cin.get();char a[100][80];int i,j;for(i=0;i<100;i++)for(j=0;j<80;j++)a[i][j]='\\0';for(i=0;i=65&&a[i][0]<=90||a[i][0]==95||a[i][0]>=97&&a[i][0]<=122)){t[i]=0;", "out": "1", "pred": "1"} {"in": "if((a>='a'&&a<='z')||(a>='A'&&a<='Z')||(a>='0'&&a<='9')||(a=='_')) result=1;return result;}int first(char b){int result=0;if((b>='a'&&b<='z')||(b>='A'&&b<='Z')||(b=='_'))result=1;return result;}int main(int argc, char* argv[]){int i,n,j,len,flag;int panduan(char a);int first(char b);char s[81];scanf(\"%d\\n\",&n);gets(s);len=strlen(s);flag=1;if(first(s[0])==0)flag=0;else if(first(s[0])==1){for(j=1;jpass[{'content': x['content'].lower()} for x in messages]\"\"\" \"\"\".join(my_list)re.sub('(http://\\\\S+|\\\\S*[^\\\\w\\\\s]\\\\S*)', '', a)str(n) == str(n)[::-1]ftp.storbinary('STOR myfile.txt', open('myfile.txt', 'rb'))re.sub('.*I', 'I', stri)int('1,000,000'.replace(',', ''))pd.merge(df1, df2, left_index=True, right_index=True, how='outer')pandas.concat([df1, df2], axis=1)all(dict.values())df.c_contofficeID.str.replace('^12(?=.{4}$)', '')L[::(-1)]reversed(array)L.reverse()", "out": "1", "pred": "1"} {"in": "def prime_num(num):\n if num >=1:\n for i in range(2, num//2):\n if (num % i) == 0:\n return False\n else:\n return True\n else:\n return False", "out": "1", "pred": "1"} {"in": "os.path.realpath(__file__)os.path.dirname(path)os.path.realpath(path)dir_path = os.path.dirname(os.path.realpath(__file__))cwd = os.getcwd()full_path = os.path.realpath(__file__)arr[arr[:, (2)].argsort()]numpy.sort(arr, axis=0)re.split('[ .]', 'a b.c')shutil.copy('file.txt', 'file2.txt')print(''.join(choice(ascii_uppercase) for i in range(12)))[''.join(seq) for seq in zip(lst, lst[1:])]data.rename(columns={'gdp': 'log(gdp)'}, inplace=True)print(soup.get_text())sorted(li, key=operator.itemgetter(1), reverse=True)", "out": "1", "pred": "1"} {"in": "public static String encryptPassword(String password) throws PasswordException {String hash = null;if (password != null && !password.equals(\"\")) {try {MessageDigest md = MessageDigest.getInstance(\"SHA\");md.update(password.getBytes(\"UTF-8\"));byte raw[] = md.digest();hash = (new BASE64Encoder()).encode(raw);} catch (NoSuchAlgorithmException nsae) {throw new PasswordException(PasswordException.SYSTEM_ERROR);} catch (UnsupportedEncodingException uee) {throw new PasswordException(PasswordException.SYSTEM_ERROR);}}return hash;}@Testpublic void usingStream() throws IOException, NameNotFoundException {URL url = new URL(\"ftp://ftp.ebi.ac.uk/pub/databases/interpro/entry.list\");InterproNameHandler handler = new InterproNameHandler(url.openStream());String interproName = handler.getNameById(\"IPR008255\");assertNotNull(interproName);assertEquals(\"Pyridine nucleotide-disulphide oxidoreductase, class-II, active site\", interproName);assertEquals(null, handler.getNameById(\"Active_site\"));}public boolean copyStoredTileTo(File targetFileName, int x, int y, int zoom, MapSource tileSource) throws IOException {File sourceFile = getTileFile(x, y, zoom, tileSource);if (!sourceFile.exists()) return false;FileInputStream fis = null;FileOutputStream fos = null;long sourceBytes = 0;long writtenBytes = 0;try {fis = new FileInputStream(sourceFile);fos = new FileOutputStream(targetFileName);FileChannel source = fis.getChannel();FileChannel destination = fos.getChannel();sourceBytes = source.size();writtenBytes = destination.transferFrom(source, 0, sourceBytes);} finally {Utilities.closeStream(fis);Utilities.closeStream(fos);}if (writtenBytes != sourceBytes) throw new IOException(\"Target file's size is not equal to the source file's size!\");return true;}public StringBuffer get(URL url) throws IOException {BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(url.openStream()));StringBuffer page = new StringBuffer();String line = null;while ((line = bufferedReader.readLine()) != null) {String utf = new String(line.getBytes(\"UTF-8\"), \"UTF-8\");page.append(utf);}bufferedReader.close();return page;}private static String getDocumentAt(String urlString) {StringBuffer html_text = new StringBuffer();try {URL url = new URL(urlString);URLConnection conn = url.openConnection();BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));String line = null;while ((line = reader.readLine()) != null) html_text.append(line + \"\\n\");reader.close();} catch (MalformedURLException e) {System.out.println(\"��Ч��URL: \" + urlString);} catch (IOException e) {e.printStackTrace();}return html_text.toString();}@Overrideprotected void setUp() throws Exception {this.logger = new ConsoleLogger(ConsoleLogger.LEVEL_WARN);File repoFolder = new File(\"target/repository\");removeRepository(repoFolder);InputStream repoConfigIn = getClass().getResourceAsStream(REPO_CONFIG_FILE);File tempRepoConfigFile = File.createTempFile(\"repository\", \"xml\");tempRepoConfigFile.deleteOnExit();OutputStream tempRepoConfigOut = new FileOutputStream(tempRepoConfigFile);try {IOUtils.copy(repoConfigIn, tempRepoConfigOut);} finally {repoConfigIn.close();tempRepoConfigOut.close();}Repository repo = new TransientRepository(tempRepoConfigFile.getAbsolutePath(), \"target/repository\");ServerAdapterFactory factory = new ServerAdapterFactory();RemoteRepository remoteRepo = factory.getRemoteRepository(repo);reg = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);reg.rebind(REMOTE_REPO_NAME, remoteRepo);session = repo.login(new SimpleCredentials(LOGIN, PWD.toCharArray()), WORKSPACE);InputStream nodeTypeDefIn = getClass().getResourceAsStream(MQ_JCR_XML_NODETYPES_FILE);JackrabbitInitializerHelper.setupRepository(session, new InputStreamReader(nodeTypeDefIn), \"\");}public ScoreModel(URL url) throws IOException {BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String line;list = new ArrayList();map = new HashMap();line = in.readLine();int n = 1;String[] rowAttrib;ScoreModelItem item;while ((line = in.readLine()) != null) {rowAttrib = line.split(\";\");item = new ScoreModelItem(n, Double.valueOf(rowAttrib[3]), Double.valueOf(rowAttrib[4]), Double.valueOf(rowAttrib[2]), Double.valueOf(rowAttrib[5]), rowAttrib[1]);list.add(item);map.put(item.getHash(), item);n++;}in.close();}private void unzip(File filename) throws ZipException, IOException {ZipInputStream in = new ZipInputStream(new BufferedInputStream(new FileInputStream(filename)));ZipEntry entry = null;boolean first_entry = true;while ((entry = in.getNextEntry()) != null) {if (first_entry) {if (!entry.isDirectory()) {File subdir = new File(dir + File.separator + filename.getName().substring(0, filename.getName().length() - SUFFIX_ZIP.length()));if (!subdir.exists()) {subdir.mkdir();dir = subdir;}}first_entry = false;}if (entry.isDirectory()) {FileUtils.forceMkdir(new File(dir + File.separator + entry.getName()));} else {File outfile = new File(dir + File.separator + entry.getName());File outdir = new File(outfile.getAbsolutePath().substring(0, outfile.getAbsolutePath().length() - outfile.getName().length()));if (!outdir.exists()) FileUtils.forceMkdir(outdir);FileOutputStream fo = new FileOutputStream(outfile);BufferedOutputStream bos = new BufferedOutputStream(fo, BUFFER);int read;byte data[] = new byte[BUFFER];while ((read = in.read(data, 0, BUFFER)) != -1) {read_position++;bos.write(data, 0, read);}bos.flush();bos.close();}}in.close();}private static void generateTIFF(Connection con, String category, String area_code, String topic_code, String timeseries, String diff_timeseries, Calendar time, String area_label, String raster_label, String image_label, String note, Rectangle2D bounds, Rectangle2D raster_bounds, String source_filename, String diff_filename, String legend_filename, String output_filename, int output_maximum_size) throws SQLException, IOException {Debug.println(\"ImageCropper.generateTIFF begin\");MapContext map_context = new MapContext(\"test\", new Configuration());try {Map map = new Map(map_context, area_label, new Configuration());map.setCoordSys(ProjectionCategories.default_coordinate_system);map.setPatternOutline(new XPatternOutline(new XPatternPaint(Color.white)));String type = null;RasterLayer rlayer = getRasterLayer(map, raster_label, getLinuxPathEquivalent(source_filename), getLinuxPathEquivalent(diff_filename), type, getLinuxPathEquivalent(legend_filename));map.addLayer(rlayer, true);map.setBounds2DImage(bounds, true);Dimension image_dim = null;image_dim = new Dimension((int) rlayer.raster.getDeviceBounds().getWidth() + 1, (int) rlayer.raster.getDeviceBounds().getHeight() + 1);if (output_maximum_size > 0) {double width_factor = image_dim.getWidth() / output_maximum_size;double height_factor = image_dim.getHeight() / output_maximum_size;double factor = Math.max(width_factor, height_factor);if (factor > 1.0) {image_dim.setSize(image_dim.getWidth() / factor, image_dim.getHeight() / factor);}}map.setImageDimension(image_dim);map.scale();image_dim = new Dimension((int) map.getBounds2DImage().getWidth(), (int) map.getBounds2DImage().getHeight());Image image = null;Graphics gr = null;image = ImageCreator.getImage(image_dim);gr = image.getGraphics();try {map.paint(gr);} catch (Exception e) {Debug.println(\"map.paint error: \" + e.getMessage());}String tiff_filename = \"\";try {tiff_filename = formatPath(category, timeseries, output_filename);new File(new_filename).mkdirs();Debug.println(\"tiff_filename: \" + tiff_filename);BufferedImage bi = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_BYTE_INDEXED);bi.createGraphics().drawImage(image, 0, 0, null);File f = new File(tiff_filename);FileOutputStream out = new FileOutputStream(f);TIFFEncodeParam param = new TIFFEncodeParam();param.setCompression(TIFFEncodeParam.COMPRESSION_PACKBITS);TIFFImageEncoder encoder = (TIFFImageEncoder) TIFFCodec.createImageEncoder(\"tiff\", out, param);encoder.encode(bi);out.close();} catch (IOException e) {Debug.println(\"ImageCropper.generateTIFF TIFFCodec e: \" + e.getMessage());throw new IOException(\"GenerateTIFF.IOException: \" + e);}PreparedStatement pstmt = null;try {String query = \"select Proj_ID, AccessType_Code from project \" + \"where Proj_Code= '\" + area_code.trim() + \"'\";Statement stmt = null;ResultSet rs = null;int proj_id = -1;int access_code = -1;stmt = con.createStatement();rs = stmt.executeQuery(query);if (rs.next()) {proj_id = rs.getInt(1);access_code = rs.getInt(2);}rs.close();stmt.close();String delete_raster = \"delete from rasterlayer where \" + \"Raster_Name='\" + tiff_name.trim() + \"' and Group_Code='\" + category.trim() + \"' and Proj_ID =\" + proj_id;Debug.println(\"***** delete_raster: \" + delete_raster);pstmt = con.prepareStatement(delete_raster);boolean del = pstmt.execute();pstmt.close();String insert_raster = \"insert into rasterlayer(Raster_Name, \" + \"Group_Code, Proj_ID, Raster_TimeCode, Raster_Xmin, \" + \"Raster_Ymin, Raster_Area_Xmin, Raster_Area_Ymin, \" + \"Raster_Visibility, Raster_Order, Raster_Path, \" + \"AccessType_Code, Raster_TimePeriod) values(?,?,?,?, \" + \"?,?,?,?,?,?,?,?,?)\";pstmt = con.prepareStatement(insert_raster);pstmt.setString(1, tiff_name);pstmt.setString(2, category);pstmt.setInt(3, proj_id);pstmt.setString(4, timeseries);pstmt.setDouble(5, raster_bounds.getX());pstmt.setDouble(6, raster_bounds.getY());pstmt.setDouble(7, raster_bounds.getWidth());pstmt.setDouble(8, raster_bounds.getHeight());pstmt.setString(9, \"false\");int sequence = 0;if (tiff_name.endsWith(\"DP\")) {sequence = 1;} else if (tiff_name.endsWith(\"DY\")) {sequence = 2;} else if (tiff_name.endsWith(\"DA\")) {sequence = 3;}pstmt.setInt(10, sequence);pstmt.setString(11, tiff_filename);pstmt.setInt(12, access_code);if (time == null) {pstmt.setNull(13, java.sql.Types.DATE);} else {pstmt.setDate(13, new java.sql.Date(time.getTimeInMillis()));}pstmt.executeUpdate();} catch (SQLException e) {Debug.println(\"SQLException occurred e: \" + e.getMessage());con.rollback();throw new SQLException(\"GenerateTIFF.SQLException: \" + e);} finally {pstmt.close();}} catch (Exception e) {Debug.println(\"ImageCropper.generateTIFF e: \" + e.getMessage());}Debug.println(\"ImageCropper.generateTIFF end\");}public static List getPluginInfos(String urlRepo) throws MalformedURLException, IOException {XStream xStream = new XStream();xStream.alias(\"plugin\", PluginInfo.class);xStream.alias(\"plugins\", List.class);List infos = null;URL url;BufferedReader in = null;StringBuilder buffer = new StringBuilder();try {url = new URL(urlRepo);in = new BufferedReader(new InputStreamReader(url.openStream()));String inputLine;while ((inputLine = in.readLine()) != null) {buffer.append(inputLine);}} finally {try {if (in != null) {in.close();}} catch (IOException ex) {Logger.getLogger(RemotePluginsManager.class.getName()).log(Level.SEVERE, null, ex);}}infos = (List) xStream.fromXML(buffer.toString());return infos;}", "out": "1", "pred": "1"} {"in": "L'allemande a très vite imposé un rythme en piste difficile à suivre par ses concurrents.Ils assimilent ainsi le Leithen des archivistes à un nom latin.À partir de 1878, il travaille dans une école publique de Steinhauserberg, mais qui devint privé au printemps 1879.Louis Régnier suppose qu'ils sont contemporains du clocher et de la nef.L'Erdre est également réputée pour les odeurs qu'elle dégage et la pollution qu'elle subit.Le roi semble être le dernier grand monarque de la Bretagne pré romaine.» De nombreux auteurs ou hommes politiques ont subi l'influence de Maurras et du nationalisme intégral sans nécessairement se réclamer de lui.", "out": "0", "pred": "0"} {"in": "break; } } if(a[j]=='\\0') { printf(\"1\\n\"); } } else { printf(\"0\\n\"); } } gets(a); if(a[0]>='A'&&a[0]<='Z') { for(j=0;a[j]!='\\0';j++) if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\"); } } else if(a[0]<='z'&&a[0]>='a')", "out": "1", "pred": "1"} {"in": "En agosto de 2012, se estimó que había alrededor de 450 miembros de Johnny's Jr.Sus padres fueron el ingeniero Florencio Guzmán Larraín y María Luisa Correa Ugarte.Actualmente trabajan con productores alrededor del mundo, algunos de estos son: Dj Maxo, D. Salas, Diesel, Monkey Bridage, SckBeatz, Major Music y Architracks.La Asamblea de Bolivia rechazó aprobar el protocolo, lo que mantuvo pendiente el problema.En su interior está proyectado una playa de estacionamiento de 2001 m² y seis vías, lo que permite la estancia de 12 trenes completos de hasta 36 metros de largo y una nave de mantenimiento del material móvil de 2.466 m².Su hermano Mark Astley ayudó a refutar estas afirmaciones.El incremento del poder de los etruscos llevó al enfrentamiento con este pueblo que tenía una marina superior.", "out": "0", "pred": "0"} {"in": "String openUrlAsString(String address, int maxLines) {StringBuffer sb;try {URL url = new URL(address);InputStream in = url.openStream();BufferedReader br = new BufferedReader(new InputStreamReader(in));sb = new StringBuffer();int count = 0;String line;while ((line = br.readLine()) != null && count++ < maxLines) sb.append(line + \"\\n\");in.close();} catch (IOException e) {sb = null;}return sb != null ? new String(sb) : null;}String[] openUrlAsList(String address) {IJ.showStatus(\"Connecting to \" + IJ.URL);Vector v = new Vector();try {URL url = new URL(address);InputStream in = url.openStream();BufferedReader br = new BufferedReader(new InputStreamReader(in));String line;while (true) {line = br.readLine();if (line == null) break;if (!line.equals(\"\")) v.addElement(line);}br.close();} catch (Exception e) {}String[] lines = new String[v.size()];v.copyInto((String[]) lines);IJ.showStatus(\"\");return lines;}public static void addIntegrityEnforcements(Session session) throws HibernateException {Transaction tx = null;try {tx = session.beginTransaction();Statement st = session.connection().createStatement();st.executeUpdate(\"DROP TABLE hresperformsrole;\" + \"CREATE TABLE hresperformsrole\" + \"(\" + \"hresid varchar(255) NOT NULL,\" + \"rolename varchar(255) NOT NULL,\" + \"CONSTRAINT hresperformsrole_pkey PRIMARY KEY (hresid, rolename),\" + \"CONSTRAINT ResourceFK FOREIGN KEY (hresid) REFERENCES resserposid (id) ON UPDATE CASCADE ON DELETE CASCADE,\" + \"CONSTRAINT RoleFK FOREIGN KEY (rolename) REFERENCES role (rolename) ON UPDATE CASCADE ON DELETE CASCADE\" + \");\");tx.commit();} catch (Exception e) {tx.rollback();}}protected RemoteInputStream getUrlResource(URL url) throws IOException {URLConnection conn = url.openConnection();conn.setConnectTimeout(url_loading_time_out);conn.setReadTimeout(url_loading_time_out);conn.setRequestProperty(\"connection\", \"Keep-Alive\");conn.connect();long last_modify_time = conn.getLastModified();IOCacheService cache_service = CIO.getAppBridge().getIO().getCache();if (cache_service != null) {RemoteInputStream cache = cache_service.findCache(url, last_modify_time);if (cache != null) {return cache;}}return new URLConnectionInputStream(url, conn);}public static boolean copyFile(String sourceName, String destName) {FileChannel sourceChannel = null;FileChannel destChannel = null;boolean wasOk = false;try {sourceChannel = new FileInputStream(sourceName).getChannel();destChannel = new FileOutputStream(destName).getChannel();destChannel.transferFrom(sourceChannel, 0, sourceChannel.size());wasOk = true;} catch (Throwable exception) {logger.log(Level.SEVERE, \"Exception in copyFile\", exception);} finally {try {if (sourceChannel != null) sourceChannel.close();} catch (Throwable tt) {}try {if (destChannel != null) destChannel.close();} catch (Throwable tt) {}}return wasOk;}private static String hashPass(String p) throws NoSuchAlgorithmException, UnsupportedEncodingException {MessageDigest md;md = MessageDigest.getInstance(\"SHA-1\");byte[] sha1hash = new byte[40];md.update(p.getBytes(\"iso-8859-1\"), 0, p.length());sha1hash = md.digest();return convertToHex(sha1hash);}@Overridepublic void send() {BufferedReader in = null;StringBuffer result = new StringBuffer();try {URL url = new URL(getUrl());in = new BufferedReader(new InputStreamReader(url.openStream()));String str;while ((str = in.readLine()) != null) {result.append(str);}} catch (ConnectException ce) {logger.error(\"MockupExecutableCommand excute fail: \" + ce.getMessage());} catch (Exception e) {logger.error(\"MockupExecutableCommand excute fail: \" + e.getMessage());} finally {if (in != null) {try {in.close();} catch (IOException e) {logger.error(\"BufferedReader could not be closed\", e);}}}}public static void makeLPKFile(String[] srcFilePath, String makeFilePath, LPKHeader header) {FileOutputStream os = null;DataOutputStream dos = null;try {LPKTable[] fileTable = new LPKTable[srcFilePath.length];long fileOffset = outputOffset(header);for (int i = 0; i < srcFilePath.length; i++) {String sourceFileName = FileUtils.getFileName(srcFilePath[i]);long sourceFileSize = FileUtils.getFileSize(srcFilePath[i]);LPKTable ft = makeLPKTable(sourceFileName, sourceFileSize, fileOffset);fileOffset = outputNextOffset(sourceFileSize, fileOffset);fileTable[i] = ft;}File file = new File(makeFilePath);if (!file.exists()) {FileUtils.makedirs(file);}os = new FileOutputStream(file);dos = new DataOutputStream(os);dos.writeInt(header.getPAKIdentity());writeByteArray(header.getPassword(), dos);dos.writeFloat(header.getVersion());dos.writeLong(header.getTables());for (int i = 0; i < fileTable.length; i++) {writeByteArray(fileTable[i].getFileName(), dos);dos.writeLong(fileTable[i].getFileSize());dos.writeLong(fileTable[i].getOffSet());}for (int i = 0; i < fileTable.length; i++) {File ftFile = new File(srcFilePath[i]);FileInputStream ftFis = new FileInputStream(ftFile);DataInputStream ftDis = new DataInputStream(ftFis);byte[] buff = new byte[256];int readLength = 0;while ((readLength = ftDis.read(buff)) != -1) {makeBuffer(buff, readLength);dos.write(buff, 0, readLength);}ftDis.close();ftFis.close();}} catch (Exception e) {throw new RuntimeException(e);} finally {if (dos != null) {try {dos.close();dos = null;} catch (IOException e) {}}}}private String download(MacroManagerProgress progress, String fileName, String url) throws Exception {URLConnection conn = new URL(url).openConnection();progress.setMaximum(Math.max(0, conn.getContentLength()));String path = MiscUtilities.constructPath(installDirectory, fileName);if (!copy(progress, conn.getInputStream(), new FileOutputStream(path), true, true)) return null;if (archive_zip) {Enumeration entries;ZipFile zipFile;try {File tempFile = new File(path);zipFile = new ZipFile(tempFile);entries = zipFile.entries();while (entries.hasMoreElements()) {ZipEntry entry = (ZipEntry) entries.nextElement();if (entry.isDirectory()) {String dpath = MiscUtilities.constructPath(installDirectory, entry.getName());(new File(dpath)).mkdir();continue;}progress.setMaximum((int) entry.getSize());String ePath = MiscUtilities.constructPath(installDirectory, entry.getName());copy(progress, zipFile.getInputStream(entry), new BufferedOutputStream(new FileOutputStream(ePath)), true, true);}zipFile.close();tempFile.delete();} catch (IOException ioe) {ioe.printStackTrace();}} else if (archive_gzip) {File srce = new File(path);GZIPInputStream gzis = new GZIPInputStream(new FileInputStream(srce));File temp = File.createTempFile(\"macro\", \"mgr\");progress.setMaximum((int) srce.length());copy(progress, gzis, new BufferedOutputStream(new FileOutputStream(temp)), true, true);TarArchive tarc = new TarArchive(new FileInputStream(temp));tarc.extractContents(new File(installDirectory));tarc.closeArchive();(new File(path)).delete();}return path;}public static Builder fromURL(URL url) {try {InputStream in = null;try {in = url.openStream();ByteArrayOutputStream baos = new ByteArrayOutputStream();int read = -1;byte[] buf = new byte[4096];while ((read = in.read(buf)) >= 0) {if (read > 0) {baos.write(buf, 0, read);}}StreamBuilder b = (StreamBuilder) fromMemory(baos.toByteArray());try {b.setSystemId(url.toURI().toString());} catch (URISyntaxException use) {b.setSystemId(url.toString());}return b;} finally {if (in != null) {in.close();}}} catch (IOException ex) {throw new XMLUnitException(ex);}}", "out": "1", "pred": "1"} {"in": "def find_Average_Of_Cube(n): \n sum = 0\n for i in range(1, n + 1): \n sum += i * i * i \n return round(sum / n, 6) ", "out": "1", "pred": "1"} {"in": "Die verblüffenden cinematographischen Tricks, zum Teil aus dem spielerischen Umgang mit Technik und Zufall entstanden, haben ihren Charme über die Jahrzehnte bewahrt.“Jetzt ist der nächste dran.“Beim Entfernen von Daten aus der operativen Datenbank ist dabei zur Sicherstellung der referentiellen Integrität unter Umständen ein Zerschneiden von Intervallen erforderlich.Die Iridozyten sind bei Sepiola rondeletii große, glatte Zellen, die das einfallende Licht reflektieren und so der Haut in Kombination mit den Chromatophoren einen farbigen Glanz verleihen.Durch seine verschwenderische Lebensweise geriet er in Konkurs und musste seine Kunstschätze veräußern.Sparten-Genre wie asiatische Filme, im Speziellen Anime und das Hong kong Kino wurden erst durch den Videodrom Mail Order in Deutschland mit popularisiert.Am Ende des 13. Jahrhunderts hielten die Münzer verschiedene Ämter der Stadt Bern inne.", "out": "0", "pred": "0"} {"in": "Die Bildung der Kahmhaut kann durch eine starke Oberflächenbewegung verhindert werden, die die Kahmhaut aufreißt und somit eine geschlossene Kahmhaut verhindert.Als sie den Befehl erhielten, ihren sinnlosen Ritt von Uttoxeter aus fortzusetzen, meuterte die Kavallerie.Für sie war lediglich die Tatsache, dass sie eine christliche Tradition besitzen, wichtig.Es wies den Triebfahrzeugführer an, die maximal zulässige Höchstgeschwindigkeit seines Zuges und der Strecke voll auszufahren, um nachfolgende Züge nicht zu behindern.Auf dem Velký Chlum errichtete Stanislav Rolínek vor seinen 1929 begonnenen Arbeiten an der Höhle der schlafenden Ritter vom Blaník bei Rudka mehrere Sandsteinfiguren hussitischer Kämpfer.Sie könnten daher nur in absoluten Ausnahmefällen gewährt werden.Bereits 1888 hatte Australien die erste Schafscherer-Station, die Schermaschinen einsetzte.", "out": "0", "pred": "0"} {"in": "El firmware de Amstrad se diseñó deliberadamente para que el nuevo software pudiera ser accedido de forma sencilla desde estas ROMs.La serie regresó a Boston, y parecía decidirse rápido el quinto encuentro, cuando con 9 minutos transcurridos los Celtics ganaban por 20, 32-12.La del martes era sin duda su gran noche.Es una tarea difícil y tediosa obtener múltiples texturas 2D para formar una apariencia visual consistente en un modelo sin que parezca obviamente un mosaico.De hecho, las únicas características que comparten es que son patos vampiros con ambiciones en el mundo del espectáculo, que poseen poco talento, y que se llaman Duckula.Con el tiempo el alumnado creció y llegó a 1000 estudiantes, incluyendo mexicanos, nikkeijin, hijos de diplomáticos y de hombres de negocios japoneses que residen en México.En agosto de 2008, se convirtió en miembro fundador de una nueva institución educativa en el centro de Londres llamada The School of Life.", "out": "0", "pred": "0"} {"in": "He was Edward III's representative in England and in 1355 he was made the Earl of Ulster.Buildings owned by the RED team are also usually red and made of wood.The jealous and suspicious Amneris loves Radames, too.She was vice-president of ISME from 1970 to 1974.The new track is about 8.6 km long and was built with six new stations: Downsview Park, Finch West, York University, Pioneer Village, Highway 407, and the Vaughan Metropolitan Centre.After three tropical cyclones affected the region in May and June, the GCACIC predicted that seven tropical cyclones would affect either the Korean Peninsular or Japan during the main part of the season.On the 26th August 1566, several statues in the Saint-Michaels Church and the hall were destroyed because of religeous protests called ‘the beeldenstorm’.", "out": "0", "pred": "0"} {"in": "import re\ndef remove_uppercase(str1):\n return re.sub('[A-Z]', '', str1)", "out": "1", "pred": "1"} {"in": "pd.concat([GOOG, AAPL], keys=['GOOG', 'AAPL'], axis=1)return HttpResponse(json.dumps(response_data), content_type='application/json')myString.decode('string_escape')hashlib.md5(open('filename.exe', 'rb').read()).hexdigest()[k for k, v in d.items() if v == desired_value]{k for d in LoD for k in list(d.keys())}set([i for s in [list(d.keys()) for d in LoD] for i in s])[i for s in [list(d.keys()) for d in LoD] for i in s]keys, values = zip(*list(d.items()))int(Decimal(s))int(s.split('.')[0])numpy.in1d(b, a).all()numpy.array([(x in a) for x in b])networkx.draw_networkx_labels(G, pos, labels)y = [row[:] for row in x]", "out": "1", "pred": "1"} {"in": "On November 3, 2009, Jon Corzine lost re-election for another four years as governor.He landed on two large islands.He often wore girls' jeans with his friend Mich because his favorite skateboarders wore similar clothes.The dog in Duck Hunt has appeared in Barker Bill's Trick Shooting and can be shot in the \"Balloon Saloon\" game.They had all joined the group on their own whenthey were teenagers.They were restarted when it was added in a kind of education for girls.They named the new tribe \"Alinta\", a name suggested by Scout meaning \"people of fire.\"", "out": "0", "pred": "0"} {"in": "Для всех лиц предпенсионного возраста предусмотрены следующие льготы См.В целом, один из лучших страшилки, которые я прочитал в этом году.В помещении ведёт себя спокойно и тихо.Старый механик отказывается помогать бандитам и даже угрожает, те жестоко его избивают.Свою первую победу на музыкальном шоу группа одержала 4 мая 2016 года с синглом «Pretty U».Тренажёр-симулятор был изготовлен специально для «Уральских авиалиний» нидерландской компанией «Sim Industries» (подразделение «На верхнем ярусе расположено 72 малые ступы вокруг большой центральной.В поединках против эквадорцев и уругвайцев Рональдо забил два мяча.Было понятно, что с помощью него можно спасать жизни на войне, поэтому была проведена большая работа для улучшения пробоподготовки и установления структуры.Термин широко критикуется пакистанскими властями.", "out": "0", "pred": "0"} {"in": "Naismith was not good at school, but enjoyed farm work.Filipović also fought for the Pride Fighting Championships where he won a PrideFC 2006 Openweight Grand Prix Tournament.Slavia Prague won 6–5 on aggregate.Together with Queenstown and Clementi stations, an additional pedestrian link bridge linking the station to two new exits were built, one on each side of the road.She has also done anchoring, hosting and daily ads.There were convert set aside for university buildings and convert for the U of S farm, and farming fields.In this TV drama, he was one of the main casts.", "out": "0", "pred": "0"} {"in": "flags=0;}if(flags==0)cout<<0<='0'&&(int)a[0]<='9')cout<<0<'Z'&&(**(p+i))<'a'&&(**(p+i))!='_')||(**(p+i))>'z') *(q+i)=0; else { if(*(*(p+i)+1)=='\\0') *(q+i)=1; for(j=1;j<81,*(*(p+i)+j)!='\\0';j++) { s=0;", "out": "1", "pred": "1"} {"in": "文庫判の月刊文芸誌「文蔵」(ぶんぞう)は、創刊号である2005年10月号以降、PHP文庫として発売されていたが、2010年11月号からはPHP文芸文庫として発売されている。Papers 8:50-51 。、声優陣で小旅行などのイベントを年2回ほど行うのが恒例行事だったという。郡名は郡南西隅に近い大きな河口湾グレイズハーバーの名前から採られた。ビルはバンドとしてのメジャー契約を目指し、一旦契約話を保留していたEMIに、\"ジェットシルバー・アンド・ザ・ドール・オブ・ビーナス\"と\"ライダーズ・オブ・マイ・ラブ\"のデモテープを送った リチャード・ブラウンはこの録音後に家族の反対で脱退している。空を覆い尽くすほどに巨大で自らの待ち望んだ「敵」であるアキユキザムドと死闘を繰り広げる。そこで扇は総理の森に直訴したところ、森は「扇君が建設大臣として公共工事の基本法をつくろうとしているから、関係の省庁は挙げて協力するように」と閣議で指示した。、アッタロスへの賠償に応じること、それらに応じなければ平和は望めないことを通達した。具体的な採取方法は施設によって多少は異なるが、出産後、新生児に近い部分で臍帯は切り離される。、福井藩士・山本条悦の長男として生まれる :引数 archiveurl と archivedate は両方を指定してください。", "out": "0", "pred": "0"} {"in": "当初はチャンドラーらを信用していなかったが、ラムジーらが発信した欺瞞情報によって焚き付けられた民間人らの攻撃で「ネイサン・ジェームズ」のクルーが複数死亡したのを目の当たりにして認識を改め、技術を生かしてチャンドラーらに協力するようになる。反面、機動性は低いものの、装甲は頑丈なものとなっている 。一方、語尾の-dが優勢に書かれることがなくなった。この時のゴール直後、微差であったことから先にガッツポーズしてしまった。また罪の枝も機能しなかったが、努力の末にささやかながらもシロの状態でも能力が使えるようになる。)と、後のスペシャルエディション・バイ・ロータスの布石となる、エクスポート(北米向けのラグジュアリースペック)を追加。その中で最大のものがキーナンバー LIP-066 のエストリッヒャー・トイトブルガー・ヴァルト(トイトブルクの森東部)自然保護地区で、その広さは 2,323.4736 ha である。そんなソダーバーグに本作の脚本が手渡されたのは、脚本を映画化するのに相応しい人間を推薦してもらうためだった。」という、非常にモダンで実験的な家ができあがった。同盟を結び、フランスが参戦したので、事情は変わってきた。", "out": "0", "pred": "0"} {"in": "Ba é Craig Lyle Thomas (", "out": "0", "pred": "0"} {"in": "def replace_blank(str1,char):\n str2 = str1.replace(' ', char)\n return str2", "out": "1", "pred": "1"} {"in": "Садыковым была оказана всевозможная помощь, впоследствии у них родилась ещё одна дочь.Какое-то время в нашем доме жили чужие люди.Трижды за время своей работы Гонсалес временно возглавлял основную сборную Коста-Рики.Нацболы не исключают нарушение УК РФ в случае чрезвычайной ситуации, когда он уже будет открыто нарушаться государством.Улисс Грант в журнале «В июне 2008 года был закрыт на реконструкцию.Юлия Меньшова и Игорь Гордин на фестивале и премии «Тогда они приказали закрыть меня в здании большой синагоги.Ходили слухи, что его отравили Thomas Birch, Memoirs of the Reign of Queen Elizabeth, vol.Чтобы решить эту ситуацию, Кортекс похищает Крэша и обманывает того, сообщив что он работает над спасением мира от предстоящего солнечного потока, и для этого ему нужны кристаллы.", "out": "0", "pred": "0"} {"in": "my_datetime.strftime('%B %d, %Y')int(''.join(c for c in s if c.isdigit()))dic['Test'].update({'class': {'section': 5}})dict(map(int, x.split(':')) for x in s.split(','))driver.find_element_by_xpath(\"//div[@id='a']//a[@class='click']\")np.where((vals == (0, 1)).all(axis=1))SomeModel.objects.filter(id=id).delete()dict([['two', 2], ['one', 1]])dict(zip(l[::2], l[1::2]))GRAVITY = 9.8re.findall('(([0-9]+)([A-Z]))', '20M10000N80M')re.findall('([0-9]+|[A-Z])', '20M10000N80M')re.findall('([0-9]+)([A-Z])', '20M10000N80M')re.compile('\\\\w+').findall('Hello world, my name is...James the 2nd!')datetime.datetime.strptime('03:55', '%H:%M').time()", "out": "1", "pred": "1"} {"in": "Pubblicare testi in cui raccogliere il frutto di studi, riflessioni, preghiere venne subito ritenuto uno dei compiti principali di una comunità che poneva tra le sue ragioni essenziali quello di coltivare il dialogo e l'Proprio mentre quest'ultimo riconosce Dar Pha e chiede spiegazioni al riguardo del motivo per cui si trovino li, si teletrasporta davanti a loro Orias.Il suo attrezzo migliore sono le parallele asimmetriche (13.800), poi tre discreti esercizi a trave (13.250), corpo libero (13.050) e volteggio (12.850).Dopo aver giocato per anni nella squadra riserve della Dinamo Kiev, nel 2010 si trasferisce in Russia, andando a giocare in squadre che militano tra la prima e la seconda divisione nazionale.Garl Glittergold manda i suoi avatar a visitare le terre degli gnomi con il compito di aiutarli sia negli scherzi che nell'artigianato.Sarà quindi difficile trovare un nero che parli Ebonics cresciuto in un contesto bianco.Secondo la Bernstein la brutalità pubblica che caratterizzò il linciaggio fu paragonabile a quella del supplizio medievale dell'", "out": "0", "pred": "0"} {"in": "西側が第二工場、道路を挟み東側が第一工場となっている。、このゲームが『ドクター・フー』のエピソードの構成要素であり、かつ同作のユニバースの一部である、と主張した :引数 archiveurl と archivedate は両方を指定してください。王はアレクサンダー大王とダリウス王の娘の子孫であり、「ズルカーネイン」の称号を名乗って居たと言う。、たとえて言うには「水のことを説明しても実際には濡れないし、火をうまく説明しても実際には熱くならない。、補給中断の際にISSを軌道上にとどめるために必要とする一年分の予備推進剤を提供する予定であった。日本からは2021年現在、フタオガ亜科23種、ギンツバメガ亜科3種、オオツバメガ亜科2種の合計28種が知られている 。、人間の欲望の産物でもあるのです」「かつて人間が幾度か訪れた危機を、みずからを変えることによって、乗りこえてきたように、現在の電子計算機時代、コンピューター時代という危機をくぐり抜けるためには、新しい価値基準をつくりあげる以外に道はありません。KR200はエンジンを一度停止した後、点火スイッチを通常よりも深く押し込む事で後退用の点火時期が選択されて逆回転が開始された。泉大津市立旭小学校(いずみおおつしりつ あさひしょうがっこう)は、こういったゲームバランスも、「隠れながら進む」必要性を表している。", "out": "0", "pred": "0"} {"in": "Windows NT 3.5 incluait un nouvel écran de démarrage, au lieu d'une fenêtre noire à l'apparence du DOS et l'interface évolua vers celle de Windows for Workgroups 3.xx pour maintenir une certaine unicité entre les deux systèmes d'exploitation.Ce poste était très désiré de lord Moira, qui y déploya en même temps son goût pour le faste et ses talents militaires.La première ville nouvelle (Dasve) devait initialement être terminé avant 2010 mais certaines résidences étaient encore en construction en 2013.Les pratiquants doivent adapter leur alimentation au sport qu’ils pratiquent.Le sapeur et un collègue sont requis pour être figurants dans le théâtre de la ville.La Commission Bancaire, qui est un organe de la CEMAC, a pour mission de veiller à l’intégrité du système bancaire et d’en garantir la résilience.Condamné à 30 ans d'emprisonnement.", "out": "0", "pred": "0"} {"in": "Ba de bhunadh Scotach (", "out": "0", "pred": "0"} {"in": "Rugadh é sa bhliain 1937.", "out": "0", "pred": "0"} {"in": "Le nouveau groupe germano-luxembourgeois est moins attaché à l’aspect patrimonial qu’à l’aspect économique de son entreprise et décide alors de capitaliser sur ses chaînes à fort rendement en sacrifiant celles jugées peu rentables.Cette coloration classique ne présente donc pas d'intérêt pour leur étude.La Société de prospection et d’inventions techniques ou SPIT est le premier fabricant français de solutions de fixation et autres outils à destination principale des professionnels du bâtiment.Le bilan des attaques n'est pas connu avec précision.Fly & the Tox est un trio toulousain aux accents Rock et Rhythm & Blues créé en 1987.L'actuel président est Docteur Alfred Sanou.C'est elle qui fait placarder le l'", "out": "0", "pred": "0"} {"in": "Racamier qui précise P.-C.La façade présente une composition à l'asymétrie très marquée : comme beaucoup de maisons Art nouveau à Bruxelles, elle est composée d'une travée large et d'une travée beaucoup plus étroite.Peu après sa libération, Carter fut arrêté pour une série d'agressions dans la rue.Le concept du magazine Bon et à savoir allie informations et conseils pratiques.Remplaçant Cuor, qui vient de finir son mandat de cinq ans, il devient lui-même l'un des coordinateurs chargés de dire qui doit être soigné, et qui ne le sera pas…La place est située à l'intersection de la rue Abdel Menem Riyad et de la rue al-Motanabbi, dans la vieille ville.À cela s'ajoutent des spécialistes de la montagne, des véhicules de loisirs, du deux-roues et des sports (le Salon des Sports réunit plus de 70 ligues sportives, des dizaines de champions).", "out": "0", "pred": "0"} {"in": "def max_sub_array_sum(a, size):\n max_so_far = 0\n max_ending_here = 0\n for i in range(0, size):\n max_ending_here = max_ending_here + a[i]\n if max_ending_here < 0:\n max_ending_here = 0\n elif (max_so_far < max_ending_here):\n max_so_far = max_ending_here\n return max_so_far", "out": "1", "pred": "1"} {"in": "Für die eigentliche Vorstadt bildete sich der Name Mittelsand heraus.Paul Hesse aber, der neue Freiherr von Bingern, will nun mit seiner neuen Existenz richtig durchstarten.Aufgrund vergangener Enttäuschungen und Verluste fällt es ihm schwer, Beziehungen zu anderen Menschen aufzubauen.Bei den mit „E“ („AB“) gekennzeichneten Ausstellungen handelt es sich um eine Einzelausstellung (Ausstellungsbeteiligung).Die Ausbildungsdauer betrug sechs Semester.Geschichte seiner Ausstellungen.Anfang April hatte der König John Howard zum Admiral der ostenglischen Küste ernannt.", "out": "0", "pred": "0"} {"in": "Die Redskins ehren ihn in ihrem Stadion auf dem Ring of Fame.Die Medizinische Fakultät ist in Bezug auf Budget und Anzahl der Mitarbeiter die zweitgrösste Fakultät der gesamten Universität, nach derjenigen der Naturwissenschaften.Gegen Ende des Jahres hatte das Unternehmen rund 10.000 Aktionäre.Ende 2018 waren 356 Hektar als landwirtschaftliche Flächen genutzt und Forstwirtschaft wurde auf 71 Hektar betrieben.Eigentümer der Burg war der Konzertveranstalter Gerhard Satran senior.Nachdem er ein Wetterbeobachtungsnetz organisiert hatte, erstellte er auf der Grundlage der eingehenden Beobachtungsmeldungen am 16. Februar 1883 die erste Wetterkarte Japans.Die Farben Nuthas sind Rot-Silber (Weiß), sie dokumentieren die Zugehörigkeit zu Anhalt.", "out": "0", "pred": "0"} {"in": "df.groupby('dummy').agg({'returns': [np.mean, np.sum]})s.lower()s.decode('utf-8').lower()ftp.retrbinary('RETR %s' % filename, file.write)urlfetch.fetch(url, deadline=10 * 60)print(my_string[0:100])legend(numpoints=1)dict((x, set(y) & set(d1.get(x, ()))) for x, y in d2.items())numpy.loadtxt(open('test.csv', 'rb'), delimiter=',', skiprows=1)Sample.objects.filter(date__range=['2011-01-01', '2011-01-31'])Sample.objects.filter(date__year='2011', date__month='01')d['dict3'] = {'spam': 5, 'ham': 6}numpy.apply_along_axis(numpy.linalg.norm, 1, a)dict((k, v) for d in dicts for k, v in list(d.items()))print('your string'.decode('string_escape'))", "out": "1", "pred": "1"} {"in": "Se aprobó en la Cámara, pero fracasó en el Senado, donde el Sur tenía una mayor representación.Y el seleccionado de La Puebla, el cual no se le permitía jugar los campeonatos distritales y cantonales en San Pablo de Heredia, hasta 1983.España también empleó algunas unidades S-38 que operaron en las aguas del Estrecho de Gibraltar.A la mañana siguiente, cuando despierta se encuentra con que el cielo está despejado y el barco está yendo muy rápido para recuperar el tiempo perdido.A continuación se mencionarán algunos de los males que produce la prisión.Los sellos de los infantes y de las reinas tenían menos barras que los de los reyes.Las estaciones pueden ser simples cruces colgadas en las paredes interiores de la iglesia, o motivos artísticos, relieves o pinturas colocadas a cierta distancia unas de otras.", "out": "0", "pred": "0"} {"in": "private LSInput resolveResource(String aPublicId, String aSystemId, String aBaseURI, boolean baseUsed) {LSInput lsInput = new DefaultLSInput();lsInput.setPublicId(aPublicId);lsInput.setSystemId(aSystemId);String base = null;try {int baseEndPos = -1;if (aBaseURI != null) {baseEndPos = aBaseURI.lastIndexOf(\"/\");}if (baseEndPos <= 0) {if (baseUsed) {return null;} else {return resolveResource(aPublicId, aSystemId, schemaBasePath + \"/\" + aSystemId, true);}}base = aBaseURI.substring(0, baseEndPos);URL url = new URL(base + \"/\" + aSystemId);lsInput.setByteStream(url.openConnection().getInputStream());return lsInput;} catch (IOException e) {return resolveResource(aPublicId, aSystemId, base, baseUsed);}}public static void copyFile(File src, File dst) throws IOException {InputStream in = new FileInputStream(src);OutputStream out = new FileOutputStream(dst);byte[] buf = new byte[1024];int len;while ((len = in.read(buf)) > 0) out.write(buf, 0, len);in.close();out.close();}public byte[] computeMD5(String plainText) throws VHException {MessageDigest md = null;try {md = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException ex) {throw new VHException(\"The MD5 hash algorithm is not available.\", ex);}try {md.update(plainText.getBytes(\"UTF-8\"));} catch (UnsupportedEncodingException ex) {throw new VHException(\"The UTF-8 encoding is not supported.\", ex);}return md.digest();}@Overridepublic int run() {Enumeration e;try {e = About.class.getClassLoader().getResources(\"META-INF/MANIFEST.MF\");while (e.hasMoreElements()) {final URL url = (URL) e.nextElement();if (url.toString().indexOf(\"renaissance\") != -1) {final InputStream is = url.openStream();Properties p = new Properties();p.load(is);for (Entry entry : p.entrySet()) {System.err.println(entry);}}}} catch (IOException e1) {logger.fatal(\"Caught an exception \" + e1);return 1;}System.err.println(\"Classpath is \" + System.getProperty(\"java.class.path\"));return 0;}public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {String target = null;boolean allowedToAccess = false;try {URL requestUrl = new URL(\"http:/\" + request.getPathInfo());for (Enumeration en = allowedUrls.elements(); en.hasMoreElements(); ) {URL nextUrl = (URL) en.nextElement();if ((nextUrl).getHost().equalsIgnoreCase(requestUrl.getHost())) {allowedToAccess = true;}}} catch (MalformedURLException ex) {System.err.println(\"Error in url: \" + \"http:/\" + request.getPathInfo());return;}if (!allowedToAccess) {response.setStatus(407);return;}if (request.getPathInfo() != null && !request.getPathInfo().equals(\"\")) {target = \"http:/\" + request.getPathInfo() + \"?\" + request.getQueryString();} else {response.setStatus(404);return;}InputStream is = null;ServletOutputStream out = null;try {URL url = new URL(target);URLConnection uc = url.openConnection();response.setContentType(uc.getContentType());is = uc.getInputStream();out = response.getOutputStream();byte[] buf = new byte[4096];int bytesRead;while ((bytesRead = is.read(buf)) != -1) {out.write(buf, 0, bytesRead);}} catch (MalformedURLException e) {response.setStatus(404);} catch (IOException e) {response.setStatus(404);} finally {if (is != null) {is.close();}if (out != null) {out.close();}}}private List createProjectInfoFile() throws SocketException, IOException {FTPClient client = new FTPClient();Set projects = new HashSet();client.connect(\"ftp.drupal.org\");System.out.println(\"Connected to ftp.drupal.org\");System.out.println(client.getReplyString());boolean loggedIn = client.login(\"anonymous\", \"info@regilo.org\");if (loggedIn) {FTPFile[] files = client.listFiles(\"pub/drupal/files/projects\");for (FTPFile file : files) {String name = file.getName();Pattern p = Pattern.compile(\"([a-zAZ_]*)-(\\\\d.x)-(.*)\");Matcher m = p.matcher(name);if (m.matches()) {String projectName = m.group(1);String version = m.group(2);if (version.equals(\"6.x\")) {projects.add(projectName);}}}}List projectList = new ArrayList();for (String project : projects) {projectList.add(project);}Collections.sort(projectList);return projectList;}public String getContentAsString(String url) {StringBuffer sb = new StringBuffer(\"\");try {URL urlmy = new URL(url);HttpURLConnection con = (HttpURLConnection) urlmy.openConnection();HttpURLConnection.setFollowRedirects(true);con.setInstanceFollowRedirects(false);con.connect();BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(), \"UTF-8\"));String s = \"\";while ((s = br.readLine()) != null) {sb.append(s + \"\\r\\n\");}con.disconnect();} catch (Exception ex) {this.logException(ex);}return sb.toString();}public void actionPerformed(ActionEvent e) {try {URL url = new URL(\"http://mailsomething.sf.net/helppages.xml\");try {File file = File.createTempFile(\"temp\", \"xml\");InputStream in = new BufferedInputStream(url.openStream());OutputStream out = new FileOutputStream(file);byte[] buf = new byte[1024];int n;while ((n = in.read(buf)) > 0) out.write(buf, 0, n);out.flush();out.close();module.merge(file);} catch (IOException f) {}} catch (MalformedURLException f) {}}public static String encrypt(String message) {try {MessageDigest digest = MessageDigest.getInstance(\"MD5\");digest.update(message.getBytes());BASE64Encoder encoder = new BASE64Encoder();return encoder.encode(digest.digest());} catch (NoSuchAlgorithmException ex) {ex.printStackTrace();return null;}}private Properties loadProperties(final String propertiesName) throws IOException {Properties bundle = null;final ClassLoader loader = Thread.currentThread().getContextClassLoader();final URL url = loader.getResource(propertiesName);if (url == null) {throw new IOException(\"Properties file \" + propertiesName + \" not found\");}final InputStream is = url.openStream();if (is != null) {bundle = new Properties();bundle.load(is);} else {throw new IOException(\"Properties file \" + propertiesName + \" not avilable\");}return bundle;}", "out": "1", "pred": "1"} {"in": "}else if(p!=s){if((*p>='a'&&*p<='z')||(*p>='A'&&*p<='Z')||*p=='_'||(*p>='0'&&*p<='9')){}else{a=0;break;}}else{a=0;break;}}printf(\"%d\\n\",a);}return 0;int main(){int len,n,i,j,count=0;cin>>n;cin.get();for(i=0;i='a'&&a[0]<='z')||(a[0]>='A'&&a[0]<='Z')||a[0]=='_'){count=0;for(j=1;j='a'&&a[j]<='z')||(a[j]>='A'&&a[j]<='Z')||a[j]=='_'||(a[j]>='0'&&a[j]<='9'))count++;if(count==len-1)", "out": "1", "pred": "1"} {"in": "Nolina humilis se encuentra dentro del género Nolina como miembro de la Sección de Nolina.Después de participar en las elecciones celebradas en 1985, fue elegido para formar el gobierno en una plataforma de la Liga Musulmana de Pakistán, de la cual asumió la presidencia del partido.En lo posible, al hacer una compra, lleva tus propias bolsas de tela, de papel, de cartón, o incluso las de plástico usadas anteriormente hasta que sean inservibles.Se ha sugerido que esto puede también leerse como \"Orare Ben Jonson\" (orar por Ben Jonson), lo que indicaría un retorno al catolicismo durante su lecho de muerte.«Sin embargo, de acuerdo con los recientes documentos librados, los insurgentes ucranianos lo ejecutaron el 9 de marzo de 1944.»Se encarga desde entonces de brindar diverso apoyo solidario a los miembros de la colonia china en el Perú, mediante actividades que los integren.El 3 de febrero de 2008 el área ASCOBANS, que hasta entonces solamente cubría el Mar del Norte y Mar Báltico, se extendió para incluir también el mar de Irlanda y parte del Atlántico Noreste.", "out": "0", "pred": "0"} {"in": "from array import array\ndef zero_count(nums):\n n = len(nums)\n n1 = 0\n for x in nums:\n if x == 0:\n n1 += 1\n else:\n None\n return n1/(n-n1)", "out": "1", "pred": "1"} {"in": "def multiply_int(x, y):\n if y < 0:\n return -multiply_int(x, -y)\n elif y == 0:\n return 0\n elif y == 1:\n return x\n else:\n return x + multiply_int(x, y - 1)", "out": "1", "pred": "1"} {"in": "def check_min_heap_helper(arr, i):\n if 2 * i + 2 > len(arr):\n return True\n left_child = (arr[i] <= arr[2 * i + 1]) and check_min_heap_helper(arr, 2 * i + 1)\n right_child = (2 * i + 2 == len(arr)) or (arr[i] <= arr[2 * i + 2] \n and check_min_heap_helper(arr, 2 * i + 2))\n return left_child and right_child\n\ndef check_min_heap(arr):\n return check_min_heap_helper(arr, 0)", "out": "1", "pred": "1"} {"in": "Is annelida é an cuiteog.", "out": "0", "pred": "0"} {"in": "soup.find_all('a', href=re.compile('http://www\\\\.iwashere\\\\.com/'))soup.find_all('a', href=re.compile('^(?!(?:[a-zA-Z][a-zA-Z0-9+.-]*:|//))'))subprocess.call(['java', '-jar', 'Blender.jar'])cursor.execute('INSERT INTO table (`column1`) VALUES (%s)', (value,))if url.endswith('.com'):url = url[:(-4)]url = re.sub('\\\\.com$', '', url)print(url.replace('.com', ''))if (not text.endswith(suffix)):return textreturn text[:(len(text) - len(suffix))]print(', ,'.join([str(i[0]) for i in mytuple]))max(min(my_value, max_value), min_value)re.findall('\\\\w+|[^\\\\w\\\\s]', text, re.UNICODE)result = db.engine.execute('')sys.exit(0)\"\"\"\"\"\".join(c for c in my_string if c.isdigit())re.split(' +', str1)", "out": "1", "pred": "1"} {"in": "print(bool(a))df = df.rename(index={last: 'a'})km.fit(x.reshape(-1, 1))sorted(words, key=lambda x: 'a' + x if x.startswith('s') else 'b' + x)webbrowser.open('http://somesite.com/adminpanel/index.php')dict((k, v) for k, v in parent_dict.items() if 2 < k < 4)dict((k, v) for k, v in parent_dict.items() if k > 2 and k < 4)[list(x) for x in zip(*sorted(zip(list1, list2), key=lambda pair: pair[0]))]sum(((i > 5) for i in j))len([1 for i in j if (i > 5)])j = np.array(j)sum((j > i))[(x + tuple(y)) for x, y in zip(zip(a, b), c)]os.chmod(path, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)parser.add_argument('file', nargs='*')z = [(i == j) for i, j in zip(x, y)]", "out": "1", "pred": "1"} {"in": "Estas ceremonias recibían el nombre de misterios.El Gobierno Argentino lo compró en 1946.Fue fundado por frailes franciscanos provenientes de Michoacán; su construcción inició en 1896.Cuando Estonia y Letonia se convirtieron en naciones independientes tras la Primera Guerra Mundial, se concedió un grado de autonomía a las instituciones alemanas, y las escuelas y periódicos alemanes se expandieron un poco durante ese período.Las coaliciones provinciales se presentaron divididas en la elección legislativa.Henin revirtió un quiebre abajo en el último set para ganar en tiebreak por segunda vez consecutiva el título.Años más tarde, Luis recordaba este episodio histórico: “Cuando llegamos a la ciudad tuvimos que recoger muchos muertos y heridos.", "out": "0", "pred": "0"} {"in": "、五輪開催招致に失敗すると 山藤 1982、202頁 :引数 archiveurl と archivedate は両方を指定してください。その童子の話によると、「大江戸の平田宗家に伝わる杉山山人の肖像図は、現界に留め置く事は叶わず即刻処分すべきものである」とのこと。巨人戦以外のヤクルト主催ゲームは2000年代辺りに地上波(中波ラジオ)では中継する機会が減ったため事実上インターネット中継が独占放送の状態だった。」から毎週1つの記事にスポットを当てたコーナー(、販売機能を新法人として設立したトップ製菓が担っていたが、クレアはパークのインターンに就き、細心の注意を払いながら恐竜の生活を改善する事を目指した。これらはいずれも先行するデハボ1200形+クハボ600形と同様、近鉄奈良 - 大和西大寺 - 奈良電京都間を結ぶ特急・急行運用へ重点投入されたが、本形式については東洋電機製造製の「デッカーシステム」として知られる多段電動カム軸式自動加速制御器を搭載していて在来車と取り扱いが同一であったことから、しかし、同じくファイナリストになった男子200mでは20秒32(+0.5)をマークし、ラシード・ドワイヤー(20秒14)、ウォーレン・ウィア(20秒26)に次いで銅メダルを獲得した :引数 archiveurl と archivedate は両方を指定してください。、男性俳優でも子役を含めて俳優としての商品価値が落ちるとして下着姿になることは忌避されていた。後段の水量調整設備や水処理施設の能力が不十分だと、融雪や豪雨による浸出水を速やかに排除する事が出来ないため、管内に空気が入らず、準好気状態を維持できなくなる(悪循環に陥る)", "out": "0", "pred": "0"} {"in": "Жадный сосед тут же решил одолжить ступу, но в его руках рис превращался в зловонные ягоды и от злости он со своей женой разбил ступу вдребезги и сжёг.Ушёл из жизни 30 декабря 2020 года.Также, когда Воланакис основал в Пирее в 1895 году свой «Культурный центр» Marilena Kassimatis, «Konstantinos Volanakis, a Sea Poet», Album, 2009, Edition of the Institute Ekaterini Laskaridis and Pireaus Naval Museum.По словам : «…если бы всё зависело только от иезуитов, воспитанных в строгости, они бы учили исключительно евангельским максимам.Первый матч на этом уровне команда провела 24 марта 2003 года в гостях против «Кэмпбелл более 40 лет работал в нефтяной индустрии.В дебютном сезоне сыграл в 18 матчах и забил 2 гола.Это может быть только логично, так как с уменьшением линейного размера - площадь изолированного затвора - это и есть ячейка, уменьшается пропорционально квадрату линейного размера.В задачу собаки входит обнаружить добычу и оповестить об этом хозяина, сделав «стойку».Магнето и Бобби освобождают её, причём Дрейк жертвует собой в схватке со стражами, чтобы она могла спастись.", "out": "0", "pred": "0"} {"in": "L'autorité judiciaire en France, désigne donc la totalité de l'A l'issue de la saison 2019/2020 tronqué par la crise du COVID-19, il quitte son poste de responsable de la cellule de recrutement du centre de formation, qu'il aura occupé durant 3 saisons.Ces matches se jouent sur terrains neutres.La finale de la coupe constitue une chance exceptionnelle mais Bayari ne dispute aucune des deux éditions.Non conservé en 2012 par Clermont, il essaye de retourner dans son ancien club d'Édimbourg, mais sans succès.Hormis ces deux annexes et l'abside à cinq pans qui déborde à l'est, le plan de l'église s'inscrit dans un rectangle.La reproduction a lieu d'avril à juin.", "out": "0", "pred": "0"} {"in": "private void downloadDirectory() throws SocketException, IOException {FTPClient client = new FTPClient();client.connect(source.getHost());client.login(username, password);FTPFile[] files = client.listFiles(source.getPath());for (FTPFile file : files) {if (!file.isDirectory()) {long file_size = file.getSize() / 1024;Calendar cal = file.getTimestamp();URL source_file = new File(source + file.getName()).toURI().toURL();DownloadQueue.add(new Download(projectName, parser.getParserID(), source_file, file_size, cal, target + file.getName()));}}}private void downloadFiles() throws SocketException, IOException {HashSet files_set = new HashSet();boolean hasWildcarts = false;FTPClient client = new FTPClient();for (String file : downloadFiles) {files_set.add(file);if (file.contains(WILDCARD_WORD) || file.contains(WILDCARD_DIGIT)) hasWildcarts = true;}client.connect(source.getHost());client.login(username, password);FTPFile[] files = client.listFiles(source.getPath());if (!hasWildcarts) {for (FTPFile file : files) {String filename = file.getName();if (files_set.contains(filename)) {long file_size = file.getSize() / 1024;Calendar cal = file.getTimestamp();URL source_file = new File(source + file.getName()).toURI().toURL();DownloadQueue.add(new Download(projectName, parser.getParserID(), source_file, file_size, cal, target + file.getName()));}}} else {for (FTPFile file : files) {String filename = file.getName();boolean match = false;for (String db_filename : downloadFiles) {db_filename = db_filename.replaceAll(\"\\\\\" + WILDCARD_WORD, WILDCARD_WORD_PATTERN);db_filename = db_filename.replaceAll(\"\\\\\" + WILDCARD_DIGIT, WILDCARD_DIGIT_PATTERN);Pattern p = Pattern.compile(db_filename);Matcher m = p.matcher(filename);match = m.matches();}if (match) {long file_size = file.getSize() / 1024;Calendar cal = file.getTimestamp();URL source_file = new File(source + file.getName()).toURI().toURL();DownloadQueue.add(new Download(projectName, parser.getParserID(), source_file, file_size, cal, target + file.getName()));}}}}public void descargarArchivo() {try {FileInputStream fis = new FileInputStream(resultados.elementAt(materialSelccionado).getRuta());FileOutputStream fos = new FileOutputStream(rutaDestinoDescarga);FileChannel inChannel = fis.getChannel();FileChannel outChannel = fos.getChannel();inChannel.transferTo(0, inChannel.size(), outChannel);fis.close();fos.close();} catch (IOException ioe) {System.err.println(\"Error al Generar Copia del Material\\n\" + ioe);}}protected void doTransfer(HttpServletRequest request, HttpServletResponse response, String method) throws ServletException, IOException {ServletContext servletContext = this.getServletConfig().getServletContext();WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);String szUrl = request.getParameter(\"url\");System.out.println(szUrl);URL url;InputStream is = null;ServletOutputStream sout = null;try {url = new URL(szUrl);HttpURLConnection con = (HttpURLConnection) url.openConnection();Enumeration hNames = request.getHeaderNames();while (hNames.hasMoreElements()) {String txt = hNames.nextElement().toString();con.setRequestProperty(txt, request.getHeader(txt));}con.setRequestProperty(\"host\", url.getHost());con.setRequestProperty(\"refer\", szUrl);con.setRequestMethod(method);con.setDoOutput(true);con.setDoInput(true);InputStreamReader inBody = new InputStreamReader(request.getInputStream());char bufCh[] = new char[1024];int r;OutputStreamWriter outReq = new OutputStreamWriter(con.getOutputStream());while ((r = inBody.read(bufCh)) != -1) {System.out.println(bufCh);outReq.write(bufCh, 0, r);}outReq.flush();outReq.close();inBody.close();System.out.println(con.getResponseCode());System.out.println(con.getResponseMessage());if (con.getResponseCode() == con.HTTP_OK) {response.setContentType(con.getContentType());response.addHeader(\"Content-Encoding\", con.getContentEncoding());sout = response.getOutputStream();is = con.getInputStream();byte buff[] = new byte[1024];while ((r = is.read(buff)) != -1) {sout.write(buff, 0, r);System.out.print(buff);}sout.flush();is.close();sout.close();} else {response.sendError(con.getResponseCode(), con.getResponseMessage());}} catch (MalformedURLException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}}public String getWeather(String cityName, String fileAddr) {try {URL url = new URL(\"http://www.google.com/ig/api?hl=zh_cn&weather=\" + cityName);InputStream inputstream = url.openStream();String s, str;BufferedReader in = new BufferedReader(new InputStreamReader(inputstream));StringBuffer stringbuffer = new StringBuffer();Writer out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fileAddr), \"utf-8\"));while ((s = in.readLine()) != null) {stringbuffer.append(s);}str = new String(stringbuffer);out.write(str);out.close();in.close();} catch (IOException e) {e.printStackTrace();}File file = new File(fileAddr);DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();String str = null;try {DocumentBuilder builder = factory.newDocumentBuilder();Document doc = builder.parse(file);NodeList nodelist1 = (NodeList) doc.getElementsByTagName(\"forecast_conditions\");NodeList nodelist2 = nodelist1.item(0).getChildNodes();str = nodelist2.item(4).getAttributes().item(0).getNodeValue() + \",temperature:\" + nodelist2.item(1).getAttributes().item(0).getNodeValue() + \"℃-\" + nodelist2.item(2).getAttributes().item(0).getNodeValue() + \"℃\";} catch (Exception e) {e.printStackTrace();}return str;}@Beforepublic void setUp() throws IOException {final URL url = getClass().getResource(\"maventest.properties.xml\");workdir = new File(new File(url.getPath()).getParentFile(), \"workdir\");final Properties properties = new Properties();properties.load(url.openStream());for (Map.Entry entry : properties.entrySet()) {jobParams.put(entry.getKey() + \"\", entry.getValue() + \"\");}FileUtils.deleteDirectory(workdir);workdir.mkdirs();}public static int executeUpdate(EOAdaptorChannel channel, String sql, boolean autoCommit) throws SQLException {int rowsUpdated;boolean wasOpen = channel.isOpen();if (!wasOpen) {channel.openChannel();}Connection conn = ((JDBCContext) channel.adaptorContext()).connection();try {Statement stmt = conn.createStatement();try {rowsUpdated = stmt.executeUpdate(sql);if (autoCommit) {conn.commit();}} catch (SQLException ex) {if (autoCommit) {conn.rollback();}throw new RuntimeException(\"Failed to execute the statement '\" + sql + \"'.\", ex);} finally {stmt.close();}} finally {if (!wasOpen) {channel.closeChannel();}}return rowsUpdated;}private Element getXmlFromGeoNetwork(String urlIn, Session userSession) throws FailedActionException {Element results = null;try {URL url = new URL(urlIn);URLConnection conn = url.openConnection();conn.setConnectTimeout(1000);String cookie = (String) userSession.getAttribute(\"usercookie.object\");if (cookie != null) conn.setRequestProperty(\"Cookie\", cookie);BufferedInputStream in = new BufferedInputStream(conn.getInputStream());try {results = Xml.loadStream(in);} finally {in.close();}} catch (Exception e) {throw new FailedActionException(FailedActionReason.SYSTEM_ERROR);}return results;}private ArrayList loadProperties(String filename) throws DevFailed, IOException {java.net.URL url = getClass().getResource(filename);if (url == null) {Except.throw_exception(\"LOAD_PROPERTY_FAILED\", \"URL for property file (\" + filename + \") is null !\", \"PogoProperty.loadProperties()\");return null;}InputStream is = url.openStream();BufferedReader br = new BufferedReader(new InputStreamReader(is));ArrayList vs = new ArrayList();String str;while ((str = br.readLine()) != null) {str = str.trim();if (!str.startsWith(\"#\")) if (str.length() > 0) vs.add(str);}br.close();return vs;}public void write(File file) throws Exception {if (medooFile != null) {if (!medooFile.renameTo(file)) {BufferedInputStream in = null;BufferedOutputStream out = null;try {in = new BufferedInputStream(new FileInputStream(medooFile));out = new BufferedOutputStream(new FileOutputStream(file));IOUtils.copy(in, out);} finally {if (in != null) {try {in.close();} catch (IOException e) {}}if (out != null) {try {out.close();} catch (IOException e) {}}}}} else {throw new FileUploadException(\"Cannot write uploaded file to disk!\");}}", "out": "1", "pred": "1"} {"in": "En 1903 se abrió un Salón en un sótano del Petit Palais: el primer Salon d´Automne, cuyo presidente era Frantz Jourdaim, incluía cientos de exposiciones sobre las artes decorativas.Es decir, manteniendo el file lo más cercano posible a la obra que hicieron los autores en el momento de su creación.En el año 2007 monseñor William Delgado inició la tradición de la bendición del lago el Domingo de Resurrección.Borges (2008), p. 61. Esta filosofía está resumida en su célebre cita: \"La Historia universal, la historia de lo que el hombre ha realizado en este mundo, es en el fondo la historia de lo que han hecho los grandes hombres\".Esto sería imposible si las buenas obras, que son el fruto de un verdadero arrepentimiento, y la fe eran incondicionalmentes necesarias para la salvación.Vanessa Pappas es la directora ejecutiva de TikTok y asumió el cargo tras la dimisión de Kevin A. Mayer el 27 de agosto de 2020.La apuesta al futuro, al crecimiento y al desarrollo federal fue el sello que decidieron imponerle sus nuevos dueños al diario.", "out": "0", "pred": "0"} {"in": "Ce sera le début d'une industrie florissante qui marquera durablement la vie et la physionomie de ce qui deviendra le bassin potassique, unique gisement de sel de potasse (ou sylvinite, de formule KCl) français.Autour des prieurés fontevristes, des granges qui peuvent être rapprochées de leurs homologues cisterciennes L’organisation domaniale fontevriste s’articule autour de granges ou de cours dépendant du prieuré.Depuis l'indépendance du Brunei en 1984, les forces sont stationnées là à la demande de l'À l'automne 2015, Ricardo co-produit et anime l'émission Un chef à l'oreille diffusée à Radio-Canada.Lorsqu'il n'y a plus assez de mémoire vive pour stocker les données, l'ordinateur aura recours à l'usage de mémoire externe, ce qui résulte en des temps d'accès nettement plus longs.Propulsé par un moteur W16 de 8 litres développant 710 chevaux (520 kW) ce concept met en vedette le système Quattro à quatre roues motrices permanent d'Audi.Il fait de haut et abrite quatre cloches.", "out": "0", "pred": "0"} {"in": "In sechs Stationen des Geriatriezentrums im Sozialmedizinischen Zentrum Sophienspital befinden sich insgesamt 141 Betten.Am 6. November erhob die Staatsanwaltschaft Bergamo Anklage wegen rassistischer Diskriminierung gegen Calderoli.In den antiken geographischen Werken wird zwischen den „kleineren“ und „größeren“ Brukterern unterschieden.Er ist es, der mit kays.Für Vorbeifahrende zu sehen ist heute lediglich noch die Aufschrift auf einem Gebäude: „Study Natural Law.“Seine Frau Parveneh wurde zur gleichen Zeit ermordet.Die Show wurde anfangs seit dem 30. Oktober 2006 jeden Montag ab 21 Uhr gesendet.", "out": "0", "pred": "0"} {"in": "def is_Diff(n): \n return (n % 11 == 0) ", "out": "1", "pred": "1"} {"in": "、批評家から肯定的な評価を得た。各パーツ(2号機から5号機)の担う機能は前作と同一である。第一次世界大戦勃発後、デュケインの書くアフリカでの冒険物語は人気が落ち込み、やがて冒険物語に関する講演活動もやめてニューヨークへ戻ったsfn。欽ちゃんから見ても、やっぱり輝きが明らかに違っていたと明かしている 『中居正広のミになる図書館』2012年1月10日放送分より 。獅子王凱の宇宙開発公団での先輩にあたる。この打ち上げでは、シャトルワースとロシア宇宙航空局との間で滞在期間に関するトラブルがあり、一時期ロシア宇宙航空局が打ち上げを拒否していた。第38話で復活を遂げ、サンタクロースの姿で登場。。2005年から2017年にかけて、当グループのラグジュアリー品(高級品)収入は30億から100億ユーロに増加した :引数 archiveurl と archivedate は両方を指定してください。それに対し化学構造と物理的性質との関係を定量的構造物性相関(QSPR、Quantitative Structure-Property Relationship)という。母は子供時代の教育姿勢を謝罪した 『秋葉原事件―加藤智大の軌跡』、p82-85。", "out": "0", "pred": "0"} {"in": "Pons V d’Empúries chasse, avec les armes, les fonctionnaires envoyés par le roi d'Aragon.Cette baisse du trafic inquiète le conseil général qui décide de se pencher sur l'avenir du réseau et de la ligne.L'entreprise ferma ses portes en 1954 pour renaître en 1994 à la suite de l'initiative de l’architecte et designer Gioacchino Acampora.Ainsi appelé parce que basé sur l'allégation affirmative du demandeur d'un droit dans la terre du défendeur.L'ancien Batiment de l'école du Verger qui abrite actuellement la maison de village \"les châtons\".Seules décidèrent de garder la nationalité mexicaine et restèrent au sud de la rivière pour fonder Nuevo Laredo.Les mêmes conséquences se sont produites dans le domaine de la christologie.", "out": "0", "pred": "0"} {"in": "Rumex conglomeratus, l'Oseille agglomérée, est une plante de la famille des Polygonacées.Lors de sa formation, le gouvernement compte 9 femmes sur 38 membres (soit environ un quart des portefeuilles).Juste en amont de la rocade, on trouve le pont imposant de la voie ferrée Lyon-Strasbourg.L'opposition à l'Angleterre faisait que cette vassalité, loin d'être une cause de prétention comme celle du duc de Normandie, assurait le roi de France du soutien du roi d'Écosse et également du soutien des gentilshommes écossais.Par rapport à la version précédente, ces modèles de troisième génération s'avèrent plus légers (150 kg ont été gagnés, les nouveaux modèles pesant un peu plus d'une tonne en configuration «terre»).Karlgren critiqua en particulier l'utilisation non sélective de documents de différentes époques pour établir l'histoire chinoise ancienne.C'est là qu'il rencontra et tomba amoureux de Circé, une secrétaire issue d'une famille ouvrière, relation que les parents de Roman désapprouvèrent profondément, allant même jusqu'à lui demander de rompre avec elle.", "out": "0", "pred": "0"} {"in": "Manca la tensione che si nota successivamente nelle sue composizioni.Si dovette così in gran fretta improvvisare delle misure d'emergenza.Il principale sentiero di accesso, segnavia n. 2, sale da Solda, nei pressi della stazione di partenza della funivia (1916 m).Fracastoro riteneva che l'aria (composta, secondo lui, da atometti piccolissimi e quasi invisibili) fosse nociva per la cura delle ferite nei malati (difatti, secondo lo studioso, la diffusione negli ospedali dell'C'è grande attenzione per fare emergere le pulsioni inconsce, attraverso la tecnica della libera associazione e dell'interpretazione dei sogni, perché, secondo il pensiero freudiano, la presa di coscienza di tali pulsioni è fondamentale per la guarigione.Riguardo alla decisione arbitraria, Mamatey scrisse che \"Il 25 marzo, per accelerare i lavori della conferenza di pace, il Consiglio dei Dieci fu diviso nel Consiglio dei Quattro (i \"Quattro Grandi\") e il Consiglio dei Cinque (i ministri degli esteri).In questa maniera egli ha acquisito una collezione di più di 200 opere d'arte originali, incluso le sculture, i dipinti, i disegni, le stampe e le ceramiche.", "out": "0", "pred": "0"} {"in": "@Overridepublic void sendErrorMessage(String message) throws EntriesException, StatementNotExecutedException, NotConnectedException, MessagingException {if (query == null) {throw new NotConnectedException();}ArrayList recipients = query.getUserManager().getTecMail();Mail mail = new Mail(recipients);try {ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(\"log/ossobooklog.zip\"));FileInputStream fis = new FileInputStream(\"log/ossobook.log\");ZipEntry entry = new ZipEntry(\"ossobook.log\");zos.putNextEntry(entry);byte[] buffer = new byte[8192];int read = 0;while ((read = fis.read(buffer, 0, 1024)) != -1) {zos.write(buffer, 0, read);}zos.closeEntry();fis.close();zos.close();mail.sendErrorMessage(message, new File(\"log/ossobooklog.zip\"), getUserName());} catch (Exception ex) {ex.printStackTrace();}}public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {response.setHeader(\"Content-type\", \"application/force-download\");response.setHeader(\"Content-disposition\", \"attachment\");response.setHeader(\"filename\", \"export.txt\");response.setHeader(\"Pragma\", \"no-cache\");response.setHeader(\"Expires\", \"0\");response.setStatus(HttpServletResponse.SC_OK);baseRequest.setHandled(true);InputStream x = baseRequest.getInputStream();StringWriter writer = new StringWriter();IOUtils.copy(x, writer);String theString = writer.toString();System.out.println(theString);response.getWriter().println(request.getParameter(\"file\").replace(\"*\", \"\\n\"));}private OSD downloadList() throws IOException, IllegalStateException, ParseException, URISyntaxException {OSD osd = null;HttpClient client = new DefaultHttpClient();HttpGet getMethod = new HttpGet(new URI(listUri));try {HttpResponse response = client.execute(getMethod);if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {throw new HttpResponseException(response.getStatusLine().getStatusCode(), response.getStatusLine().getReasonPhrase());}HttpEntity entity = response.getEntity();if (entity != null) {InputStream stream = entity.getContent();String charset = null;if (entity.getContentType() != null) {HeaderElement values[] = entity.getContentType().getElements();if (values.length > 0) {NameValuePair param = values[0].getParameterByName(\"charset\");if (param != null) {charset = param.getValue();}}}if (charset == null) {charset = HTTP.DEFAULT_CONTENT_CHARSET;}osd = OSD.parse(stream, charset);}} finally {getMethod.abort();}return osd;}private static void copyContent(final File srcFile, final File dstFile, final boolean gzipContent) throws IOException {final File dstFolder = dstFile.getParentFile();dstFolder.mkdirs();if (!dstFolder.exists()) {throw new RuntimeException(\"Unable to create the folder \" + dstFolder.getAbsolutePath());}final InputStream in = new FileInputStream(srcFile);OutputStream out = new FileOutputStream(dstFile);if (gzipContent) {out = new GZIPOutputStream(out);}try {final byte[] buffer = new byte[1024];int read;while ((read = in.read(buffer)) != -1) {out.write(buffer, 0, read);}} finally {in.close();out.close();}}public static boolean isUrlAvailable(String url) {boolean flag = true;try {URLConnection conn = (new URL(url)).openConnection();conn.setConnectTimeout(5000);conn.setReadTimeout(5000);conn.connect();if (conn.getDate() == 0) {flag = false;}} catch (IOException e) {log.error(e);flag = false;}return flag;}public Mappings read() {Mappings result = null;InputStream stream = null;try {XMLParser parser = new XMLParser();stream = url.openStream();result = parser.parse(stream);} catch (Throwable e) {log.error(\"Error in loading dozer mapping file url: [\" + url + \"] : \" + e);MappingUtils.throwMappingException(e);} finally {try {if (stream != null) {stream.close();}} catch (IOException e) {MappingUtils.throwMappingException(e);}}return result;}public static String encrypt(String txt) throws Exception {MessageDigest md = MessageDigest.getInstance(\"SHA\");md.update(txt.getBytes(\"UTF-8\"));byte raw[] = md.digest();String hash = (new BASE64Encoder()).encode(raw);return hash;}private static void process(String urlstring) {try {URL url = new URL(urlstring);System.out.println(\"Connecting to \" + url);URLConnection connection = url.openConnection();connection.connect();BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));for (String line; (line = in.readLine()) != null; ) if (line.startsWith(MARKER)) {System.out.println(TAG.matcher(line).replaceAll(\"\"));}in.close();} catch (IOException ioe) {System.err.println(\"\" + ioe);}}public void exportFile() {String expfolder = PropertyHandler.getInstance().getProperty(PropertyHandler.KINDLE_EXPORT_FOLDER_KEY);File out = new File(expfolder + File.separator + previewInfo.getTitle() + \".prc\");File f = new File(absPath);try {FileOutputStream fout = new FileOutputStream(out);FileInputStream fin = new FileInputStream(f);int read = 0;byte[] buffer = new byte[1024 * 1024];while ((read = fin.read(buffer)) > 0) {fout.write(buffer, 0, read);}fin.close();fout.close();} catch (FileNotFoundException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}}@Overridepublic CheckAvailabilityResult execute(final CheckAvailabilityAction action, final ExecutionContext context) throws ActionException {if (LOGGER.isDebugEnabled()) {String serverName = null;if (action.getServerId() == CheckAvailability.FEDORA_ID) {serverName = \"fedora\";} else if (action.getServerId() == CheckAvailability.KRAMERIUS_ID) {serverName = \"kramerius\";}LOGGER.debug(\"Processing action: CheckAvailability: \" + serverName);}ServerUtils.checkExpiredSession(httpSessionProvider);boolean status = true;String url = null;String usr = \"\";String pass = \"\";if (action.getServerId() == CheckAvailability.FEDORA_ID) {url = configuration.getFedoraHost();usr = configuration.getFedoraLogin();pass = configuration.getFedoraPassword();} else if (action.getServerId() == CheckAvailability.KRAMERIUS_ID) {url = configuration.getKrameriusHost() + SOME_STATIC_KRAMERIUS_PAGE;} else {throw new ActionException(\"Unknown server id\");}try {URLConnection con = RESTHelper.openConnection(url, usr, pass, false);if (con instanceof HttpURLConnection) {HttpURLConnection httpConnection = (HttpURLConnection) con;int resp = httpConnection.getResponseCode();if (resp < 200 || resp >= 308) {status = false;LOGGER.info(\"Server \" + url + \" answered with HTTP code \" + httpConnection.getResponseCode());}} else {status = false;}} catch (MalformedURLException e) {status = false;e.printStackTrace();} catch (IOException e) {status = false;e.printStackTrace();}return new CheckAvailabilityResult(status, url);}", "out": "1", "pred": "1"} {"in": "In May 2006, he received the Muscle Beach Hall of Fame Award.Some countries have a title, official or unofficial, that is or can be translated as first lady. citation The title is not normally used for the wife of a head of government who is not also head of state.Even though he played in Japan for eight years, he has been awarded five-time season MVPs, eight-time Golden Gloves, and eight-time All-stars.She also stated that the team that sold the most items will win the challenge.There are two golf courses in the town, Annanhill Golf Course and Caprington Golf Course, which has both an 18 hole course and a nine hole course.It is named after Charles Adolphe Wurtz.What counts in calling a given group \"a polity\" is not its size nor the form of government it has.", "out": "0", "pred": "0"} {"in": "Vers la fin du règne, les Richardides tiennent cinq comtés et deux évêchés.A cinq minutes de la fin de l'épreuve, alors que les candidats réalisent les pommes soufflées, Philippe Etchebest annonce que le candidat qui est disqualifié est Norbert, en retard sur ses préparations et qui n'a pas écouté toutes les consignes du chef.Sur les 61 villages-sous-districts en 2003, 10 villages ont atteint l'autosuffisance (15,63 pour cent), 16 villages indépendants (25,00 pour cent), et 38 d'auto-assistance villages (59,38 pour cent).De grandes marques émergent (Knorr en 1886, Maggi en 1887, Bovril en 1889), qui existent toujours au et font partie de l'La face supérieure est vert pâle et mate, et la face inférieure glauque.Par exemple, le dernier roman paru, Ordermaster, couvre 6 périodes de l'histoire et 8 des faits majeurs de la série.Ces textes justifient les débats ultérieurs sur ce sujet, débats qui se réfèrent tous à l'œuvre paulinienne.", "out": "0", "pred": "0"} {"in": "Egli la considerava come una posizione ideale per incontrare il nemico.\", che fanno però riferimento prevalentemente alla sottocultura Raver, altra rispetto a quella punk.Queste circostanze biologiche suggeriscono che l'evoluzione razziale nella regione fu antecedente alla distribuzione delle lingue; le lingue possono essersi sviluppate in popolazioni già mischiate.Per niente amato dai genitori, iniziò da piccolo a provare attrazione per tutto ciò che è ripugnante.Girato a Fort Lee, nel New Jersey e negli studios della Biograph a New York il 21 e 27 luglio, il film venne prodotto dall'Ciò nonostante, venne ben presto rassicurata da Giacomo.L'incrociatore fotografato probabilmente negli anni Venti.", "out": "0", "pred": "0"} {"in": "Está situado a 3207 metros de altura, y fue reconstruido entre 1997 y finales de 1999.En una entrevista con la cadena francesa BFM TV, Zapata aseguró que su nuevo invento estará listo a finales de 2019.San Vicente de la Sonsierra es el único lugar en el que perdura hasta nuestros días.En ellas ocupó todos los soportes técnicos (Si esa palabra, que un miembro, de la familia haya formado y no exista, no vale.Había motores de gasolina refrigerados por aire y por agua, motores de queroseno y motores de gas.Asimismo, también se identificaron errores estratégicos en el último tramo de la contienda electoral.", "out": "0", "pred": "0"} {"in": "La ragazza fu fatta sedere su un sellino legato al palo e le fu messo un paletto appuntito sulla bocca, per dare l'impressione che il legno le avesse trapassato il corpo.Per questo motivo nei concerti anteriori al 1977 la canzone veniva divisa in due parti che venivano eseguite separatamente all'interno di un medley; celebre quello del 1976 all'Sam decide di rimanere per aiutarlo e Michael non puoi voltare le spalle al suo amico.La gente festeggiò la propria salvezza, e Atrus ripartì soddisfatto.Insieme a ossido di metallo che funge da sostegno, essi possono pertanto essere incorporati nel prodotto CNT.All'aumentare di uno corrisponde una diminuzione dell'altro.Superato l'atrio di Australasia, l'edificio si ospite habitat più piccoli, specifici per ciascuna specie.", "out": "0", "pred": "0"} {"in": "Bhí sé 55 bliana d'aois.", "out": "0", "pred": "0"} {"in": "public void adjustPadding(File file, int paddingSize, long audioStart) throws FileNotFoundException, IOException {logger.finer(\"Need to move audio file to accomodate tag\");FileChannel fcIn = null;FileChannel fcOut;ByteBuffer paddingBuffer = ByteBuffer.wrap(new byte[paddingSize]);File paddedFile;try {paddedFile = File.createTempFile(Utils.getMinBaseFilenameAllowedForTempFile(file), \".new\", file.getParentFile());logger.finest(\"Created temp file:\" + paddedFile.getName() + \" for \" + file.getName());} catch (IOException ioe) {logger.log(Level.SEVERE, ioe.getMessage(), ioe);if (ioe.getMessage().equals(FileSystemMessage.ACCESS_IS_DENIED.getMsg())) {logger.severe(ErrorMessage.GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));throw new UnableToCreateFileException(ErrorMessage.GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));} else {logger.severe(ErrorMessage.GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));throw new UnableToCreateFileException(ErrorMessage.GENERAL_WRITE_FAILED_TO_CREATE_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));}}try {fcOut = new FileOutputStream(paddedFile).getChannel();} catch (FileNotFoundException ioe) {logger.log(Level.SEVERE, ioe.getMessage(), ioe);logger.severe(ErrorMessage.GENERAL_WRITE_FAILED_TO_MODIFY_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));throw new UnableToModifyFileException(ErrorMessage.GENERAL_WRITE_FAILED_TO_MODIFY_TEMPORARY_FILE_IN_FOLDER.getMsg(file.getName(), file.getParentFile().getPath()));}try {fcIn = new FileInputStream(file).getChannel();long written = fcOut.write(paddingBuffer);logger.finer(\"Copying:\" + (file.length() - audioStart) + \"bytes\");long audiolength = file.length() - audioStart;if (audiolength <= MAXIMUM_WRITABLE_CHUNK_SIZE) {long written2 = fcIn.transferTo(audioStart, audiolength, fcOut);logger.finer(\"Written padding:\" + written + \" Data:\" + written2);if (written2 != audiolength) {throw new RuntimeException(ErrorMessage.MP3_UNABLE_TO_ADJUST_PADDING.getMsg(audiolength, written2));}} else {long noOfChunks = audiolength / MAXIMUM_WRITABLE_CHUNK_SIZE;long lastChunkSize = audiolength % MAXIMUM_WRITABLE_CHUNK_SIZE;long written2 = 0;for (int i = 0; i < noOfChunks; i++) {written2 += fcIn.transferTo(audioStart + (i * MAXIMUM_WRITABLE_CHUNK_SIZE), MAXIMUM_WRITABLE_CHUNK_SIZE, fcOut);}written2 += fcIn.transferTo(audioStart + (noOfChunks * MAXIMUM_WRITABLE_CHUNK_SIZE), lastChunkSize, fcOut);logger.finer(\"Written padding:\" + written + \" Data:\" + written2);if (written2 != audiolength) {throw new RuntimeException(ErrorMessage.MP3_UNABLE_TO_ADJUST_PADDING.getMsg(audiolength, written2));}}long lastModified = file.lastModified();if (fcIn != null) {if (fcIn.isOpen()) {fcIn.close();}}if (fcOut != null) {if (fcOut.isOpen()) {fcOut.close();}}replaceFile(file, paddedFile);paddedFile.setLastModified(lastModified);} finally {try {if (fcIn != null) {if (fcIn.isOpen()) {fcIn.close();}}if (fcOut != null) {if (fcOut.isOpen()) {fcOut.close();}}} catch (Exception e) {logger.log(Level.WARNING, \"Problem closing channels and locks:\" + e.getMessage(), e);}}}private HttpURLConnection getConnection() throws IOException {HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();conn.setRequestMethod(method);conn.setDoOutput(true);conn.setDoInput(true);if (cookie != null) conn.setRequestProperty(\"Cookie\", cookie);conn.setRequestProperty(\"Connection\", \"Keep-Alive\");conn.setRequestProperty(\"Accept-Encoding\", \"gzip, deflate\");conn.setRequestProperty(\"User-Agent\", Constants.USER_AGENT());conn.connect();if (!parameters.equals(\"\")) {DataOutputStream out = new DataOutputStream(conn.getOutputStream());out.writeBytes(parameters);out.flush();out.close();}return conn;}private void onDhReply(final SshDhReply msg) throws GeneralSecurityException, IOException {if ((this.keyPair == null) || this.connection.isServer()) throw new SshException(\"%s: unexpected %s\", this.connection.uri, msg.getType());final BigInteger k;{final DHPublicKeySpec remoteKeySpec = new DHPublicKeySpec(new BigInteger(msg.f), P1, G);final KeyFactory dhKeyFact = KeyFactory.getInstance(\"DH\");final DHPublicKey remotePubKey = (DHPublicKey) dhKeyFact.generatePublic(remoteKeySpec);final KeyAgreement dhKex = KeyAgreement.getInstance(\"DH\");dhKex.init(this.keyPair.getPrivate());dhKex.doPhase(remotePubKey, true);k = new BigInteger(dhKex.generateSecret());}final MessageDigest md = createMessageDigest();final byte[] h;{updateByteArray(md, SshVersion.LOCAL.toString().getBytes());updateByteArray(md, this.connection.getRemoteSshVersion().toString().getBytes());updateByteArray(md, this.keyExchangeInitLocal.getPayload());updateByteArray(md, this.keyExchangeInitRemote.getPayload());updateByteArray(md, msg.hostKey);updateByteArray(md, ((DHPublicKey) this.keyPair.getPublic()).getY().toByteArray());updateByteArray(md, msg.f);updateBigInt(md, k);h = md.digest();}if (this.sessionId == null) this.sessionId = h;this.keyExchangeInitLocal = null;this.keyExchangeInitRemote = null;this.h = h;this.k = k;this.connection.send(new SshKeyExchangeNewKeys());}private void modifyProperty(String valueID, String value, Long userID) throws JspTagException {Property property = new Property(new Long(valueID), userID);String newValue = value;System.out.println(property.getName());if (property.getName().equals(\"Password\")) {try {MessageDigest crypt = MessageDigest.getInstance(\"MD5\");crypt.update(value.getBytes());byte digest[] = crypt.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < digest.length; i++) {hexString.append(hexDigit(digest[i]));}newValue = hexString.toString();crypt.reset();} catch (NoSuchAlgorithmException e) {System.err.println(\"jspShop: Could not get instance of MD5 algorithm. Please fix this!\" + e.getMessage());e.printStackTrace();throw new JspTagException(\"Error crypting password!: \" + e.getMessage());}}property.setValue(newValue);}public CServletContextWrapper(final FileSystem fs, final String contextName) {this.fs = fs;this.name = contextName;CContext.getInstance().init(this);try {URL url = this.getResource(\"/WEB-INF/classes/log4j.properties\");boolean ok = false;InputStream in = null;try {in = url.openStream();ok = true;} catch (Throwable e) {} finally {try {if (in != null) in.close();} catch (Exception ignore) {}}if (ok) {PropertyConfigurator.configure(url);}} catch (final Throwable e) {if (!hasPrintedLog4JWarning) {hasPrintedLog4JWarning = true;System.err.println(\"!!! WARNING: /WEB-INF/classes/log4j.properties missing.\");}}this.init();this.loadServletContextListener();this.log = LOGGERHelper.getLogger(this.getClass());CJNDIContextSetup.init(this);JDBCPooler.init(this);CResourceBundle.registerBundles(this);this.fireInitEvent();}static String getMD5Hash(String str) throws NoSuchAlgorithmException {MessageDigest md = MessageDigest.getInstance(\"MD5\");md.update(str.getBytes());byte[] b = md.digest();StringBuffer sb = new StringBuffer();for (int i = 0; i < b.length; i++) {int v = (int) b[i];v = v < 0 ? 0x100 + v : v;String cc = Integer.toHexString(v);if (cc.length() == 1) sb.append('0');sb.append(cc);}return sb.toString();}public FlashExObj get(String s, int page) {FlashExObj retVal = new FlashExObj();s = s.replaceAll(\"[^a-z0-9_]\", \"\");ArrayList list = new ArrayList();retVal.list = list;try {String result = null;URL url = new URL(\"http://www.flashcardexchange.com/flashcards/list/\" + URLEncoder.encode(s, \"UTF-8\") + \"?page=\" + page);URLConnection connection = url.openConnection();connection.setRequestProperty(\"User-Agent\", \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\");connection.setDoOutput(false);BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream(), \"UTF-8\"));String inputLine;int state = 2;StringBuilder sb = new StringBuilder();while ((inputLine = in.readLine()) != null) {if (state == 0) {int textPos = inputLine.indexOf(\"Number of Card\");if (textPos >= 0) {state = 1;}} else if (state == 1) {int s1 = inputLine.indexOf(\">\");int s2 = inputLine.indexOf(\"<\", 1);if (s1 >= 0 && s1 < s2) {String numOfCardStr = inputLine.substring(s1 + 1, s2);try {} catch (Exception e) {}state = 2;}} else if (state == 2) {int textPos = inputLine.indexOf(\"tbody class=\\\"shaded\\\"\");if (textPos >= 0) {state = 3;}} else if (state == 3) {int textPos = inputLine.indexOf(\"tbody\");if (textPos >= 0) {break;}sb.append(inputLine);sb.append(\" \");}}in.close();Pattern myPattern = Pattern.compile(\"(.*?)\");Matcher myMatcher = myPattern.matcher(sb);String str;int counter = 0;String buff[] = new String[4];while (myMatcher.find()) {int tt = counter % 4;buff[tt] = myMatcher.group(1);if (tt == 3) {String toAdd[] = new String[2];toAdd[0] = buff[1];toAdd[1] = buff[2];list.add(toAdd);}counter++;}} catch (Exception e) {e.printStackTrace();}return retVal;}protected void handleUrl(URL url) throws Exception {File file = new File(dir.getAbsolutePath() + \"/\" + new Date().getTime() + \".\" + this.ext);FileWriter writer = new FileWriter(file);BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String s;while ((s = in.readLine()) != null) {writer.write(s + \"\\n\");}in.close();writer.close();}public static void contentTrans(String contents, String urlString, String urlString2, String serverIp, int port) {try {URL url = new URL(urlString);url.openStream();} catch (Exception e) {e.printStackTrace();}try {Socket server = new Socket(InetAddress.getByName(serverIp), port);OutputStream outputStream = server.getOutputStream();BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(outputStream, \"UTF-8\"));bufferedWriter.write(contents);bufferedWriter.flush();bufferedWriter.close();server.close();} catch (Exception e) {e.printStackTrace();}try {URL url2 = new URL(urlString2);url2.openStream();} catch (Exception e) {e.printStackTrace();}}public static void fileTrans(String filePath, String urlString, String urlString2, String serverIp, int port) {try {URL url = new URL(urlString);url.openStream();} catch (Exception e) {e.printStackTrace();}File file = new File(filePath);try {FileInputStream fis = new FileInputStream(file);Socket server = new Socket(InetAddress.getByName(serverIp), port);OutputStream outputStream = server.getOutputStream();DataOutputStream dataOutputStream = new DataOutputStream(new BufferedOutputStream(outputStream));byte[] buffer = new byte[2048];int num = fis.read(buffer);while (num != -1) {dataOutputStream.write(buffer, 0, num);dataOutputStream.flush();num = fis.read(buffer);}fis.close();dataOutputStream.close();server.close();} catch (Exception e) {e.printStackTrace();}try {URL url2 = new URL(urlString2);url2.openStream();} catch (Exception e) {e.printStackTrace();}}", "out": "1", "pred": "1"} {"in": "def interleave_lists(list1,list2,list3):\n result = [el for pair in zip(list1, list2, list3) for el in pair]\n return result", "out": "1", "pred": "1"} {"in": "Kurz vor der endgültigen Zerstörung jedoch findet Emma in ihrer Wohnung in Boston ein von Henry selbstgezeichnetes Buch und erinnert sich wieder an alles, womit die Zerstörung aufgehalten wird.Das Bestimmungswort Mugin- ist ungedeutet; -eck deutet auf die Lage.Der Teich ist die Quelle des Houet-Flusses.Dem des Französischen unkundigen Grune wurde mit Robert Péguy ein französischer Dialogregisseur zur Seite gestellt.Auf Luftverschmutzung reagiert diese früher allgemein verbreitete Art empfindlich und wurde dadurch gebietsweise stark dezimiert.Nach Abschluss der vier Etappen wurde die Planung des weiteren Ausbaus der verbliebenen Teilstücke verschoben.Als im Jahr 1541 eine osmanische Flotte Candia bedrohte, wurden die Juden seitens der Griechen des Verrates bezichtigt und ein Mob bedrohte die Judengassen.", "out": "0", "pred": "0"} {"in": "public void sendRequest(String method) {try {url = new URL(urlStr);httpURLConnection = (HttpURLConnection) url.openConnection();httpURLConnection.setRequestMethod(method);httpURLConnection.setDoOutput(true);httpURLConnection.getOutputStream().flush();httpURLConnection.getOutputStream().close();System.out.println(httpURLConnection.getResponseMessage());} catch (Exception e) {e.printStackTrace();} finally {if (httpURLConnection != null) {httpURLConnection.disconnect();}}}public static void readConfigFromResource(String resname) throws Exception {URL url = ConfigXMLReader.class.getClassLoader().getResource(resname);if (url == null) throw new FileNotFoundException(\"Couldn't find the config resource:\" + resname);System.out.println(\"Reading config from resource: \" + url.toString());readConfig(url.openStream());}private InputStream open(String url) throws IOException {debug(url);if (!useCache) {return new URL(url).openStream();}File f = new File(System.getProperty(\"java.io.tmpdir\", \".\"), Digest.SHA1.encrypt(url) + \".xml\");debug(\"Cache : \" + f);if (f.exists()) {return new FileInputStream(f);}InputStream in = new URL(url).openStream();OutputStream out = new FileOutputStream(f);IOUtils.copyTo(in, out);out.flush();out.close();in.close();return new FileInputStream(f);}public static void copy(FileInputStream source, FileOutputStream target) throws IOException {FileChannel sourceChannel = source.getChannel();FileChannel targetChannel = target.getChannel();sourceChannel.transferTo(0, sourceChannel.size(), targetChannel);sourceChannel.close();targetChannel.close();}public final InputStream getStreamFromUrl(final URL url) {try {if (listener != null) {listener.openedStream(url);}return url.openStream();} catch (IOException e) {listener.exceptionThrown(e);return null;}}public static void copyFile(File fromFile, File toFile) throws OWFileCopyException {try {FileChannel src = new FileInputStream(fromFile).getChannel();FileChannel dest = new FileOutputStream(toFile).getChannel();dest.transferFrom(src, 0, src.size());src.close();dest.close();} catch (IOException e) {throw (new OWFileCopyException(\"An error occurred while copying a file\", e));}}private static void readData() {StringTokenizer sTok;topSet = new HashSet();sTok = new StringTokenizer(tops, \",\");while (sTok.hasMoreTokens()) topSet.add(sTok.nextToken());leftSet = new HashSet();sTok = new StringTokenizer(lefts, \",\");while (sTok.hasMoreTokens()) leftSet.add(sTok.nextToken());rightSet = new HashSet();sTok = new StringTokenizer(rights, \",\");while (sTok.hasMoreTokens()) rightSet.add(sTok.nextToken());farRightSet = new HashSet();sTok = new StringTokenizer(farrights, \",\");while (sTok.hasMoreTokens()) farRightSet.add(sTok.nextToken());vowelSet = new HashSet();sTok = new StringTokenizer(vowels, \",\");while (sTok.hasMoreTokens()) {String ntk;vowelSet.add(ntk = sTok.nextToken());if (maxEwtsVowelLength < ntk.length()) maxEwtsVowelLength = ntk.length();validInputSequences.put(ntk, anyOldObjectWillDo);}puncSet = new HashSet();sTok = new StringTokenizer(others, \",\");while (sTok.hasMoreTokens()) {String ntk;puncSet.add(ntk = sTok.nextToken());validInputSequences.put(ntk, anyOldObjectWillDo);}charSet = new HashSet();tibSet = new HashSet();sTok = new StringTokenizer(tibetanConsonants, \",\");while (sTok.hasMoreTokens()) {String ntk;charSet.add(ntk = sTok.nextToken());tibSet.add(ntk);validInputSequences.put(ntk, anyOldObjectWillDo);}sanskritStackSet = new HashSet();sTok = new StringTokenizer(otherConsonants, \",\");while (sTok.hasMoreTokens()) {String ntk;charSet.add(ntk = sTok.nextToken());sanskritStackSet.add(ntk);validInputSequences.put(ntk, anyOldObjectWillDo);}numberSet = new HashSet();sTok = new StringTokenizer(numbers, \",\");while (sTok.hasMoreTokens()) {String ntk;charSet.add(ntk = sTok.nextToken());numberSet.add(ntk);validInputSequences.put(ntk, anyOldObjectWillDo);}charSet.add(\"Y\");charSet.add(\"R\");charSet.add(\"W\");validInputSequences.put(\"Y\", anyOldObjectWillDo);validInputSequences.put(\"R\", anyOldObjectWillDo);validInputSequences.put(\"W\", anyOldObjectWillDo);sTok = null;top_vowels = new HashSet();top_vowels.add(i_VOWEL);top_vowels.add(e_VOWEL);top_vowels.add(o_VOWEL);top_vowels.add(ai_VOWEL);top_vowels.add(au_VOWEL);top_vowels.add(reverse_i_VOWEL);try {URL url = TibetanMachineWeb.class.getResource(fileName);if (url == null) {System.err.println(\"Cannot find \" + fileName + \"; aborting.\");System.exit(1);}InputStreamReader isr = new InputStreamReader(url.openStream());BufferedReader in = new BufferedReader(isr);System.out.println(\"Reading Tibetan Machine Web code table \" + fileName);String line;boolean hashOn = false;boolean isTibetan = false;boolean isSanskrit = false;boolean ignore = false;while ((line = in.readLine()) != null) {if (line.startsWith(\"\")) {isSanskrit = false;isTibetan = true;hashOn = false;ignore = false;do {line = in.readLine();} while (line.startsWith(\"//\") || line.equals(\"\"));} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = false;ignore = false;do {line = in.readLine();} while (line.startsWith(\"//\") || line.equals(\"\"));} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = false;ignore = false;do {line = in.readLine();} while (line.startsWith(\"//\") || line.equals(\"\"));} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = false;ignore = false;do {line = in.readLine();} while (line.startsWith(\"//\") || line.equals(\"\"));} else if (line.equalsIgnoreCase(\"\") || line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = true;ignore = false;} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = true;hashOn = true;ignore = false;} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = true;ignore = false;} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = true;isTibetan = false;hashOn = true;ignore = false;} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;isTibetan = false;hashOn = false;ignore = false;} else if (line.equalsIgnoreCase(\"\")) {isSanskrit = false;ignore = true;}} else if (line.startsWith(\"//\")) {;} else if (line.equals(\"\")) {;} else {StringTokenizer st = new StringTokenizer(line, DELIMITER, true);String wylie = null;DuffCode[] duffCodes;duffCodes = new DuffCode[11];int k = 0;StringBuffer escapedToken = new StringBuffer(\"\");ThdlDebug.verify(escapedToken.length() == 0);while (st.hasMoreTokens()) {String val = getEscapedToken(st, escapedToken);if (val.equals(DELIMITER) && escapedToken.length() == 0) {k++;} else if (!val.equals(\"\")) {if (escapedToken.length() != 0) {escapedToken = new StringBuffer(\"\");ThdlDebug.verify(escapedToken.length() == 0);}switch(k) {case 0:wylie = val;break;case 1:duffCodes[TM] = new DuffCode(val, false);break;case 2:if (!ignore) {duffCodes[REDUCED_C] = new DuffCode(val, true);}break;case 3:duffCodes[TMW] = new DuffCode(val, true);if (null != duffCodes[TM]) {TMtoTMW[duffCodes[TM].getFontNum() - 1][duffCodes[TM].getCharNum() - 32] = duffCodes[TMW];}if (null != TMWtoTM[duffCodes[TMW].getFontNum() - 1][duffCodes[TMW].getCharNum() - 32]) throw new Error(\"tibwn.ini is supposed to use the TibetanMachineWeb glyph as the unique key, but \" + val + \" appears two or more times.\");TMWtoTM[duffCodes[TMW].getFontNum() - 1][duffCodes[TMW].getCharNum() - 32] = duffCodes[TM];if (wylie.toLowerCase().startsWith(\"\\\\uf0\")) {int x = Integer.parseInt(wylie.substring(\"\\\\u\".length()), 16);ThdlDebug.verify((x >= 0xF000 && x <= 0xF0FF));NonUnicodeToTMW[x - ''] = new DuffCode[] { duffCodes[TMW] };}break;case 4:case 5:case 6:case 7:case 8:case 9:if (!ignore) {try {duffCodes[k - 1] = new DuffCode(val, true);} catch (Exception e) {System.err.println(\"Couldn't make a DuffCode out of \" + val + \"; line is \" + line + \"; k is \" + k);}}break;case 10:if (!val.equals(\"none\")) {StringBuffer unicodeBuffer = new StringBuffer();StringTokenizer uTok = new StringTokenizer(val, \",\");while (uTok.hasMoreTokens()) {String subval = uTok.nextToken();ThdlDebug.verify(subval.length() == 4 || subval.length() == 3);try {int x = Integer.parseInt(subval, 16);ThdlDebug.verify((x >= 0x0F00 && x <= 0x0FFF) || x == 0x5350 || x == 0x534D || x == 0x0020 || x == 0x00A0 || x == 0x2003);unicodeBuffer.append((char) x);} catch (NumberFormatException e) {ThdlDebug.verify(false);}}TMWtoUnicode[duffCodes[TMW].getFontNum() - 1][duffCodes[TMW].getCharNum() - 32] = unicodeBuffer.toString();char ch;if (unicodeBuffer.length() == 1 && UnicodeUtils.isInTibetanRange(ch = unicodeBuffer.charAt(0))) {if (null != UnicodeToTMW[ch - 'ༀ'][0] && 'ༀ' != ch && '༂' != ch && '༃' != ch && '་' != ch && '༎' != ch && 'ཀ' != ch && 'ག' != ch && 'ཉ' != ch && 'ཏ' != ch && 'ད' != ch && 'ན' != ch && 'ཞ' != ch && 'ར' != ch && 'ཤ' != ch && 'ཧ' != ch && 'ཪ' != ch && 'ཱ' != ch && 'ི' != ch && 'ཱི' != ch && 'ུ' != ch && 'ཱུ' != ch && 'ྲྀ' != ch && 'ཷ' != ch && 'ླྀ' != ch && 'ཹ' != ch && 'ེ' != ch && 'ོ' != ch && 'ཾ' != ch && 'ཱྀ' != ch) {throw new Error(\"tibwn.ini has more than one TMW fellow listed that has the Unicode \" + val + \", but it's not on the list of specially handled glyphs\");}UnicodeToTMW[ch - 'ༀ'][0] = duffCodes[TMW];}}break;case 11:if (!ignore) {duffCodes[HALF_C] = new DuffCode(val, true);}break;case 12:if (!ignore) {DuffCode binduCode = new DuffCode(val, true);binduMap.put(duffCodes[TMW], binduCode);}break;case 13:throw new Error(\"tibwn.ini has only 13 columns, you tried to use a 14th column.\");}} else {if (k == 10) {throw new Error(\"needed none or some unicode; line is \" + line);}}}if (k < 10) {throw new Error(\"needed none or some unicode; line is \" + line);}if (!ignore) {if (null == wylie) throw new Error(fileName + \" has a line ^\" + DELIMITER + \" which means that no Wylie is assigned. That isn't supported.\");if (hashOn) {tibHash.put(Manipulate.unescape(wylie), duffCodes);}if (isTibetan) {StringBuffer wylieWithoutDashes = new StringBuffer(wylie);for (int wl = 0; wl < wylieWithoutDashes.length(); wl++) {if (wylieWithoutDashes.charAt(wl) == '-') {wylieWithoutDashes.deleteCharAt(wl);--wl;}}tibSet.add(wylieWithoutDashes.toString());}if (isSanskrit) {sanskritStackSet.add(wylie);}if (null == duffCodes[TMW]) throw new Error(fileName + \" has a line with wylie \" + wylie + \" but no TMW; that's not allowed\");int font = duffCodes[TMW].getFontNum();int code = duffCodes[TMW].getCharNum() - 32;toHashKey[font][code] = Manipulate.unescape(wylie);}}}} catch (IOException e) {System.out.println(\"file Disappeared\");ThdlDebug.noteIffyCode();}}private void addMaintainerScripts(TarOutputStream tar, PackageInfo info) throws IOException, ScriptDataTooLargeException {for (final MaintainerScript script : info.getMaintainerScripts().values()) {if (script.getSize() > Integer.MAX_VALUE) {throw new ScriptDataTooLargeException(\"The script data is too large for the tar file. script=[\" + script.getType().getFilename() + \"].\");}final TarEntry entry = standardEntry(script.getType().getFilename(), UnixStandardPermissions.EXECUTABLE_FILE_MODE, (int) script.getSize());tar.putNextEntry(entry);IOUtils.copy(script.getStream(), tar);tar.closeEntry();}}public boolean config(URL url, boolean throwsException) throws IllegalArgumentException {try {final MetaRoot conf = UjoManagerXML.getInstance().parseXML(new BufferedInputStream(url.openStream()), MetaRoot.class, this);config(conf);return true;} catch (Exception e) {if (throwsException) {throw new IllegalArgumentException(\"Configuration file is not valid \", e);} else {return false;}}}private void getPage(final String path, final String dataToSend, final GetPageCallback callback) {runner.add(new Runnable() {@Overridepublic void run() {String url = \"http://\" + resources.getString(R.string.host) + path;HttpUriRequest req;if (dataToSend == null) {req = new HttpGet(url);} else {req = new HttpPost(url);try {((HttpPost) req).setEntity(new StringEntity(dataToSend));} catch (UnsupportedEncodingException e) {Logger.getLogger(JSBridge.class.getName()).log(Level.SEVERE, \"Unsupported encoding.\", e);}}req.addHeader(\"Cookie\", getAuthCookie(false));try {HttpResponse response = httpclient.execute(req);Logger.getLogger(JSBridge.class.getName()).log(Level.INFO, \"Response status is '\" + response.getStatusLine() + \"'.\");HttpEntity entity = response.getEntity();if (entity != null) {InputStream instream = entity.getContent();try {BufferedReader in = new BufferedReader(new InputStreamReader(instream));StringBuilder b = new StringBuilder();String line;boolean first = true;while ((line = in.readLine()) != null) {b.append(line);if (first) {first = false;} else {b.append(\"\\r\\n\");}}in.close();callback.success(b.toString());return;} catch (RuntimeException ex) {throw ex;} finally {instream.close();}}} catch (ClientProtocolException e) {Logger.getLogger(JSBridge.class.getName()).log(Level.SEVERE, \"HTTP protocol violated.\", e);} catch (IOException e) {Logger.getLogger(JSBridge.class.getName()).log(Level.WARNING, \"Could not load '\" + path + \"'.\", e);}Logger.getLogger(JSBridge.class.getName()).log(Level.INFO, \"Calling error from JSBridge.getPage because of previous errors.\");callback.error();}});}", "out": "1", "pred": "1"} {"in": "Die Kirche wuchs in verschiedenen Epochen und gilt aufgrund ihrer Stilvielfalt von Romanik bis Barock als „eine der reizvollsten Kirchen Dresdens“.Deutsche Verlags Anstalt, Stuttgart 1991, ISBN 3-421-06543-8.Auch Muller war geschockt, als er die Nachricht über seinen Wechsel erhielt und hatte bei den Interviews hierzu Tränen in den Augen.Um die Fahrer keiner unnötigen Gefahr auszusetzen, sah sich die NASCAR gezwungen insgesamt elf Gelbphasen über insgesamt 52 Runden auszurufen, denn nach zehn bis zwölf Runden hatten sich die Reifen bereits bis auf die Karkasse aufgelöst.Die Dorfschule wurde 1876 errichtet.Die Therme soll der Mittel- und Anziehungspunkt der Gesundheitsregion Hersbrucker Land sein.In der Nachkriegszeit des Ersten Weltkrieges gründete Martin Kallmann in den 1920er-Jahren in Mannheim zwei weitere Unternehmen, die Ferro-Chemie GmbH und die Süddeutsche Holzverwertung.", "out": "0", "pred": "0"} {"in": "Его аргументация выглядела так: «Следует иметь в виду, что на захваченной территории человеческая жизнь ценится намного дешевле.В состав блока вошли две политические партии «Понесённое поражение вынудило французское командование направить на Рейн дополнительные силы.В Иркутске действует 70 религиозных организаций.Родился в 1926 году в посёлке Елено.В селе развернулось строительство жилья, были построены корпуса ферм.Дети зовут Юкико играть, та бежит за потерянным мячом.РСФСР, существовавшая в 1927—1930 годах.Регулирующим клапаном изменяют количество воздуха, поступающего в камеру сгорания.Оборудование, находящееся в собственности обслуживающей организации, последняя вправе демонтировать при прекращении обслуживания.", "out": "0", "pred": "0"} {"in": "В субботу, 30 января 1993 года, в 18:24 по местному времени серый автомобиль с номерами AS-5901 был расположен между 15-й и 16-й улицами в квартале Веракрус района (Богота, Колумбия).При плодоношении цветоножки распрямляются, плоды направлены вверх.Они войдут во вражеские каре как в масло».Во время странствий герой обретает вечную жизнь, сверхъестественные способности или невероятные уровни силы.После окончания Гражданской войны в 1865 году город вместе с Флоридой вернулся в состав Соединённых Штатов.В том же интервью он крайне негативно высказался о современном кино, посетовав на то, что всё оно строится вокруг «Здесь проходил его основной досуг в выходные дни.Самец начинает обращать на себя внимание самки.По состоянию на 2014 год звания удостоены 71 человек.Поскольку вексель появился в Италии, большинство терминов, связанных с векселями (", "out": "0", "pred": "0"} {"in": "Cuid acu uisciúil.", "out": "0", "pred": "0"} {"in": "After defeating Naraku, Inuyasha sends Kagome back to her own time.Some of the products that Viglen have made are the Incepta II and the Genrie Pro.They were stuck to the western edge of North America, producing a series of deep basins and high mountain ranges.The band also made the track \"The Present\" for the compilation album.After that, Aretino records were made for a short time by two record companies named Hawthorne & Sheble Nauck, Kurt.A play was made about the event, and later several films and television shows.Ogonowski roused himself before dawn on September 11, moving quietly in the dark to avoid waking his wife, Peg, or their three daughters.", "out": "0", "pred": "0"} {"in": "; 生物医療用原子炉(bio-medical reactor)春季キャンプにて育成野手として唯一一軍キャンプへ抜擢された 。さらに、この実験的な作業はパフォーマンスが元に戻るメカニズムについて深く考慮していない。反フランコの西側民主主義国家の支持を獲得しようとする彼の政策は、アメリカを刺激しないように亡命政府から共産主義者を追放することとなった。同時に持ち合いによる議決権の相殺を防ぐため、朝日新聞社の保有するテレビ朝日株式を売却し、9月末までに保有比率を25%未満にすることが発表された この時点での株保有状況を括弧内の2007年3月時点のものと併記する。設定は象徴的である…冒頭のカリフォルニア(南)は穏やかで物質文明的な世界を表し、主な舞台(北)は文明から外れた世界を象徴して厳しい競争にさらされる世界であるsfn。、アコースティックパフォーマンストリオ「GENTLE3」を結成。往時を知る者達の間ではモノレールは労働の宮殿と並びトリノ国際博覧会の語り草となっている。以前発売されたエヴァンゲリオン量産機「武器バージョン」「翼バージョン」の2つの内容を統合して再発売したもの。この際、多数の資料・系譜が焼失したとされ、これが後述する奥州千葉氏の一族解明を難しくする遠因となったのである。", "out": "0", "pred": "0"} {"in": "Il est surtout connu comme chanteur wagnérien.Il est difficile de freiner un sanglier en plein élan.Le journal devient alors Pschitt Aventures – Joyeuse Lecture, les Pieds Nickelés.Le gaz est ensuite séché puis envoyé à une station de compression qui l'injecte dans un gazoduc.L’épisode se termine lorsque Bloom, sans doute ému en prenant soin du jeune homme, a une pensée pour son propre fils, mort en bas âge, et pense voir sa silhouette se détacher des ombres de la nuit.Précoce, il sort du lycée à 14 ans et tente d'intégrer l'Université de l'Illinois qui le refuse en raison de son jeune âge.Il s'agit d'un drame « religieux » dans lequel un pasteur écossais, qui après la mort de sa femme, remet en question le but de son ministère.", "out": "0", "pred": "0"} {"in": "def flatten_list(list1):\n result_list = []\n if not list1: return result_list\n stack = [list(list1)]\n while stack:\n c_num = stack.pop()\n next = c_num.pop()\n if c_num: stack.append(c_num)\n if isinstance(next, list):\n if next: stack.append(list(next))\n else: result_list.append(next)\n result_list.reverse()\n return result_list ", "out": "1", "pred": "1"} {"in": "Depuis le village de Mottier, depuis l'église et la mairie, un chemin forestier permet d'atteindre le site.Les variations de la forme et de la taille du cervelet sont considérables d'une espèce vertébrée à l'autre.M. Dupire demanda lui-même au R.P. provincial, Alfred Charron, c.s.c., d'inscrire son fils comme premier élève le 8 juillet 1929.Positions britanniques à la bataille de Tournai en 1794.Lavelanet-de-Comminges est une commune rurale, car elle fait partie des communes peu ou très peu denses, au sens de la grille communale de densité de l'Les aspects matériels, les questions de propriété, de l'éducation des enfants, tous les sujets dont débattent nécessairement les couples qui vivent ensemble, n'ont qu'une importance secondaire dans la relation entre amants du peuple Moso.La portée comporte aussi des barres verticales.", "out": "0", "pred": "0"} {"in": "En tant que scénariste et co-réalisatrice, elle emprunta pour l'occasion le prénom de Vanina.Puis, les deux préfets de Lausanne étaient Sylviane Klein, répondante pour la préfecture, et Serge Terribilini.Plusieurs civils turcs arrêtés par la foule sont soumis à d'horribles cruautés, commises aussi bien par des soldats que par des civils.L'introverti et peu loquace Schumann se révèle un critique musical brillant, alternant l'humour, le sarcasme, l'éloge.Libéré, il est à nouveau arrêté en octobre.La plante utilise la reproduction sexuée pour conquérir de nouveaux sites de colonisation.Les gens malhonnêtes sélectionnent les noms qu’ils peuvent utiliser, même s’ils ne sont que dix ou quinze, et ignorent les autres, même s’ils sont cent.", "out": "0", "pred": "0"} {"in": "Faoin ainm Mrs.", "out": "0", "pred": "0"} {"in": "Третий был приютом для матерей и детей всех возрастов, в нем могли жить семьи.Небольшая разница в количестве депутатских мест у ODS и ČSSD стала причиной того, что правительства Чехии были коалиционными.Среди арабов был известен как Коккус.В начале Второй японо-китайской войны Гото командовал Цусимской крепостью.В том сезоне «Пистонс», наконец, выиграли свой плей-офф, обыграв «Том получает из дома письмо, в котором говорится, что его отец при смерти и хочет проститься с младшим сыном на семейной ферме.Учил Марию Чендей делать голубцы из виноградных листьев.Этот альбом стал десятым в числе самых продаваемых альбомов 2002 года и третьим в следующем году.На неэкспонированную фотобумагу укладывается маска, сквозь которую печатается первый негатив.Был исполнителем ведущих ролей в спектаклях «Павлинка» Я.Купалы, «Остались дураки» М. Крапивницкого, «Модный шляхтич» К. Каганца, «Безвиная кровь» В. Голубка и так далее.", "out": "0", "pred": "0"} {"in": "Chennai is linked with roads from rest of the country.The symptoms are caused by the inflammation of the airways.There is four points in the symbol because four is a sacred number to the Zia.Their marriage was a stormy one with frequent long separations, but she bore him three sons and survived him.When this group returned to Tokyo, Sanada recommended that Guadalcanal be abandoned.What is very important when reading text is the ability to recognize words and word groups.It was called the Leeds South Eastern Motorway.", "out": "0", "pred": "0"} {"in": "def unique_product(list_data):\n temp = list(set(list_data))\n p = 1\n for i in temp:\n p *= i\n return p", "out": "1", "pred": "1"} {"in": "def upper_ctr(str):\n upper_ctr = 0\n for i in range(len(str)):\n if str[i] >= 'A' and str[i] <= 'Z': upper_ctr += 1\n return upper_ctr", "out": "1", "pred": "1"} {"in": "Derrick e Klein sono convinti che dietro quell'incidente si celi un piano diabolico per togliere di mezzo la dottoressa.Ha un colore giallo paglierino con riflessi dorati, una schiuma fine, compatta e aderente.ABC ed i punti medi A', B' e C' dei suoi lati.Infatti, si dimostrò subito uno dei Presidenti più attivi e schietti della storia politica americana.Comunica saltuariamente con Al, ad esempio quando si verifica un guasto.Alla Conferenza di Yalta del 1945 Franklin Roosevelt indossava un mantello con colletto Brooks Brothers.Grande cura è stata anche posta nella definizione delle varie armi da fuoco rappresentate nel manga, su cui Kakizaki ha ammesso di aver studiato a lungo.", "out": "0", "pred": "0"} {"in": "All'inizio della sua esistenza, ha eseguito i suoi concerti in abbonamento regolarmente al Mark Taper Forum, Occidental College (Thorne Hall), la First Congregational Church di Los Angeles, e l'Auditorium Beckman al Caltech.E ha uno spessore un po' più grande per proteggere la fotocamera e il flash.Sotto al muretto c'è un ragazzo, della sua età, che sta giocando con un lungo filo d'avena a cui ha fatto un cappio in cima, e con esso ha tentato di prendere l'orecchio a Cinci.Qui frequenta il liceo classico e successivamente si iscrive alla Facoltà di Lettere con indirizzo in storia dell'arte.Il film si conclude con l'esecuzione di Sir Thomas, \"fedele servitore del re, ma prima di Dio\".Gli archi delle nicchie differiscono da quelli dei piani inferiori; hanno una forma ogivale piuttosto che una forma semicircolare.Mercora consente agli appassionati di musica di esprimere la loro identità musicale agli amici e ai familiari attraverso una pagina di profilo personalizzabile.", "out": "0", "pred": "0"} {"in": "Das Musikvideo wurde im Dezember 2002 veröffentlicht.Sein Manager ist Daniel Todorovic.In beiden Bereichen gab es zeitweise ein A- und ein B-Team.Heunisch-Klone werden auch mit eigenem Namen benannt wie: Weißer Heunisch, Grobheunisch, Gelber Heunisch, Rotgestreifter Heunisch und Roter Heunisch.Je ein Councillor kommt aus den Bezirken Avoca, Bannagher und Murray, je zwei kommen aus Wandella und Yarran.U.a. wurde die gemeinsame Nutzung von Krankenhäusern und Schulen auf dem Festland geregelt.Laufbahn begann er in Rom als Konsistorialadvokat.", "out": "0", "pred": "0"} {"in": "[d['value'] for d in l if 'value' in d]np.array([[1, 2, 3], [4, 5, 6]]).tolist()ast.literal_eval('(1,2,3,4)')dataList.sort(key=lambda x: x[1])list(map(list, set(map(lambda i: tuple(i), testdata))))[list(i) for i in set(tuple(i) for i in testdata)]return user.groups.filter(name='Member').exists()return user.groups.filter(name__in=['group1', 'group2']).exists()logging.getLogger().setLevel(logging.DEBUG)\"\"\"\"\"\".join(str(i) for i in (34.2424, -64.2344, 76.3534, 45.2344))\"\"\"\"\"\".join([s[x:x + 2][::-1] for x in range(0, len(s), 2)])plt.savefig('graph.png', dpi=1000)my_list = [[x for x in sublist if x not in to_del] for sublist in my_list][item for item in a if 1 in item][item for item in a if item[0] == 1]", "out": "1", "pred": "1"} {"in": "Le timbre français est à 0,90 €, tarif de la lettre simple à destination du Canada.Elle est co-fondatrice, en 1902, de la Société romande des femmes peintres et sculpteurs.Sous le gouvernement d'Arnulf, la Bavière, le pays de son père, est devenue la deuxième région du centre de la Francie orientale, à côté de la Franconie rhénane.Le réseau Numéricable distribue aussi Direct 8 HD.Les fonctions de la Tawananna étaient surtout religieuses.Juillan est une commune urbaine, car elle fait partie des communes denses ou de densité intermédiaire, au sens de la grille communale de densité de l'D'autres troupes génoises dirigées par Cattaneo se positionnent sur la gauche de l'empereur.", "out": "0", "pred": "0"} {"in": "Il clan di Victoria si scontrerà con questa famiglia perché Edward (un componente della famiglia) aveva ucciso il fidanzato di Victoria.Gruppi di ebrei, rom e comunisti continuarono ad essere uccisi tra l'agosto e il novembre 1941 a più riprese, in località diverse.Nel territorio di Cellamare non vi sono tracce di insediamenti risalenti all'Si ritiene che \"Dumbarton\" derivi dal termine gaelico Dùn Breatainn (Forte dei britannici).I mercanti danesi, che vedevano la compagnia di Magnússon come una minaccia ai loro interessi, ripresero il controllo dei commerci islandesi ed instaurarono un monopolio.Sotto, custodita in una teca di cristallo, il famoso bastone con cui il taumaturgo fece sgorgare l'acqua.L'ASA raggiunse la finale, ma il suo avversario, il Ferroviário, si rifiutò di giocare contro l'ASA, e così, l'ASA è stato dichiarato campione dalla Federação Alagoana de Futebol.", "out": "0", "pred": "0"} {"in": "Por este motivo, fue llamada \"La Reina de los Gángsters\".El impuesto de Primera inscripción para los vehículos eléctricos no se aplica hasta el final de marzo de 2017.Es un disco con todo tipo de ritmos y estilos musicales, pasando por el ya típico ska, a la salsa y rap.El plásmido pXO1 contiene los genes lef, cya y pag, que codifican para la toxina fracción letal, la fracción edematosa y el factor protector.En sentido más concreto, sin embargo, el término CHULLPA denomina o se refiere a determinado tipo de tumbas sin limitarse con ello a un tipo determinado de construcción.La televisión española nació en España como un servicio de Radio Nacional, integrado en la Dirección General de Radiodifusión.También inicialmente hizo arreglos para publicar los Diarios del “Cuerpo de descubrimiento”, pero tuvo dificultades para completar esos escritos.", "out": "0", "pred": "0"} {"in": "The bottom image shows White's position after castling.To make space for more farms, large areas of forest were cut down, taking away its living space.In \"The Battle of the Labyrinth,\" he is the owner of Triple G Ranch with Orthrus guarding the ranch.One is used in Telex and early computing applications.It was not until the 1980s that it began to be used to as a byname for defective Asian English.She competed for the Dutch women's national water polo team in the 1986 World Aquatics Championships citation and 1983 FINA Women's Water Polo World Cup.The districts of Lebus and Oberbarnim were both created in 1816.", "out": "0", "pred": "0"} {"in": "Ba bhall d'iar-", "out": "0", "pred": "0"} {"in": "Ba é John Wallis (", "out": "0", "pred": "0"} {"in": "The Battle of Jonesborough lasted two days and ended on 1 September.With his vigorous disposition, he is deported to Earth in the form of a mortal, for disobeying his father Odin and breaking into Jotunheim, home to the enemy Frost Giants.It was the main power of most of continental Europe during the early 19th century.In 1982, Pete Willis was replaced by Phil Collen.A blinking text cursor, stopped in the middle of typing the word Wikipedia.The famous Oso y el Madroño (bear eating madroños) statue can also be found here.The trombone is the loudest instrument in the symphony orchestra.", "out": "0", "pred": "0"} {"in": "Las personas LGBTI en Maldivas se enfrentan a desafíos legales y sociales no experimentados por otros residentes.Hijo de Eladio, un brillante médico forense salmantino que dejó huella en los dombenitenses de la posguerra, y Marina Díaz, de Ibahernando.Clinic también apareció con Roky Erickson en el Festival de Meltdown de Jarvis Cocker 2007 y más tarde en el año recorrió con Arcade Fire.El evento televisado fue la inauguración del nuevo pabellón de laboratorios científicos y salas de clases de la Universidad.Jack Skellington es un personaje principal conocido como \"El Rey Calabaza\", \"El Rey de la Oscuridad\" o \"El Rey del Mal\" de Ciudad Halloween (Halloween Town), un mundo ficticio dedicado enteramente a la festividad de Halloween.Como en otros períodos, la instrumentación se adaptó a los requerimientos musicales del período.Una vez que los secuestradores entraron por la fuerza a la cabina, los pasajeros oyeron la voz de una mujer anunciar por el intercomunicador: «Les habla su nuevo capitán.", "out": "0", "pred": "0"} {"in": "В интервью он рассуждал, что если Thunder Force VI будет успешным, то скорее всего в серии выйдут и другие игры.Предметы расположены в кажущемся беспорядке, что придаёт картине жизненность.К примеру сцена: момент, когда персонаж по имени Дениз Эфенди рассматривает план дворца.Награждён орденом Красной Звезды, медалями «За победу над Германией в Великой Отечественной войне 1941–1945 гг.», «За оборону Кавказа», «За победу над Японией».В то время в восточной и северной частях был добавлен к зелёным насаждениям был добавлен рукотворный ручей, а участки с парковыми постройками были посвящены шести городам-побратимам Умео.В 2016 году они развелись.За этот сезон футболист забил 17 мячей.Представлен в 2013 году.Игра заканчивается выигрышем, когда все карты собраны в «дом».Строительство начали с нового здания церкви и келий, а после завершения работ над новым монастырским комплексом его основатель монах Гаврило Попович скончался.", "out": "0", "pred": "0"} {"in": "He was also the President of the United Malays National Organisation (UMNO), the largest political party in Malaysia.Bart collapses on the medical room floor.Any change to the data, either deliberate or accidental, will mean the hash code will also change.He resigned after a few days, as he did not meet the state requirement of being a registered voter.Swimmer Sara Sjöström has several gold, silver and bronze medals from the Olympic Games and holds several world records.The club also won the 2nd place 1999–00 and 2000–01 Asian Club Championship.When the sack is squeezed the air is pushed out.", "out": "0", "pred": "0"} {"in": "La gama MG de MG Motor se vende en India, Australia, Brunéi, China, Chile, Colombia, Brasil, Costa Rica, Tailandia, Sudáfrica y el Reino Unido; la disponibilidad de modelos depende del mercado.Esta separado y es padre de cuatro hijos.Tan solo 5 meses después del nombramiento, el 29 de mayo, Aleksander Ceferin propuso al dirigente español como vicepresidente de la institución, cargo que ostenta desde entonces.La cuarta opción de búsqueda consiste en realizar una búsqueda según un tema o tópico, dentro de esta opción hay dos maneras más concretas de realizar dicha búsqueda.Realizó una intensa labor como etnólogo y recopiló meticulosamente el arte, las tradiciones y la oratura fang durante su estancia en el continente africano.El control de Parallax sobre Jordan explotó con la pena de Jordan por la destrucción de Coast City, y fue Parallax el responsable de la actividad asesina de Jordan durante la Hora Zero.Asumió su banca el 1 de julio del mismo año.", "out": "0", "pred": "0"} {"in": "This category has articles on people who died in the year 879.He organized several banquets in these caves with a lot of famous people.Pompey fled with a group, claiming that he had been betrayed.The Steinitz Papers: letters and documents of the first world chess champion.Unusual even among early birds and feathered dinosaurs, Microraptor is one of the few known bird precursors to sport long flight feathers on its feet as well as its forearms and hands.In 1929 Kodak created motion picture film for adding sound to motion pictures.A mine surveyor is the person who finds out the position of underground mines, for example gold mines or coal mines.", "out": "0", "pred": "0"} {"in": "À partir de février 2021, dans le contexte de l'Elle sera par la suite motorisée par le DT-466 B (6 cylindres turbocompressé, 190 ch DIN) du 5288.Sous les régimes totalitaires, les arts sont enrôlés par l’État et mis au service de la propagande.La même année, une route pour chariots est disponible.Theodore Long supplie Laurinaitis d'annuler ce match.Le poème de Lionel lui plaît, ce qui lui attire la sympathie de Lionel.Le Chœur préférerait encore lui servir de couverture plutôt que d'être ami avec Cléon (400), déplore son triste déclin de poète vieillissant et alcoolique et cite certains de ses vieux chants (526-36).", "out": "0", "pred": "0"} {"in": "Bhí sé 70 bliain d'aois.", "out": "0", "pred": "0"} {"in": "for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\"); } } { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\"); }", "out": "1", "pred": "1"} {"in": "The head of nunciature is called a Nuncio.Jeunet and Caro's first full length movie was Delicatessen (She begins to suspect Mr. Monckton.The Film Encyclopedia: The Most Comprehensive Encyclopedia of World Cinema in a Single Volume.Shortly before his death, Komatsu wrote, \"I had thought I wouldn’t mind dying any day, but now I’m feeling like living a little bit longer and seeing how Japan will go on hereafter.\"In 65 BC, their kingdom was attacked by Rome and the dynasty was forced to sign a peace treaty.It ended with the takeover of the Tsar's old Winter Palace on the morning of October 26, when the Provisional Government was arrested.", "out": "0", "pred": "0"} {"in": "Ces sections pourront être considérées pour une implémentation matérielle.Les nervures des voûtes retombent sur des faisceaux de trois colonnettes au nord et au sud, et sur une seule colonnette dans les angles de part et d'autre du chevet.La puissance était de fait légèrement supérieure à celle déterminée avec la norme DIN.Les animalcules sont désormais dans une matrice féminine.Le concept est de Jim Steinman et de Meat Loaf.Le coût et le bénéfice de ces projets seraient divisés également entre eux.Les zones moins fréquemment récoltées ou visitées étant situées plus loin.", "out": "0", "pred": "0"} {"in": "Карьера и жизнь Невского были разрушены.После этого в 10 часов 17 минут он взорвал бомбу и уничтожил часть склада, в котором содержалось 170 тонн взрывчатых веществ.» Лео Делиба, хореография Мариуса Петипа в новой редакции Энрико Чекетти и Льва Иванова.Было выполнено шесть одиночных пусков ракет, двухракетный и четырёхракетный залпы.Организовывал катехизацию под видом дружеских встреч в квартирах и «пикников» за городом, куда выезжали взрослые и дети.Вручалась за военные заслуги.За хорошие выступления его вызвали в сборную сингапурской лиги на кубок Малайзии.», разгромив в финале бишкекскую «Граф называется t-транзитивным, если группа автоморфизмов действует транзитивно на t-дуги, но не на (t+1)-дуги.Частичные разрывы более опасны, в месте разрыва часто образуется гематома, иногда требуется хирургическое вмешательство.", "out": "0", "pred": "0"} {"in": "def concatenate_tuple(test_tup):\n delim = \"-\"\n res = ''.join([str(ele) + delim for ele in test_tup])\n res = res[ : len(res) - len(delim)]\n return (str(res)) ", "out": "1", "pred": "1"} {"in": "La superstructure, faite de bois, s'embrase aussitôt.Il jugera les petits avec justice ; avec droiture, il se prononcera en faveur des humbles du pays.La forte demande des États-Unis pour des produits et des matériaux de base pendant la guerre a faussa encore le commerce.À la fin de leur mission, ils éjectaient leur cœur sur une orbite de plusieurs siècles de durée de vie.Elle rappelle le sang et les appels à la victoire.Le réseau hydrographique de l'Indre est l'ensemble des éléments naturels (Il aurait, de beaucoup, survécu à l'âge prédit alors par la médecine pour cette maladie.", "out": "0", "pred": "0"} {"in": "Достаточно быстро бегающая и агрессивная многоножка, хищник, способная атаковать.К ночи 5-я кд проходила севернее г. Тарнополя к реке Серет.После инцидента с песней трубадур с опаской относится к рыцарю, однако тот настроен дружелюбно и даже дарит парню «на свадебные расходы» кошелёк с золотыми монетами.После окончания войны, когда многие греческие коллеги Валлианосов затруднялись найти грузоотправителей из «Великих держав», компания «Братья Валлианос» вмешалась и предложила им финансирование и транспортировку на собственных судах.Джон Генри Айронс осматривает тело в лаборатории STAR и отмечает, что труп был изменен после смерти, чтобы сделать его похожим на Лекса Лютора.С.44, 83. (обе 1922), «Невский ночью.ХІХ—ХХ ст.») победил на конкурсе «Трансформація гуманітарної освіти в Україні».С одной стороны, данные ведийского санскрита, древнегреческого и балтославянских языков указывают на то, что ударение было тоническим.После выхода альбома Хорхе отправился в турне по городам Испании, США и Латинской Америки.Запуск линии производства трех видов металлического Штакетника LTE® – материала для возведения заборов.", "out": "0", "pred": "0"} {"in": "Humans : Increased stealth detection, increased spirit, bonus reputation gain, good use of swords and maces, escape ability from trapping effects (Every Man for Himself).In 1211 Złotoryja received the city law.The water that drains through the tubes is thought to go to nearby Clear Lake.East of the plain and the Shephalah is a mountainous ridge, the \"hill country of Judah\" in the south, the \"hill country of Ephraim\" north of that, then Galilee and the Lebanon mountains.The clown fish can swim among the tentacles without being stung.Abu Hadriyah Highway, serves as the airport's eastern border while Dammam-Riyadh Highway serves as a southern border.A huge number of plants got their first formal publication here.", "out": "0", "pred": "0"} {"in": "tuple(zip(*t))df.groupby(np.arange(len(df.columns)) // 3, axis=1).mean()\"\"\"\"\"\".join(chr(i) for i in L)sum(x == chosen_value for x in list(d.values()))sum(1 for x in list(d.values()) if some_condition(x))struct.unpack('f', struct.pack('f', 0.00582811585976))timestamp = (dt - datetime(1970, 1, 1)).total_seconds()df.sort('m')a = sorted(a, key=lambda x: x.modified, reverse=True)print(bool(a))df = df.rename(index={last: 'a'})km.fit(x.reshape(-1, 1))sorted(words, key=lambda x: 'a' + x if x.startswith('s') else 'b' + x)webbrowser.open('http://somesite.com/adminpanel/index.php')dict((k, v) for k, v in parent_dict.items() if 2 < k < 4)", "out": "1", "pred": "1"} {"in": "Ceantair agus bhuirgí.", "out": "0", "pred": "0"} {"in": "import math\ndef area_tetrahedron(side):\n area = math.sqrt(3)*(side*side)\n return area", "out": "1", "pred": "1"} {"in": "Aronson le confirmó a Rosen que la gran mayoría de los elementos en la bóveda en el momento del incendio eran grabaciones maestras originales y de fuente primaria.Sin embargo es popular entre los fanes del grupo.Si la disminución en la capacidad olfativa se debe a un problema de alergia, se puede recetar unos antihistamínicos que permitirán combatir contra el trastorno y de este modo conseguir la recuperación.Gracias a ellos podremos manipular el fuego, bucear, crecer hasta una altura de 20 metros o volar a la velocidad del sonido, siempre dependiendo de la forma que hayamos adaptado.La primera hija del matrimonio, de nombre María, fue bautizada el 14 de agosto de 1644 en la iglesia de San Nicolás de Granada.Aun así, tuvo tiempo de asociarse con otros empresarios locales para abrir la oficina rediotelegráfica de Villa la Angostura el 15 de mayo de 1932, fecha en que se considera fundada la actual ciudad.En cambio, Emma aceptó este matrimonio, a pesar de todo, muy brillante para la princesa de un pequeño estado alemán.", "out": "0", "pred": "0"} {"in": "@Override@Transactionalpublic FileData store(FileData data, InputStream stream) {try {FileData file = save(data);file.setPath(file.getGroup() + File.separator + file.getId());file = save(file);File folder = new File(PATH, file.getGroup());if (!folder.exists()) folder.mkdirs();File filename = new File(folder, file.getId() + \"\");IOUtils.copyLarge(stream, new FileOutputStream(filename));return file;} catch (IOException e) {throw new ServiceException(\"storage\", e);}}@PostConstructpublic void init() {logger.info(\"+++++ TRACAuditChecklistWizardMB: init() start ++++++++\");try {tracSectionAll = new ArrayList();List tracSectionA = new ArrayList();List tracSectionB = new ArrayList();List tracSectionC = new ArrayList();URL url = TRACAuditChecklistManagedBean.class.getResource(tracCriteriaPropertiesFileName);tracCriteriaCheckList = new LinkedProperties();tracCriteriaCheckList.load(url.openStream());Set tmpKeys = tracCriteriaCheckList.stringPropertyNames();List sortWrkList = new ArrayList();sortWrkList.addAll(tmpKeys);sortList(sortWrkList);for (String key : sortWrkList) {String aspectCode = key.substring(aspectCodeOffsetValue);logger.info(\"aspectCode=\" + aspectCode);if (aspectCode.startsWith(\"A\")) {if (aspectCode.equals(\"A\")) {sectionAcaption = tracCriteriaCheckList.getProperty(key);} else {if (aspectCode.length() == 4) {tracSectionAll.add(new TRACCriteriaCheckListItem(aspectCode, tracCriteriaCheckList.getProperty(key), \"\", \"\", \"\"));}}} else if (aspectCode.startsWith(\"B\")) {if (aspectCode.equals(\"B\")) {sectionBcaption = tracCriteriaCheckList.getProperty(key);} else {if (aspectCode.length() == 4) {tracSectionAll.add(new TRACCriteriaCheckListItem(aspectCode, tracCriteriaCheckList.getProperty(key), \"\", \"\", \"\"));}}} else if (aspectCode.startsWith(\"C\")) {if (aspectCode.equals(\"C\")) {sectionCcaption = tracCriteriaCheckList.getProperty(key);} else {if (aspectCode.length() == 4) {tracSectionAll.add(new TRACCriteriaCheckListItem(aspectCode, tracCriteriaCheckList.getProperty(key), \"\", \"\", \"\"));}}} else {logger.warning(\"offset value is wrong: 16th character must be A or B or C\");}}} catch (FileNotFoundException ex) {logger.log(Level.WARNING, \"specified properties file was not found\", ex);} catch (IOException ex) {logger.log(Level.WARNING, \"IO error occurred\", ex);} finally {}logger.info(\"+++++ TRACAuditChecklistWizardMB: init() end++++++++\");}protected Document fetchResource(String method, String parameter, Locale locale, final FloodLimit limit) throws IOException, SAXException {return getDocument(new CachedPage(getResourceLocation(method, parameter, locale)) {@Overrideprotected Reader openConnection(URL url) throws IOException {try {if (limit != null) {limit.acquirePermit();}return super.openConnection(url);} catch (InterruptedException e) {throw new IOException(e);}};}.get());}@Overrideprotected Reader openConnection(URL url) throws IOException {try {if (limit != null) {limit.acquirePermit();}return super.openConnection(url);} catch (InterruptedException e) {throw new IOException(e);}}public AssessmentItemType getAssessmentItemType(String filename) {if (filename.contains(\" \") && (System.getProperty(\"os.name\").contains(\"Windows\"))) {File source = new File(filename);String tempDir = System.getenv(\"TEMP\");File dest = new File(tempDir + \"/temp.xml\");MQMain.logger.info(\"Importing from \" + dest.getAbsolutePath());FileChannel in = null, out = null;try {in = new FileInputStream(source).getChannel();out = new FileOutputStream(dest).getChannel();long size = in.size();MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);out.write(buf);} catch (Exception e) {e.printStackTrace();} finally {if (in != null) try {in.close();} catch (IOException e) {e.printStackTrace();}if (out != null) try {out.close();} catch (IOException e) {e.printStackTrace();}filename = tempDir + \"/temp.xml\";}}AssessmentItemType assessmentItemType = null;JAXBElement jaxbe = null;try {XMLReader reader = XMLReaderFactory.createXMLReader();ChangeNamespace convertfromv2p0tov2p1 = new ChangeNamespace(reader, \"http://www.imsglobal.org/xsd/imsqti_v2p0\", \"http://www.imsglobal.org/xsd/imsqti_v2p1\");SAXSource source = null;try {FileInputStream fis = new FileInputStream(filename);InputStreamReader isr = null;try {isr = new InputStreamReader(fis, \"UTF-8\");} catch (UnsupportedEncodingException e) {}InputSource is = new InputSource(isr);source = new SAXSource(convertfromv2p0tov2p1, is);} catch (FileNotFoundException e) {MQMain.logger.error(\"SAX/getAssessmentItemType/file not found\");}jaxbe = (JAXBElement) MQModel.qtiCf.unmarshal(MQModel.imsqtiUnmarshaller, source);assessmentItemType = (AssessmentItemType) jaxbe.getValue();} catch (JAXBException e) {MQMain.logger.error(\"JAX/getAssessmentItemType\", e);} catch (SAXException e) {MQMain.logger.error(\"SAX/getAssessmentItemType\", e);}return assessmentItemType;}public final int wordFrequency(String word) {String replWebQuery = webQuery.replaceFirst(\"WORDREPLACE\", word);try {URL url = new URL(replWebQuery);String content = url.toString();BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String inputLine;while ((inputLine = in.readLine()) != null) {if (inputLine.matches(nrResultsPattern)) {int fr = matchedLine(inputLine);if (fr >= 0) {return fr;}}}} catch (MalformedURLException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}return 0;}public void store(Component component, String componentName, int currentPilot) {try {PreparedStatement psta = jdbc.prepareStatement(\"UPDATE component_prop \" + \"SET size_height = ?, size_width = ?, pos_x = ?, pos_y = ? \" + \"WHERE pilot_id = ? \" + \"AND component_name = ?\");psta.setInt(1, component.getHeight());psta.setInt(2, component.getWidth());Point point = component.getLocation();psta.setInt(3, point.x);psta.setInt(4, point.y);psta.setInt(5, currentPilot);psta.setString(6, componentName);int update = psta.executeUpdate();if (update == 0) {psta = jdbc.prepareStatement(\"INSERT INTO component_prop \" + \"(size_height, size_width, pos_x, pos_y, pilot_id, component_name) \" + \"VALUES (?,?,?,?,?,?)\");psta.setInt(1, component.getHeight());psta.setInt(2, component.getWidth());psta.setInt(3, point.x);psta.setInt(4, point.y);psta.setInt(5, currentPilot);psta.setString(6, componentName);psta.executeUpdate();}jdbc.commit();} catch (SQLException e) {jdbc.rollback();log.debug(e);}}public void reset(String componentName, int currentPilot) {try {PreparedStatement psta = jdbc.prepareStatement(\"DELETE FROM component_prop \" + \"WHERE pilot_id = ? \" + \"AND component_name = ?\");psta.setInt(1, currentPilot);psta.setString(2, componentName);psta.executeUpdate();jdbc.commit();} catch (SQLException e) {jdbc.rollback();log.debug(e);}}public void reset(int currentPilot) {try {PreparedStatement psta = jdbc.prepareStatement(\"DELETE FROM component_prop \" + \"WHERE pilot_id = ? \");psta.setInt(1, currentPilot);psta.executeUpdate();jdbc.commit();} catch (SQLException e) {jdbc.rollback();log.debug(e);}}private void Connect() throws NpsException {try {client = new FTPClient();client.connect(host.hostname, host.remoteport);int reply = client.getReplyCode();if (!FTPReply.isPositiveCompletion(reply)) {client.disconnect();client = null;nps.util.DefaultLog.error_noexception(\"FTP Server:\" + host.hostname + \"refused connection.\");return;}client.login(host.uname, host.upasswd);client.enterLocalPassiveMode();client.setFileType(FTPClient.BINARY_FILE_TYPE);client.changeWorkingDirectory(host.remotedir);} catch (Exception e) {nps.util.DefaultLog.error(e);}}", "out": "1", "pred": "1"} {"in": "音声や外貌、身体認証は複製が容易なため複製検知技術が重要となる。、ABIはOSによって異なる。その事故以来、集まることも無くなってしまったが、この夏休みに5年ぶりに島に集合した。マナテックジャパン合同会社は、米国企業マナテック・インコーポレーテッドの日本法人。有名なゴルファーの多くがこの全米アマで優勝している。大統領には6月1日に正式に就任した :引数 archiveurl と archivedate は両方を指定してください。B.O.W.も扱っており、中にはロス・イルミナドス教団、トライセル、ネオアンブレラ等ゲーム作品に登場した組織の物も含まれる。某国と武器の裏取引を行っていたが、取引の縺れから命を狙われ、自らの結婚式の最中に爆撃を受け、参列していた友人や家族、結婚したばかりの妻サラを失う 。この事件をきっかけに復讐鬼と化し、新型ウイルスを使ったバイオ・テロを目論む。倉木としては、20度目となる『名探偵コナン』のタイアップである(エンディングでは10度目)。」と公取委の指定を受けた「指定再販商品」の2種類である。そんな事態に対処するために設立されたのが「警視庁特別救急警察隊」特警ウインスペクター(略称WSP)である。", "out": "0", "pred": "0"} {"in": "fh1.seek(2)print(zip(my_list[0::2], my_list[1::2]))my_new_list = zip(my_list[0::2], my_list[1::2])sys.setdefaultencoding('utf8')datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')print(re.findall('[\\\\u0600-\\\\u06FF]+', my_string))df.groupby(df.index.map(lambda t: t.minute))dict['Apple']['American']df2.dropna(subset=['three', 'four', 'five'], how='all')a.insert(0, k)a = a[:n] + k + a[n:]np.flatnonzero(x).mean()df['just_date'] = df['dates'].dt.date[x for x in a if x not in b][''.join(x) for x in a]", "out": "1", "pred": "1"} {"in": "else if(count arr[-1]", "out": "1", "pred": "1"} {"in": "È presente anche un calendario dei concerti e un sistema di ricerca delle band.Da principio comunque il feeling tra di loro non si era sviluppato e Partridge dichiarò inizialmente che non era in grado di relazionarsi con Lord a livello musicale.Contenente in un unico cofanetto entrambi gli album \"gemelli\"L ' Algarve Cup 2011 è stata la diciottesima edizione dell'Questi elementi principali erano rappresentati su uno sfondo naturale di terra e mare.Ci furono 41 rilasci in questa serie.Le leggende popolari sulla sua figura rendono difficile ricostruire le sue vicende biografiche con esattezza.", "out": "0", "pred": "0"} {"in": "Leabhar Stáit na Baváire.", "out": "0", "pred": "0"} {"in": "Mit seinen öffentlichen Konzerten, unter anderem bei Wohltätigkeits-, Benefiz- oder Jubiläumsveranstaltungen, dient es der Öffentlichkeitsarbeit sowie zur Imagepflege der Polizei.Die Altbezeichnung der Lauben ist schon 1490 als „unter den Gewölben“ urkundlich bezeugt.Einsätze bei Oldtimerrennen sind geplant.Eine erste Kapelle wurde 1328 durch eine Pfarrkirche ersetzt.Die Verlegung der Zolllinie an den Rhein hatte sich nur anfänglich negativ ausgewirkt, da nun die gefestigten Handelsbeziehungen zum „Rechtsrheinischen“ erschwert waren.Seine Typlokalität „Lueshe Mine“ ist dabei der bisher einzige bekannte Fundort in der Demokratischen Republik Kongo.Die Nummern in Klammern hinter den Namen geben die Anzahl der gewonnenen Meisterschaften wieder.", "out": "0", "pred": "0"} {"in": "Oggi è Preside della Facoltà e Prof. Plamen Ditchev.In quello stesso periodo si moltiplicarono in Toscana gli intrighi dell'Nella Rabatana si possono ripercorrere le stradine dei ruderi del nucleo primordiale e visitare quel che resta delle antiche abitazioni, spesso di un solo vano a pianterreno.Il suo cellulare squilla ed egli entra nello spogliatoio per rispondere: è la sua fidanzata, Ashley, che lo invita a passare la notte a casa sua.Diverse leggende cristiane irlandesi presentano similitudini con quelle di santa Sunniva, parlando la maggior parte di donne coraggiose che sono perseguitati dai nemici pagani.Spiccata precocità sessuale abbinata ad una notevole prolificità.Il 22 marzo 1944 avvenne un nuovo sbarco, che tuttavia si rivelò nuovamente lontano dal punto prestabilito.", "out": "0", "pred": "0"} {"in": "def sort_numeric_strings(nums_str):\n result = [int(x) for x in nums_str]\n result.sort()\n return result", "out": "1", "pred": "1"} {"in": "def is_undulating(n): \n\tn = str(n)\n\tif (len(n) <= 2): \n\t\treturn False\n\tfor i in range(2, len(n)): \n\t\tif (n[i - 2] != n[i]): \n\t\t\treturn False\n\treturn True", "out": "1", "pred": "1"} {"in": "L’an VI (1797-1798), un premier partage met la fille cadette, émigrée, hors de la propriété.Il meurt en 1970 à l'âge de 72 ans.Le duché de Toscane (devenu Royaume d’Étrurie en 1801) est confié à Louis de Bourbon, réuni à la France (1807) et confié à Élisa Bonaparte (1809).La réponse internationale fut elle aussi immédiate et robuste, nombre de dirigeants condamnant les mesures sévères et nombre de manifestations (y compris quelques-unes soutenant les actions de la RPC) s’organisant dans de nombreuses villes importantes.Si Alice avait refusé, c'est qu'elle était déjà avec quelqu'un qu'elle préférait à Bob.Plusieurs catégories de récipients ont été identifiées.Il a été arrêté par la police suite à un vol de courrier postal qui ne lui avait rapporté que seize dollars et dix-huit cents.", "out": "0", "pred": "0"} {"in": "Por sexos contaba con 5512 hombres y 5585 mujeres.Devenish contiene uno de los sitios monásticos más lindos de Irlanda del norte.En 2004 se realizó el Plan Maestro del AIQ e inició operaciones.Las terapias artísticas son herramientas para el desarrollo personal.También los médicos se interesaron por el tema, realizándose algunas tesis doctorales sobre el tema en Bahía.Se consolidó su vida espiritual, y lo que estaba presente en él como una actitud de base se convirtió en una decisión consciente: el amor de Dios lo llevó a dedicar su vida sirviendo al prójimo, especialmente a los más necesitados.Cuanto más elevado es el número de cetano, menor es el retraso de la ignición y mejor es la calidad de combustión.", "out": "0", "pred": "0"} {"in": "Властимир, узнав о гибели своего сына Живко, военнослужащего 8-й черногорской бригады на Сремском фронте, решился найти его останки любой ценой и похоронить с воинскими почестями.Все обвинение строилось лишь со слов самого потерпевшего.Они создали Huelva Recreation Club (Клуб отдыха Уэльвы) в целях обеспечения шахтеров, находящихся под их уходом, подвижным отдыхом.Москва также обладает сведениями о связях части опальных олигархов с влиятельными фигурами в финансовом и политическом истеблишменте Еврейского государства.В августе 2002 года Damnagoras был вынужден оставить группу, из за проблем со здоровьем.С первого же сезона он стал основным вратарем команды и провел все матчи в чемпионате Японии до 1974 года.Борта вагонов имеют по четыре двустворчатые автоматические двери прислонно-сдвижного типа для входа и выхода пассажиров.После нескольких задержек стало известно, что альбом будет выпускать Interscope Records, а дату релиза перенесли на 2009.М.: Вестник Агентства печати Новости, 1978.Первые наблюдения из шестидесяти семи серий, включающих 350 об., дали положительный эффект, такой, какой был бы вызван реальным эфирным ветром, соответствующим относительному движению Земли и эфира со скоростью около 10 км/с.", "out": "0", "pred": "0"} {"in": "def add_nested_tuples(test_tup1, test_tup2):\n res = tuple(tuple(a + b for a, b in zip(tup1, tup2))\n for tup1, tup2 in zip(test_tup1, test_tup2))\n return (res) ", "out": "1", "pred": "1"} {"in": "Lo que ingenié fue el diseño de un altavoz basado en el extremo inferior de un órgano de tubos.El vehículo está finalizando la etapa de diseño, esperando los recursos necesarios para comenzar la etapa de construcción.Ernestina se les unió en calidad de enfermera, pero debido a ciertos problemas con algunos milicianos tuvo que dejarlo y entrar como auxiliar de enfermera en el hospital regentado por Dolores Azaña.Slenderman no dejará de perseguir al jugador incluso si las ocho páginas fueron recogidas.Durante el periodo de Ceaușescu, el régimen llevó a cabo una rehabilitación parcial de Antonescu y del papel rumano durante la guerra mundial, por su propio interés.En sus inicios, se abre camino en el mercado mediante la automatización de centros de llamadas.El capítulo sobre economía del bienestar \"intenta dar una revisión breve, pero bastante completa de todo el campo de la economía del bienestar\" (Samuelson, 1947, p. 252.).", "out": "0", "pred": "0"} {"in": "Chun cheng's book has not survived to the present day so little is known of what else was in it.Francisco Ferrer, as he was commonly known, became radicalised in his youth and joined the Republican movement.\"Central Florida is a mix of deep south and typical Floridian culture.Such foods made by baking are called \"baked goods\".Under his service, the Examiner circulation declined rapidly, which Bronstein blamed on the afternoon delivery of the paper.The Awash River is the main waterflow into the region.His experiments were paid for by the Austrian Academy of Sciences, but he was not allowed to be a member.", "out": "0", "pred": "0"} {"in": "C'est son père qui a choisi son prénom en l'honneur d'un coureur automobile, Rusty Malcolm.Elle est élue meilleur joueuse par l'UEFA en 2018 et en 2020.En 1990, une nouvelle version à empattement allongé de la New Yorker a été proposée portant le surnom supplémentaire Fifth Avenue de la plateforme M qui venait de partir.Elle et Jen Cloher créent leur propre label, \"Milk!Le tueur aux maquettes est le sujet principal de la saison.Il faut cependant attendre l'indépendance belge pour que les jésuites reviennent à Namur et ouvrent un nouveau collège.Les conservateurs tentent de le déstabiliser, dénonçant ses allégations selon lesquelles des officiers de l'", "out": "0", "pred": "0"} {"in": "Para las líneas verticales de paso de 40 nm, una separación nominal de punta a punta nominal de 18 nm resultó en una distancia real de punta a punta de 29 nm con CPO (corrección de proximidad óptica), E. van Setten et al., Proc.Celebridades Corea, que se estrenó el 22 de febrero de 2013.El desafío no se hacía con golpe de guante sino por la «mojada de oreja», que literalmente consistía en que el retador pasara la mano mojada con su propia saliva por la oreja del adversario.Los chicos pueden elegir entre dos categorías: “Mis huellas puntanas”, para explorar el significado del ‘ser puntano’ a través de la historia, la geografía, el medioambiente, el arte y la literatura de San Luis.Se encuentra en pastos y barrancos a una altitud de 700-1800 m. Es generalizada en las principales cadenas de montañas, pero es rara.La hermandad volvió a su sede el 27 de febrero de 2008.Considérese que el usuario se mueve hacia el objetivo en una secuencia de submovimientos.", "out": "0", "pred": "0"} {"in": "Ответственная за все аспекты исследований морфологических последствий для кожи в результате радиологического поражения из-за чернобыльской катастрофы.У́лица Вилонова — название улиц в различных населённых пунктах государств бывшего СССР.В 1995 отчим Тихаев Магомед привел Александра в СДЮШОР по вольной борьбе «Олимпиец» к тренеру Дмитриеву Андрею Юрьевичу, у которого Саша занимался вольной борьбой до 2002 года.Силы были неравны, и новгородцы начали молиться Господу о чуде.Писатель Богомолов на самом деле был писателем Богомоловым.Devotion ожидал коммерческий успех ещё до своего выхода в свет.После выхода второго сольного альбома «Невинность - доэгоическая, предсамосознательная стадия младенца: невиновный делает только то, что он или она должны делать.Жёвкость может быть увеличена добавлением мальтозы.Язык, которым написан рассказ, тоже является частью его реалистичного характер.", "out": "0", "pred": "0"} {"in": "def is_product_even(arr): \n for i in range(len(arr)): \n if (arr[i] & 1) == 0: \n return True\n return False", "out": "1", "pred": "1"} {"in": "Forman junto con grupos como Fios Eléctricos, Audio 13, Velório, Mundo A 100 Passos, Pestes & Parasitas, entre otros, de los principales precursores del rock angoleño.Es miembro de la Academia Mexicana de Ciencias.Al día siguiente, Ashley está buscando a su perro cuando encuentra el cuerpo de Keith con la palabra \"Evil\" escrita en su remera.También es mundialmente conocida su colección de manuscritos y libros de música, conocida como la Raccolta musicale estense.Con el paso del tiempo, la Märzenbier ha pasado a producirse todo el año y aún se mantiene como la cerveza bandera del Oktoberfest.Con el periodo de la “guillotina seca” o el “Directorio”, comienza a pensar en la juventud: “Dadme jóvenes apóstoles y transformaremos el mundo”.», Peter Buwalda, Bonita Avenue pero Anton nunca aceptó combatir.", "out": "0", "pred": "0"} {"in": "顎や歯の負担を減らすための装置。ブルマのもとにやってきたウイスを見るや彼の持つ異様な気配に気付き、ビルスの師匠であることを知ると彼に弟子入りをするために地球で一番美味しい食べ物を紹介しようとする。太陽系からの距離は約7,200光年である。違いはベンチの前(原作)か、控室(ドラマ版)かの場所ぐらいである。関東軍司令部には5月13日に第23軍から「昨12日朝来、外蒙軍(モンゴル軍)約700名がノモンハン西方地区にてハルハ河を渡河し不法越境して満州軍と交戦中、増援もあるものの如し」「防衛司令官は師団の一部と在ハイラル満州軍全軍(約300名)でこの敵を撃滅せんとす」「爾後の増援の考慮と自動車100台の急派、山本の光浦に対しての態度の悪さ、光浦の「山本を不機嫌にする行動」を検証しようとするが、暴露合戦になり喧嘩になった。M. Scott, The Record of Singing II (Duckworth, London 1979), 131, 172. 。、ニーシューロス島などの島々の軍勢30隻を率いて参加した 『イーリアス』2巻。ダンジョン内では日常茶飯事であり、上手く利用することが上手く生き残る技術でもあるため、モンスターの押し付けはお互い様であるため、冒険者の間では、そこに悪意が無い限り、一定の理解を払うという不文律があるsfn。この構造は両者の共通祖先の段階で獲得されたものかも知れない。", "out": "0", "pred": "0"} {"in": "Ursprünglich gehörte das Anwesen samt Herrenhaus der Familie Gregory.Seit 1993 wohnt er mit seiner Familie in Voerde.Danach bombardierten die Hauptformationen mit 233 Bombern die Zielgebiete aus einer Höhe 3.840–4.876 m. Drei weitere Bomber konnten ihre Ziele nicht ausmachen und luden die Bomben ungezielt über dem Stadtgebiet ab.In der Saison 2019/20 errang er den 16. Platz beim Ruka Triple und den zweiten Platz im Sprint in Dresden.Aus der Ehe gingen ein Sohn Christian Wilhelm (1698–1710) und eine Tochter Louise (* 1701; † vor 1749) hervor, die 1719 ihrem Gatten Harbord von Holle (1680–1723) das Gut Nossentin zutrug.Interessante Gebäude sind Marstrands kyrka aus dem 14. Jahrhundert, das Sozietätshaus aus dem Jahr 1886, das Warmbad aus dem Jahr 1858 und das Grand-Hotel.Mit einem Anhang über die Aussichten der Wärmekraftmaschinen.", "out": "0", "pred": "0"} {"in": "if((*(p+i)=='_')||(*(p+i)>='a'&&*(p+i)<='z')||(*(p+i)>='A'&&*(p+i)<='Z')||(*(p+i)>='0'&&*(p+i)<='9'));else{printf(\"0\\n\");break;}}if(*(p+i)=='\\0')printf(\"1\\n\");}else printf(\"0\\n\");}return 0;}void main(){int n,i,j,k,l;char str[1000][80],c;scanf(\"%d\\n\",&n);p=str;for (i=0;i='0'&&c<='9')||(c>='a'&&c<='z')||(c>='A'&&c<='Z')||(c=='_'))) k=1;}c=**(p+i); if (!((c=='_')||(c<='Z'&&c>='A')||(c<='z'&&c>='a'))) k=1;if (k==0) printf(\"1\\n\");else printf(\"0\\n\");}", "out": "1", "pred": "1"} {"in": "Comparisons of Stegodon and Elephantid abundances in the late Pleistocene of southern China.Someone who can only get sexually aroused after forming an emotional bond with someone is called a demisexual.From this came their name Generality Lands.His best known roles were as Sotnikov in the 1977 drama movie The Ascent, as Nikolai in the 1988 crime movie The Cold Summer of 1953 and as Ivan in the 1988 science fiction television movie Heart of a Dog.Elena is Christian's former dominant.; published in Strand Magazine in 1906 and collected in A Set of Six, 1908 UK/1915 US.Methanol provided a safer alternative to gasoline.", "out": "0", "pred": "0"} {"in": "Máirtín Ó Murchú.", "out": "0", "pred": "0"} {"in": "public void run_two() {System.out.println(\"Waiting to see if server has logged in\");if (rept != null) {rept.post(\"Checking if RegServer is online..\");}try {boolean waiting = true;while (waiting) {String con = \"\";String s;URL url = new URL(where);BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));System.out.print(\"Checking for xRegistry..\");if (rept != null) {rept.post(\"Searching for xRegistryServer..\");}while ((s = br.readLine()) != null) {con = con + s;}err_catch = con;try {br.close();} catch (IOException ioe) {System.out.print(\"..b_r wouldn't close..\");}servers = xls.split(\"SERVER\", con);if (servers.length < 1) {System.out.println(\"-->Server not available yet.\");if (rept != null) {rept.post(\"-->Server currently unavailable..\");}try {Thread.sleep(read_delay);} catch (Exception inter) {}if (read_delay < 20000) {read_delay = read_delay * 2;if (debug == true) {System.out.println(\"Set read_delay to:\" + read_delay);}} else {read_delay = read_delay + 3000;}if (read_delay > 90000) {waiting = false;}}if (servers.length > 0) {waiting = false;}}String[] regip = xls.split(\"IP\", servers[0]);String[] regport = xls.split(\"PORT\", servers[0]);int rp = 0;try {rp = Integer.parseInt(regport[0]);} catch (NumberFormatException nfe) {rp = 0;}System.out.println(\"Trying for socket on \" + regip[0] + \", port:\" + rp);if (rept != null) {rept.post(\"Connecting to RegServer\");}int f = 0;Socket client = new Socket(InetAddress.getByName(regip[0]), rp);System.out.println(\"Socket connected to xRegistry\");if (rept != null) {rept.post(\"Connected to RegServer\");}xcc = new xClientConn(client);xcc.set_IP(ipad);xcc.set_Port(port);xcc.setListen(this);new Thread(xcc).start();} catch (Exception e) {System.out.println(\"Failed client connection to registry, 'Java' errorcodes:\\n\" + e.toString() + \"\\n\\nMessage from server?:\\n\" + err_catch);if (rept != null) {rept.post(\"Failed at registry connect!\");}if (debug == true) {e.printStackTrace();}term();}}public String getShortToken(String md5Str) {MessageDigest md5 = null;try {md5 = MessageDigest.getInstance(\"MD5\");md5.update(md5Str.getBytes(JspRunConfig.charset));} catch (Exception e) {e.printStackTrace();}StringBuffer token = toHex(md5.digest());return token.substring(8, 24);}public String getLongToken(String md5Str) {MessageDigest md5 = null;try {md5 = MessageDigest.getInstance(\"MD5\");md5.update(md5Str.getBytes(JspRunConfig.charset));} catch (Exception e) {e.printStackTrace();}StringBuffer token = toHex(md5.digest());return token.toString();}public static boolean encodeFileToFile(String infile, String outfile) {boolean success = false;java.io.InputStream in = null;java.io.OutputStream out = null;try {in = new Base64.InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(infile)), Base64.ENCODE);out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(outfile));byte[] buffer = new byte[65536];int read = -1;while ((read = in.read(buffer)) >= 0) {out.write(buffer, 0, read);}success = true;} catch (java.io.IOException exc) {exc.printStackTrace();} finally {try {in.close();} catch (Exception exc) {}try {out.close();} catch (Exception exc) {}}return success;}public static boolean decodeFileToFile(String infile, String outfile) {boolean success = false;java.io.InputStream in = null;java.io.OutputStream out = null;try {in = new Base64.InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(infile)), Base64.DECODE);out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(outfile));byte[] buffer = new byte[65536];int read = -1;while ((read = in.read(buffer)) >= 0) {out.write(buffer, 0, read);}success = true;} catch (java.io.IOException exc) {exc.printStackTrace();} finally {try {in.close();} catch (Exception exc) {}try {out.close();} catch (Exception exc) {}}return success;}protected void yesAction() {try {String result = getSurveyURL() + \"&buildtime=\" + Version.getBuildTimeString();LOG.log(result);if (!maySubmitSurvey()) {return;}BufferedReader br = null;try {URL url = new URL(result);InputStream urls = url.openStream();InputStreamReader is = new InputStreamReader(urls);br = new BufferedReader(is);String line;StringBuilder sb = new StringBuilder();while ((line = br.readLine()) != null) {sb.append(line);sb.append(System.getProperty(\"line.separator\"));}LOG.log(sb.toString());} catch (IOException e) {LOG.log(\"Could not open URL using Java\", e);try {PlatformFactory.ONLY.openURL(new URL(result));DrJava.getConfig().setSetting(OptionConstants.LAST_DRJAVA_SURVEY_RESULT, result);} catch (IOException e2) {LOG.log(\"Could not open URL using web browser\", e2);}} finally {try {if (br != null) br.close();} catch (IOException e) {}}} finally {noAction();}}public static byte[] openHttpResult(String urlPath, boolean retry) throws IOException {AQUtility.debug(\"net\", urlPath);URL url = new URL(urlPath);HttpURLConnection connection = (HttpURLConnection) url.openConnection();connection.setUseCaches(false);connection.setInstanceFollowRedirects(true);connection.setConnectTimeout(NET_TIMEOUT);int code = connection.getResponseCode();if (code == 307 && retry) {String redirect = connection.getHeaderField(\"Location\");return openHttpResult(redirect, false);}if (code == -1 && retry) {return openHttpResult(urlPath, false);}AQUtility.debug(\"response\", code);if (code == -1 || code < 200 || code >= 300) {throw new IOException();}byte[] result = AQUtility.toBytes(connection.getInputStream());return result;}protected void copyFile(String from, String to, String workingDirectory) throws Exception {URL monitorCallShellScriptUrl = Thread.currentThread().getContextClassLoader().getResource(from);File f = new File(monitorCallShellScriptUrl.getFile());String directoryPath = f.getAbsolutePath();String fileName = from;InputStream in = null;if (directoryPath.indexOf(\".jar!\") > -1) {URL urlJar = new URL(directoryPath.substring(directoryPath.indexOf(\"file:\"), directoryPath.indexOf('!')));JarFile jf = new JarFile(urlJar.getFile());JarEntry je = jf.getJarEntry(from);fileName = je.getName();in = Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName);} else {in = new FileInputStream(f);}File outScriptFile = new File(to);FileOutputStream fos = new FileOutputStream(outScriptFile);int nextChar;while ((nextChar = in.read()) != -1) fos.write(nextChar);fos.flush();fos.close();try {LinuxCommandExecutor cmdExecutor = new LinuxCommandExecutor();cmdExecutor.setWorkingDirectory(workingDirectory);cmdExecutor.runCommand(\"chmod 777 \" + to);} catch (Exception e) {throw e;}}private void _PostParser(Document document, AnnotationManager annoMan, Document htmldoc, String baseurl) {xformer = annoMan.getTransformer();builder = annoMan.getBuilder();String annohash = \"\";if (document == null) return;NodeList ndlist = document.getElementsByTagNameNS(annoNS, \"body\");if (ndlist.getLength() != 1) {System.out.println(\"Sorry Annotation Body was found \" + ndlist.getLength() + \" times\");return;}Element bodynode = (Element) ndlist.item(0);Node htmlNode = bodynode.getElementsByTagName(\"html\").item(0);if (htmlNode == null) htmlNode = bodynode.getElementsByTagName(\"HTML\").item(0);Document newdoc = builder.newDocument();Element rootelem = newdoc.createElementNS(rdfNS, \"r:RDF\");rootelem.setAttribute(\"xmlns:r\", rdfNS);rootelem.setAttribute(\"xmlns:a\", annoNS);rootelem.setAttribute(\"xmlns:d\", dubNS);rootelem.setAttribute(\"xmlns:t\", threadNS);newdoc.appendChild(rootelem);Element tmpelem;NodeList tmpndlist;Element annoElem = newdoc.createElementNS(annoNS, \"a:Annotation\");rootelem.appendChild(annoElem);tmpelem = (Element) document.getElementsByTagNameNS(annoNS, \"context\").item(0);String context = tmpelem.getChildNodes().item(0).getNodeValue();annoElem.setAttributeNS(annoNS, \"a:context\", context);NodeList elemcontl = tmpelem.getElementsByTagNameNS(alNS, \"context-element\");Node ncontext_element = null;if (elemcontl.getLength() > 0) {Node old_context_element = elemcontl.item(0);ncontext_element = newdoc.importNode(old_context_element, true);}tmpndlist = document.getElementsByTagNameNS(dubNS, \"title\");annoElem.setAttributeNS(dubNS, \"d:title\", tmpndlist.getLength() > 0 ? tmpndlist.item(0).getChildNodes().item(0).getNodeValue() : \"Default\");tmpelem = (Element) document.getElementsByTagNameNS(dubNS, \"creator\").item(0);annoElem.setAttributeNS(dubNS, \"d:creator\", tmpelem.getChildNodes().item(0).getNodeValue());tmpelem = (Element) document.getElementsByTagNameNS(annoNS, \"created\").item(0);annoElem.setAttributeNS(annoNS, \"a:created\", tmpelem.getChildNodes().item(0).getNodeValue());tmpelem = (Element) document.getElementsByTagNameNS(dubNS, \"date\").item(0);annoElem.setAttributeNS(dubNS, \"d:date\", tmpelem.getChildNodes().item(0).getNodeValue());tmpndlist = document.getElementsByTagNameNS(dubNS, \"language\");String language = (tmpndlist.getLength() > 0 ? tmpndlist.item(0).getChildNodes().item(0).getNodeValue() : \"en\");annoElem.setAttributeNS(dubNS, \"d:language\", language);Node typen = newdoc.importNode(document.getElementsByTagNameNS(rdfNS, \"type\").item(0), true);annoElem.appendChild(typen);Element contextn = newdoc.createElementNS(annoNS, \"a:context\");contextn.setAttributeNS(rdfNS, \"r:resource\", context);annoElem.appendChild(contextn);Node annotatesn = newdoc.importNode(document.getElementsByTagNameNS(annoNS, \"annotates\").item(0), true);annoElem.appendChild(annotatesn);Element newbodynode = newdoc.createElementNS(annoNS, \"a:body\");annoElem.appendChild(newbodynode);if (ncontext_element != null) {contextn.appendChild(ncontext_element);} else {System.out.println(\"No context element found, we create one...\");try {XPointer xptr = new XPointer(htmldoc);NodeRange xprange = xptr.getRange(context, htmldoc);Element context_elem = newdoc.createElementNS(alNS, \"al:context-element\");context_elem.setAttributeNS(alNS, \"al:text\", xprange.getContentString());context_elem.appendChild(newdoc.createTextNode(annoMan.generateContextString(xprange)));contextn.appendChild(context_elem);} catch (XPointerRangeException e2) {e2.printStackTrace();}}WordFreq wf = new WordFreq(annoMan.extractTextFromNode(htmldoc));Element docident = newdoc.createElementNS(alNS, \"al:document-identifier\");annotatesn.appendChild(docident);docident.setAttributeNS(alNS, \"al:orig-url\", ((Element) annotatesn).getAttributeNS(rdfNS, \"resource\"));docident.setAttributeNS(alNS, \"al:version\", \"1\");Iterator it = null;it = wf.getSortedWordlist();Map.Entry ent;String word;int count;int i = 0;while (it.hasNext()) {ent = (Map.Entry) it.next();word = ((String) ent.getKey());count = ((Counter) ent.getValue()).count;if ((word.length() > 4) && (i < 10)) {Element wordelem = newdoc.createElementNS(alNS, \"al:word\");wordelem.setAttributeNS(alNS, \"al:freq\", Integer.toString(count));wordelem.appendChild(newdoc.createTextNode(word));docident.appendChild(wordelem);i++;}}try {StringWriter strw = new StringWriter();MessageDigest messagedigest = MessageDigest.getInstance(\"MD5\");xformer.transform(new DOMSource(newdoc), new StreamResult(strw));messagedigest.update(strw.toString().getBytes());byte[] md5bytes = messagedigest.digest();annohash = \"\";for (int b = 0; b < md5bytes.length; b++) {String s = Integer.toHexString(md5bytes[b] & 0xFF);annohash = annohash + ((s.length() == 1) ? \"0\" + s : s);}this.annohash = annohash;annoElem.setAttribute(\"xmlns:al\", alNS);annoElem.setAttributeNS(alNS, \"al:id\", getAnnohash());Location = (baseurl + \"/annotation/\" + getAnnohash());annoElem.setAttributeNS(rdfNS, \"r:about\", Location);newbodynode.setAttributeNS(rdfNS, \"r:resource\", baseurl + \"/annotation/body/\" + getAnnohash());} catch (NoSuchAlgorithmException e) {e.printStackTrace();} catch (TransformerException e) {e.printStackTrace();}annoMan.store(newdoc.getDocumentElement());annoMan.createAnnoResource(newdoc.getDocumentElement(), getAnnohash());if (htmlNode != null) annoMan.createAnnoBody(htmlNode, getAnnohash());Location = (this.baseurl + \"/annotation/\" + getAnnohash());annoElem.setAttributeNS(rdfNS, \"r:about\", Location);this.responseDoc = newdoc;}protected File EncodeReturn() throws EncodeFailedException, IOException {CryptoClient c = getNode().getCryptoClientByID(PiggybackCrypto);File tmpf = getNode().getTempFM().createNewFile(\"encodereturn\", \"download\");ChannelWriter cw = new ChannelWriter(tmpf);cw.putLongFile(DownloadData);cw.close();File encdata = c.RawEncode(tmpf, RawKey);File pigdata = PigData.EncodeData(encdata);File pigroute = ReturnPigRoute.EncodeData(ReturnRouteFile);FileOutputStream fos = new FileOutputStream(pigroute, true);FileChannel foc = fos.getChannel();FileInputStream fis = new FileInputStream(pigdata);FileChannel fic = fis.getChannel();fic.transferTo(0, fic.size(), foc);foc.close();fic.close();pigdata.delete();ReturnRouteFile.delete();encdata.delete();return pigroute;}", "out": "1", "pred": "1"} {"in": "Ces travaux sont surtout destinés à la survie à court terme.Ces centres doivent avoir « un flux annuel d’entrées au moins égal à deux cent cinquante étudiants » et ont le statut d'Mais elle-même a aussi ses propres aspirations à une vie indépendante : ( H.G. Wells, The Wheels of Chance, Ch. xxxiii.Ce cours d'eau a été dénommé \"rivière Nouvelle\" jusqu'en 1983.Le gouvernement a institué des réductions de salaire dans le service public et d’autres secteurs.Le tournoi d'échecs de Baden-Baden est un tournoi international d'En ayant contribué au développement du travail des femmes, elle va favoriser l'émancipation économique et sociale de ces dernières qui disposeront d'une liberté nouvelle et de moyens accrus.", "out": "0", "pred": "0"} {"in": "Taobh theas de sin, tá.", "out": "0", "pred": "0"} {"in": "{{tags | join(' ')}}help('modules')[[[x[0]] for x in listD[i]] for i in range(len(listD))]sorted(s, key=str.upper)sorted(sorted(s), key=str.upper)sorted(s, key=str.lower)pd.merge(df1, df2, on=['A', 'B', 'C', 'D'], how='inner')dict((v, k) for k, v in map.items())s.decode('unicode_escape')[int(i) for i in str_list]map(int, ['1', '2', '3'])list(map(int, ['1', '2', '3']))soup.find_all('a', href=re.compile('http://www\\\\.iwashere\\\\.com/'))soup.find_all('a', href=re.compile('^(?!(?:[a-zA-Z][a-zA-Z0-9+.-]*:|//))'))subprocess.call(['java', '-jar', 'Blender.jar'])", "out": "1", "pred": "1"} {"in": "It is to be noted that the Zou dialectal group is just a branch of the huge traditional group, namely, Chin-Kuki-Lushai ethnic group.He was previously a litigation partner with the law firm King & Spalding.For example, changes in the political structure meant there were many more members of the Great Council.If the two alleles are identical, the individual is called a homozygote and is said to be homozygous.Norblad went back to practicing law in Astoria, once again becoming closely involved in the community.These divisions often received the newest small-arms, but they lacked artillery and motorization.Her name in the English dub is Caitlyn Goodwyn.", "out": "0", "pred": "0"} {"in": "Essa è perlopiù affiancata da case popolari nonché dal grande parco pubblico dell'area che raduna anche nuove residenze come il quartiere \"Meraviglia\".Nel romanzo, Ernst Eames, un colto inglese residente a Nepente, dedica la sua vita a ricostruire la biografia del santo.Ha servito come tenente colonnello al comando del IV battaglione del Gloucestershire Regiment (1893-1908).Si decise in seguito di affidare l'incarico progettuale ad uno dei maggiori e famosi studi di architettura dell'epoca, padre Ruggero e figlio Arduino Berlam di Trieste.Tuanku Umar Johan Alamsyah Gelar Kejeruan Junjongan venne costretto a trovare rifugio con sua madre, Tuanku Panglima Sampali, a trovare rifugio presso il luogo detto Kampung Besar (Serdang).L'evidente fretta con la quale il progetto venne cancellato è stato fonte per molte discussioni ed astio da allora.Non giunsero mai ordini alla de Havilland e il mezzo non fu più sviluppato.", "out": "0", "pred": "0"} {"in": "int panduan(char a){int result=0;if((a>='a'&&a<='z')||(a>='A'&&a<='Z')||(a>='0'&&a<='9')||(a=='_')) result=1;return result;}int first(char b){int result=0;if((b>='a'&&b<='z')||(b>='A'&&b<='Z')||(b=='_'))result=1;return result;}int main(int argc, char* argv[]){int i,n,j,len,flag;int panduan(char a);char s[81];scanf(\"%d\\n\",&n);for(i=0;i='a') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); } } if(a[j]=='\\0') { printf(\"1\\n\"); } } else if(a[0]=='_') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else {", "out": "1", "pred": "1"} {"in": "Isabelle accepte, ravie de quitter son époux et son favori qui ne cessent de l'humilier.C'est le qu'est célébrée la séance inaugurale du Parlement d'Andalousie, à l'La découverte a été rapportée sur A Current Affair, au cours de laquelle des images du naufrage, à 170 mètres (560 pieds) sous l'eau, ont été montrées.Ils peuvent ainsi voyager (d'où le nom) entre beaucoup d'endroits très espacés.Il a été membre du Comité Permanent de l'Énergie et de l'Environnement de 2005 à 2011, et délégué à l'On la voyait avec les dames de la cour ; elle les invitait au travail.Réédité en CD en 2010 avec un CD Bonus de pièces rares et inédites réintitulé Entreat plus.", "out": "0", "pred": "0"} {"in": "def swap_List(newList): \n size = len(newList) \n temp = newList[0] \n newList[0] = newList[size - 1] \n newList[size - 1] = temp \n return newList ", "out": "1", "pred": "1"} {"in": "def is_octagonal(n): \n\treturn 3 * n * n - 2 * n ", "out": "1", "pred": "1"} {"in": "Считается, что этот меч является прочнейшим из всех, поэтому его невозможно ни сломать, ни погнуть, ни поцарапать.Каминский в 1856 году получил золотую медаль Императорской Академии Художеств в Санкт-Петербурге и был отправлен в пенсионерскую поездку в Италию.Широкую известность получил также нардек из камышинского арбуза.Как следствие этого, все административные границы округа проходят исключительно по воде.Аналоговое телевидение планируется к отключению 14 октября 2019.Последний подписал отречение неохотно через 20 минут, так что с формальной точки зрения он эти 20 минут царствовал как Людовик XIX.За период 25-29 августа потеряно 13 человек убитыми и 37 ранеными.Работы его учеников многие годы экспонировались на всех крупных выставках детского рисунка, всесоюзных и международных.В Канаде первый украинский католический журнал «Канадійський русин» основан усилиями оо.Сюжеты стали более разнообразны.", "out": "0", "pred": "0"} {"in": "現在のコンピューターにあっても、テキストだけで強調を表現したいとき、アンダースコアが用いられることがある。推理でゆみずの父親のゴルフクラブを盗んだ真犯人を言い当てる。そのため、主に半荘の終盤において、着順が変わらないままゲームが終了してしまうような場合は、あえてロン牌を見逃し和了を見送ることがある。、良太郎の懐に飛び込み良太郎の変身に巻き込まれ、そばにいたぶりぶりざえもん(伝説のイマジン)の憑依により「仮面ライダーしん王」に変身し、みさえに憑依した怪人イマジンと戦ったこともある(魔は彼女の強大な力を恐れ、排除しようと企むが、神の命を受けた4人の戦士が魔の前に立ちはだかった。妊娠を機に、自分のペースで働けるようにフリーランスの家政婦としての仕事を始める。ふるさと主義「水の都 OSAKA再発見」(2009年10月11日、ウェイにペナルティとしてファイトマネーの20%没収及び、減点1と10オンスグローブ着用のハンデが与えられての試合となり、卜部が左ストレートで2R1分15秒KO勝利を収め、K-1 WORLD GPライト級王座を獲得。、子供、老人、非識字者の人からもメッセージを集めることが奨励されている。)「加納附属小学校前」より徒歩約5分。", "out": "0", "pred": "0"} {"in": "The ghosts can't be seen by anyone in the house other than by the daughter Lydia, with whom they become friends.This type of lock is popular on safes and doors, but is almost never seen on padlocks.Bunyan spent the years 1660-1672 in gaol, and again he was in gaol for a short time in 1677.It is called the ring-necked snake because it has a stripe around its neck that looks like a ring.Iago also tells Othello that his wife, Desdemona, is cheating on him with Cassio.Some states allow transferring a barbering license from another state without additional formal training, but not all states allow this.He learns how to do things from the animals of the jungle.", "out": "0", "pred": "0"} {"in": "Con domande su Dillon che turbina, Olivia è confusa quando finalmente si presenta per aiutarla a superare la sua ultima crisi.Questo giornale ha indici autore, soggetto e indicizzazione di note.Formata da studenti universitari, professionisti e civili, fornisce il supporto per le forze armate regolari della Malesia ed è responsabile per la sicurezza degli impianti fondamentali in tempo di guerra.Sia Eugene Garfield che Thomson Reuters declinano ogni responsabilità nell'abuso dell'IF e richiamano l'attenzione sul fatto che per la valutazione di una buona ricerca occorre sempre una attenta peer review.La Voce di Mantova divenne quindi il quotidiano politico della Federazione Fascista Mantovana.Si può centrare anche la faccia dell'avversario, ottenendo di rallentarlo per un po'.La lente è solitamente racchiusa in una cornice (spesso metallica) dotata di manico.", "out": "0", "pred": "0"} {"in": ":木曜 19:00 - 19:30(1972年3月まで) 『いずれも捕獲レベルが4000を超えるため、決して近づいてはならないとされる。アンジー・ディキンソン(Angie Dickinson、本名:Angeline Brown、これらの特別スイートは全部で11室あり、「プレスティージ・スイート」として知られている。ラットを用いた実験において、シイタケやエリタデニンの摂取が血漿コレステロールを低下させる際に、リン脂質や中性脂肪に含まれる脂肪酸の組成にどう影響するかを調査した結果、エリタデニンの摂取によって、中性脂肪の脂肪酸組成は血漿ではオレイン酸が減少し、肝臓ではオレイン酸が増加した。、自由主義的な立場、社会主義的な立場など多様な思想の総称だが、社会主義的な立場では権力の集中に反対して地域コミュニティや労働組合主義などを目指す。映画『これが私の人生設計』公式サイト.だが、自分が置かれた状況に絶望せず、その中でできることを見つけ、自分の力で日々を楽しむ努力をしており、周囲から「かわいそう」として特別扱いされることを嫌う。この他、当局の深夜番組では、天気予報(お天気です。宇宙戦闘機と外惑星資源開発用作業ポッドを組み合わせたような機体であり、ホバークラフトシステムも有している。", "out": "0", "pred": "1"} {"in": "private void bokActionPerformed(java.awt.event.ActionEvent evt) {if (this.tfGeneralSubDivision.getText().trim().equals(\"\")) {this.showWarningMessage(\"Enter general sub division\");} else {String[] patlib = newgen.presentation.NewGenMain.getAppletInstance().getPatronLibraryIds();String xmlreq = newgen.presentation.administration.AdministrationXMLGenerator.getInstance().saveGeneralSubDivision(\"1\", this.tfGeneralSubDivision.getText(), patlib);System.out.println(xmlreq);try {java.net.URL url = new java.net.URL(ResourceBundle.getBundle(\"Administration\").getString(\"ServerURL\") + ResourceBundle.getBundle(\"Administration\").getString(\"ServletSubPath\") + \"SubDivisionServlet\");java.net.URLConnection urlconn = (java.net.URLConnection) url.openConnection();urlconn.setDoOutput(true);java.io.OutputStream dos = urlconn.getOutputStream();dos.write(xmlreq.getBytes());java.io.InputStream ios = urlconn.getInputStream();SAXBuilder saxb = new SAXBuilder();Document retdoc = saxb.build(ios);Element rootelement = retdoc.getRootElement();if (rootelement.getChild(\"Error\") == null) {this.showInformationMessage(ResourceBundle.getBundle(\"Administration\").getString(\"DataSavedInDatabase\"));} else {this.showErrorMessage(ResourceBundle.getBundle(\"Administration\").getString(\"ErrorPleaseContactTheVendor\"));}} catch (Exception e) {System.out.println(e);}}}private static boolean hasPackageInfo(URL url) {if (url == null) return false;BufferedReader br = null;try {br = new BufferedReader(new InputStreamReader(url.openStream()));String line;while ((line = br.readLine()) != null) {if (line.startsWith(\"Specification-Title: \") || line.startsWith(\"Specification-Version: \") || line.startsWith(\"Specification-Vendor: \") || line.startsWith(\"Implementation-Title: \") || line.startsWith(\"Implementation-Version: \") || line.startsWith(\"Implementation-Vendor: \")) return true;}} catch (IOException ioe) {} finally {if (br != null) try {br.close();} catch (IOException e) {}}return false;}@Test(dataProvider = Arquillian.ARQUILLIAN_DATA_PROVIDER)public void shouldGreetUser(@ArquillianResource URL baseURL) throws IOException {final String name = \"Earthlings\";final URL url = new URL(baseURL, \"Foo.action\");StringBuilder builder = new StringBuilder();BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));String line;while ((line = reader.readLine()) != null) {builder.append(line);}reader.close();LOGGER.info(\"Returned response: \" + builder.toString());Assert.assertEquals(builder.toString(), FooService.GREETING + name);}public ActionForward sendTrackback(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws RollerException {ActionForward forward = mapping.findForward(\"weblogEdit.page\");ActionErrors errors = new ActionErrors();WeblogEntryData entry = null;try {RollerRequest rreq = RollerRequest.getRollerRequest(request);if (rreq.isUserAuthorizedToEdit()) {WeblogEntryFormEx form = (WeblogEntryFormEx) actionForm;String entryid = form.getId();if (entryid == null) {entryid = request.getParameter(RollerRequest.WEBLOGENTRYID_KEY);}RollerContext rctx = RollerContext.getRollerContext(request);WeblogManager wmgr = rreq.getRoller().getWeblogManager();entry = wmgr.retrieveWeblogEntry(entryid);String title = entry.getTitle();PageHelper pageHelper = PageHelper.createPageHelper(request, response);pageHelper.setSkipFlag(true);String excerpt = pageHelper.renderPlugins(entry);excerpt = StringUtils.left(Utilities.removeHTML(excerpt), 255);String url = rctx.createEntryPermalink(entry, request, true);String blog_name = entry.getWebsite().getName();if (form.getTrackbackUrl() != null) {try {String data = URLEncoder.encode(\"title\", \"UTF-8\") + \"=\" + URLEncoder.encode(title, \"UTF-8\");data += (\"&\" + URLEncoder.encode(\"excerpt\", \"UTF-8\") + \"=\" + URLEncoder.encode(excerpt, \"UTF-8\"));data += (\"&\" + URLEncoder.encode(\"url\", \"UTF-8\") + \"=\" + URLEncoder.encode(url, \"UTF-8\"));data += (\"&\" + URLEncoder.encode(\"blog_name\", \"UTF-8\") + \"=\" + URLEncoder.encode(blog_name, \"UTF-8\"));URL tburl = new URL(form.getTrackbackUrl());URLConnection conn = tburl.openConnection();conn.setDoOutput(true);OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());wr.write(data);wr.flush();BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));String line;StringBuffer resultBuff = new StringBuffer();while ((line = rd.readLine()) != null) {resultBuff.append(Utilities.escapeHTML(line, true));resultBuff.append(\"
\");}ActionMessages resultMsg = new ActionMessages();resultMsg.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(\"weblogEdit.trackbackResults\", resultBuff));saveMessages(request, resultMsg);wr.close();rd.close();} catch (IOException e) {errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(\"error.trackback\", e));}} else {errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(\"error.noTrackbackUrlSpecified\"));}form.setTrackbackUrl(null);} else {forward = mapping.findForward(\"access-denied\");}} catch (Exception e) {mLogger.error(e);String msg = e.getMessage();if (msg == null) {msg = e.getClass().getName();}errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(\"error.general\", msg));}if (!errors.isEmpty()) {saveErrors(request, errors);}request.setAttribute(\"model\", new WeblogEntryPageModel(request, response, mapping, (WeblogEntryFormEx) actionForm, WeblogEntryPageModel.EDIT_MODE));return forward;}public void copyFile(File source, File destination, boolean lazy) {if (!source.exists()) {return;}if (lazy) {String oldContent = null;try {oldContent = read(source);} catch (Exception e) {return;}String newContent = null;try {newContent = read(destination);} catch (Exception e) {}if ((oldContent == null) || !oldContent.equals(newContent)) {copyFile(source, destination, false);}} else {if ((destination.getParentFile() != null) && (!destination.getParentFile().exists())) {destination.getParentFile().mkdirs();}try {FileChannel srcChannel = new FileInputStream(source).getChannel();FileChannel dstChannel = new FileOutputStream(destination).getChannel();dstChannel.transferFrom(srcChannel, 0, srcChannel.size());srcChannel.close();dstChannel.close();} catch (IOException ioe) {_log.error(ioe.getMessage());}}}public void createIndex(File indexDir) throws SearchLibException, IOException {if (!indexDir.mkdir()) throw new SearchLibException(\"directory creation failed (\" + indexDir + \")\");InputStream is = null;FileWriter target = null;for (String resource : resources) {String res = rootPath + '/' + resource;is = getClass().getResourceAsStream(res);if (is == null) is = getClass().getResourceAsStream(\"common\" + '/' + resource);if (is == null) throw new SearchLibException(\"Unable to find resource \" + res);try {File f = new File(indexDir, resource);if (f.getParentFile() != indexDir) f.getParentFile().mkdirs();target = new FileWriter(f);IOUtils.copy(is, target);} finally {if (target != null) target.close();if (is != null) is.close();}}}public File download(Show s) throws Exception {Collection exclude = Util.toCollection((List) this.exclude.clone(), Util.nonNullString(s.getExclude()).split(\",\"));URL url = new URL(\"http://v3.newzbin.com/search/\" + buildQuery(s));BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String line;while ((line = in.readLine()) != null) {if (!Util.containsNone(line, exclude)) continue;String id = line.split(\"\\\",\\\"\", 3)[1];File downloaded = download(s, id);if (downloaded != null) return downloaded;}return null;}private static MapEntry loadFpmConf() throws ConfigurationReadException {MapEntry ret = null;Scanner sc = new Scanner(CONF_PATHS).useDelimiter(SEP_P);String prev = \"\";while (sc.hasNext() && !hasLoaded) {Properties fpmConf = null;boolean relative = false;String path = sc.next();if (path.startsWith(PREV_P)) {path = path.replace(PREV_P, prev.substring(0, prev.length() - 1));} else if (path.startsWith(REL_P)) {path = path.replace(REL_P + FS, \"\");relative = true;} else if (path.contains(HOME_P)) {path = path.replace(HOME_P, USER_HOME);}prev = path;path = path.concat(MAIN_CONF_FILE);try {InputStream is = null;if (relative) {is = ClassLoader.getSystemResourceAsStream(path);path = getSystemConfDir();Strings.getOne().createPath(path);path += MAIN_CONF_FILE;FileOutputStream os = new FileOutputStream(path);IOUtils.copy(is, os);os.flush();os.close();os = null;} else {is = new FileInputStream(path);}fpmConf = new Properties();fpmConf.load(is);if (fpmConf.isEmpty()) {throw new ConfigurationReadException();}ret = new MapEntry(path, fpmConf);hasLoaded = true;} catch (FileNotFoundException e) {fpmConf = null;singleton = null;hasLoaded = false;} catch (IOException e) {throw new ConfigurationReadException();}}return ret;}@Overrideprotected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {String rewrittenQueryString = URLDecoder.decode(request.getRequestURI(), \"UTF-8\").replaceFirst(\"^.*?\\\\/(id:.*)\\\\/.*?$\", \"$1\");logger.debug(\"rewrittenQueryString: \" + rewrittenQueryString);URL rewrittenUrl = new URL(fedoraUrl + rewrittenQueryString);logger.debug(\"rewrittenUrl: \" + rewrittenUrl.getProtocol() + \"://\" + rewrittenUrl.getHost() + \":\" + rewrittenUrl.getPort() + rewrittenUrl.getFile());HttpURLConnection httpURLConnection = (HttpURLConnection) rewrittenUrl.openConnection();HttpURLConnection.setFollowRedirects(false);httpURLConnection.connect();response.setStatus(httpURLConnection.getResponseCode());logger.debug(\"[status=\" + httpURLConnection.getResponseCode() + \"]\");logger.debug(\"[headers]\");for (Entry> header : httpURLConnection.getHeaderFields().entrySet()) {if (header.getKey() != null) {for (String value : header.getValue()) {if (value != null) {logger.debug(header.getKey() + \": \" + value);if (!header.getKey().equals(\"Server\") && !header.getKey().equals(\"Transfer-Encoding\")) {response.addHeader(header.getKey(), value);}}}}}logger.debug(\"[/headers]\");InputStream inputStream = httpURLConnection.getInputStream();OutputStream outputStream = response.getOutputStream();IOUtils.copy(inputStream, outputStream);}private String readFile(String urlFileString) throws IOException {URL url = new URL(urlFileString);VizDebugUtils.debug(\"url: \" + url.toString());InputStream stream = url.openStream();Reader reader = new InputStreamReader(stream, \"iso-8859-1\");StringWriter writer = new StringWriter();StreamUtils.transfer(reader, writer);stream.close();return writer.toString();}", "out": "1", "pred": "1"} {"in": "Seit 2007 gehört das Gelände der ehemaligen Flakkaserne der Stadt.Sekundär können nephrotoxische und cardiotoxische Effekte auftreten.Über das Aussehen der Kapelle St. Georg ist, ebenso wie über das zugehörige Hospital nichts bekannt.Am 31. Dezember 1923 fand das letzte Bandy-Spiel des CEV statt: gegen den Training Eislauf Club gewann man 7:4.Es umfasste kulturelle, ökonomische und soziale Bereiche.Broken Blossoms entstand im Oktober 1935 in den Twickenham Studios und wurde am 20. Mai 1936 im Rahmen einer Interessentenvorführung erstmals einem (Geschäfts-)Publikum gezeigt.Daraufhin reduzierte Asmussen den Titel auf eine „Erklärung zur kirchlichen Lage“, besuchte Sasse und verfasste mit ihm den „Erlanger Entwurf“.", "out": "0", "pred": "0"} {"in": "public void readData(int choice) throws IOException {for (i = 0; i < max; i++) for (j = 0; j < max; j++) {phase_x[i][j] = 0.0;phase_y[i][j] = 0.0;}URL url;InputStream is;InputStreamReader isr;if (choice == 0) {url = getClass().getResource(\"resources/Phase_623_620_Achromat.dat\");is = url.openStream();isr = new InputStreamReader(is);} else {url = getClass().getResource(\"resources/Phase_623_620_NoAchromat.dat\");is = url.openStream();isr = new InputStreamReader(is);}BufferedReader br = new BufferedReader(isr);s = br.readLine();StringTokenizer st = new StringTokenizer(s);i = 0;j = 0;phase_x[i][j] = 4 * Double.parseDouble(st.nextToken());phase_y[i][j] = 4 * Double.parseDouble(st.nextToken());xgridmin = phase_x[i][j];ygridmin = phase_y[i][j];temp_prev = phase_x[i][j];kd[i][j] = Double.parseDouble(st.nextToken());kfs[i][j] = Double.parseDouble(st.nextToken());kfl[i][j] = Double.parseDouble(st.nextToken());kdee[i][j] = Double.parseDouble(st.nextToken());kdc[i][j] = Double.parseDouble(st.nextToken());kfc[i][j] = Double.parseDouble(st.nextToken());j++;int k = 0;while ((s = br.readLine()) != null) {st = new StringTokenizer(s);temp_new = 4 * Double.parseDouble(st.nextToken());if (temp_new != temp_prev) {temp_prev = temp_new;i++;j = 0;}phase_x[i][j] = temp_new;phase_y[i][j] = 4 * Double.parseDouble(st.nextToken());kd[i][j] = Double.parseDouble(st.nextToken());kfs[i][j] = Double.parseDouble(st.nextToken());kfl[i][j] = Double.parseDouble(st.nextToken());kdee[i][j] = Double.parseDouble(st.nextToken());kdc[i][j] = Double.parseDouble(st.nextToken());kfc[i][j] = Double.parseDouble(st.nextToken());imax = i;jmax = j;j++;k++;}xgridmax = phase_x[i][j - 1];ygridmax = phase_y[i][j - 1];}@TestTargets({ @TestTargetNew(level = TestLevel.PARTIAL_COMPLETE, notes = \"Verifies that the ObjectInputStream constructor calls checkPermission on security manager.\", method = \"ObjectInputStream\", args = { InputStream.class }) })public void test_ObjectInputStream2() throws IOException {class TestSecurityManager extends SecurityManager {boolean called;Permission permission;void reset() {called = false;permission = null;}@Overridepublic void checkPermission(Permission permission) {if (permission instanceof SerializablePermission) {called = true;this.permission = permission;}}}class TestObjectInputStream extends ObjectInputStream {TestObjectInputStream(InputStream s) throws StreamCorruptedException, IOException {super(s);}}class TestObjectInputStream_readFields extends ObjectInputStream {TestObjectInputStream_readFields(InputStream s) throws StreamCorruptedException, IOException {super(s);}@Overridepublic GetField readFields() throws IOException, ClassNotFoundException, NotActiveException {return super.readFields();}}class TestObjectInputStream_readUnshared extends ObjectInputStream {TestObjectInputStream_readUnshared(InputStream s) throws StreamCorruptedException, IOException {super(s);}@Overridepublic Object readUnshared() throws IOException, ClassNotFoundException {return super.readUnshared();}}long id = new java.util.Date().getTime();String filename = \"SecurityPermissionsTest_\" + id;File f = File.createTempFile(filename, null);ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(f));oos.writeObject(new Node());oos.flush();oos.close();f.deleteOnExit();TestSecurityManager s = new TestSecurityManager();System.setSecurityManager(s);s.reset();new ObjectInputStream(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must not call checkPermission on security manager on a class which neither overwrites methods readFields nor readUnshared\", !s.called);s.reset();new TestObjectInputStream(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must not call checkPermission on security manager on a class which neither overwrites methods readFields nor readUnshared\", !s.called);s.reset();new TestObjectInputStream_readFields(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must call checkPermission on security manager on a class which overwrites method readFields\", s.called);assertEquals(\"Name of SerializablePermission is not correct\", \"enableSubclassImplementation\", s.permission.getName());s.reset();new TestObjectInputStream_readUnshared(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must call checkPermission on security manager on a class which overwrites method readUnshared\", s.called);assertEquals(\"Name of SerializablePermission is not correct\", \"enableSubclassImplementation\", s.permission.getName());}public static JuneClass loadClass(Map globals, String packageName, String baseClassName) {try {JuneClass $class = null;String resourceName = (packageName.length() > 0 ? packageName.replace('.', '/') + \"/\" : \"\") + baseClassName.replace('.', '$') + \".class\";URL url = Resolver.class.getClassLoader().getResource(resourceName);if (url != null) {ClassBuilder builder = new ClassBuilder(globals);InputStream stream = url.openStream();try {new ClassReader(new BufferedInputStream(stream)).accept(builder, ClassReader.SKIP_CODE);} finally {stream.close();}$class = builder.$class;$class.loaded = true;}return $class;} catch (Exception e) {throw Helper.throwAny(e);}}public static void copyFileNIO(String src, String dst) {try {FileChannel srcChannel = new FileInputStream(src).getChannel();FileChannel dstChannel = new FileOutputStream(dst).getChannel();dstChannel.transferFrom(srcChannel, 0, srcChannel.size());srcChannel.close();dstChannel.close();} catch (IOException e) {e.printStackTrace();}}@Testpublic void config() throws IOException {Reader reader = new FileReader(new File(\"src/test/resources/test.yml\"));Writer writer = new FileWriter(new File(\"src/site/apt/config.apt\"));writer.write(\"------\\n\");writer.write(FileUtils.readFully(reader));writer.flush();writer.close();}public static String scramble(String text) {try {MessageDigest md = MessageDigest.getInstance(\"SHA-1\");md.update(text.getBytes(\"UTF-8\"));StringBuffer sb = new StringBuffer();for (byte b : md.digest()) sb.append(Integer.toString(b & 0xFF, 16));return sb.toString();} catch (UnsupportedEncodingException e) {return null;} catch (NoSuchAlgorithmException e) {return null;}}private static FTPClient getFtpClient(String ftpHost, String ftpUsername, String ftpPassword) throws SocketException, IOException {FTPClient ftp = new FTPClient();ftp.addProtocolCommandListener(new PrintCommandListener(new PrintWriter(System.out)));ftp.connect(ftpHost);int reply = ftp.getReplyCode();if (!FTPReply.isPositiveCompletion(reply)) {ftp.disconnect();return null;}if (!ftp.login(ftpUsername, ftpPassword)) {return null;}ftp.setFileType(FTP.BINARY_FILE_TYPE);ftp.enterLocalPassiveMode();return ftp;}private synchronized void renewToken() {if (!(System.currentTimeMillis() > (lastTokenRenewal + 10000))) return;lastTokenRenewal = System.currentTimeMillis();String token = null;System.out.println(\"loading error - refresh token\");byte[] buff = null;try {BufferedInputStream bis = null;System.out.println(\"Calling timeout : \" + getServingURL() + \"?token_timeout=true\");URL remoteurl = new URL(getServingURL() + \"?token_timeout=true\");URLConnection connection = remoteurl.openConnection();connection.setRequestProperty(\"Referer\", getServingURL());int length = connection.getContentLength();InputStream in = connection.getInputStream();buff = new byte[length];int bytesRead = 0;while (bytesRead < length) {bytesRead += in.read(buff, bytesRead, in.available());}token = new String(buff);} catch (Exception e) {}if (token != null && !token.equals(\"\")) {token = token.trim();this.info.setToken(token);} else {System.out.println(\"Token returned was null\");}}private void getRandomGUID(boolean secure, Object o) {MessageDigest md5 = null;StringBuffer sbValueBeforeMD5 = new StringBuffer();try {md5 = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException e) {System.out.println(\"Error: \" + e);}try {long time = System.currentTimeMillis();long rand = 0;if (secure) {rand = mySecureRand.nextLong();} else {rand = myRand.nextLong();}sbValueBeforeMD5.append(o.getClass().getName());sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(s_id);sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(time));sbValueBeforeMD5.append(\":\");sbValueBeforeMD5.append(Long.toString(rand));valueBeforeMD5 = sbValueBeforeMD5.toString();md5.update(valueBeforeMD5.getBytes());byte[] array = md5.digest();StringBuffer sb = new StringBuffer();for (int j = 0; j < array.length; ++j) {int b = array[j] & 0xFF;if (b < 0x10) sb.append('0');sb.append(Integer.toHexString(b));}valueAfterMD5 = sb.toString();} catch (Exception e) {System.out.println(\"Error:\" + e);}}public static long copy(File src, long amount, File dst) {final int BUFFER_SIZE = 1024;long amountToRead = amount;InputStream in = null;OutputStream out = null;try {in = new BufferedInputStream(new FileInputStream(src));out = new BufferedOutputStream(new FileOutputStream(dst));byte[] buf = new byte[BUFFER_SIZE];while (amountToRead > 0) {int read = in.read(buf, 0, (int) Math.min(BUFFER_SIZE, amountToRead));if (read == -1) break;amountToRead -= read;out.write(buf, 0, read);}} catch (IOException e) {} finally {close(in);flush(out);close(out);}return amount - amountToRead;}", "out": "1", "pred": "1"} {"in": "以前は富岡妙義線という路線名であったが、ヴォロをはじめ、これら「戦車殺し」の多くの者がドイツ海軍出身の武装親衛隊フランス人義勇兵であった Forbes, p288 文献によってはエルゼナウの戦いの日付が「1945年2月26日」(26.HIPHOPなどのダンスを得意とし :引数 archiveurl と archivedate は両方を指定してください。そんなまりあに、母は「足長おじさん」が現れたのよ、と聖信濃苑学院への転入を告げる。)、厳島光明院の僧・恕信は厳島八景の一つに選んでいる。U+2024)、ノーブレークスペース ( U+00A0)、ノーブレークハイフン ( ‑」に合わせて、KOIKEが「Feel Like dance」の部分を「キレたー」と歌い、その間奏部分でパークがラップを披露するもの。2003年1月から4回のみ使用(4回目は「リミックスバージョン」と銘打ち、近所の子供に「アホだなをやれ」と言われたという名目で途中から曲が「I'm Fallin' DNA」に変わった)。)が開催したファッションコンテストに応募。始皇の君(始皇帝)が天下を統一したため、帝と称したのだ。その後6月29日に、2500メートル滑走路としての供用開始を10月22日とする届出書を国土交通省に提出し受理され 、予定通りに10月22日から供用が開始された。", "out": "0", "pred": "0"} {"in": "Is é Yukio Mishima (", "out": "0", "pred": "0"} {"in": "En la etapa trófica, las células son predominantemente elípticas y aplanadas lateralmente, pero con frecuencia cambian su forma.En Independiente fue protagonista de la \"era dorada\" del club, y las competencias conquistadas por esa época lo tuvieron como protagonista.Su inquietante papel requiere que reduzca su energía característica, aunque McLeod lo complace con algunos placeres estallidos de la vieja intensidad maníaca y de hablar rápido.Este poder nunca fue efectivo y el título fue puramente nominal, ya que se enfrentó a su padre y fue desheredado.Nuevas fisonomías circulan por las calles, sus antiguos hijos se han ido, algunas de sus tradicionales costumbres se han perdido.El municipio Santa Cruz del Norte posee la televisora local Telemar que solo trasmite los viernes, sábados y domingos.Aunque se crearon alrededor de quince ediciones y remixes, la mayoría de ellos se basan en el mix \"C+C Club\".", "out": "0", "pred": "0"} {"in": "Nella carta di fondazione del convento di Bruton lui stesso si descrive come Willielmus de Moyne, comes Somersetensis (Guglielmo de Moyne, conte di Somerset).Nel novembre del 1964, circa un mese prima dell'uscita di produzione della prima F12, vi fu l'avvio della commercializzazione del nuovo modello destinato a sostituirla, ossia la F12/65.Tratta poi l'argomento della iettatura per come era sentita e fu descritta da M. in particolare ne La cieca di Sorrento.Fulton County ) è una contea dello Stato dell'In questo contesto, Tollentino venne inserito come capo progettista, a supporto del tecnico francese.Joseph Emerson Brown fu uno dei principali artefici e leader secessionisti e guidò attivamente gli sforzi per far staccare lo Stato dall'Unione e portarlo dentro la Confederazione.Infatti, ogni volta che uno dei due riesce ad acchiappare l'uccellino, l'altro lo mette KO e l'uccellino scappa via.", "out": "0", "pred": "0"} {"in": "Les juvéniles ont le bec gris, des marques brunâtre sur la tête et les couleurs générales plus pâles.La répartition des délégués est quasi-identique à la situation de 2017, mis à part la perte d'un délégué pour Cérilly.Des cartes furent distribuées à plusieurs reprises.Il s'agit de la première édition se déroulant durant quatre jours.Découvrant que le jeune homme lui a menti, elle l'aidera tout de même à fuir jusqu'au palais.Le Pinard est une obtention de Eugène Kuhlmann vers 1911 en croisant (Au total, il ne joue que 43 matchs au cours de la saison mais inscrit tout de même 76 points.", "out": "0", "pred": "0"} {"in": "df.set_index('id').to_dict()df.set_index('id')['value'].to_dict()sorted(list(mydict.items()), key=lambda a: map(int, a[0].split('.')))re.sub('\\\\([^)]*\\\\)', '', filename)\"\"\"a b\"\"\".replace(' ', '').isalpha()[(x + y) for x, y in zip(first, second)]sorted(list(a_dict.items()), key=lambda item: item[1][1])re.compile('[^a-zA-Z0-9-]+')sorted(list(range(len(a))), key=lambda i: a[i])[-2:]zip(*sorted(enumerate(a), key=operator.itemgetter(1)))[0][-2:]sorted(list(range(len(a))), key=lambda i: a[i], reverse=True)[:2]list(x.keys()).index('c')print('{0:+d}'.format(score))[k for k, g in itertools.groupby([1, 2, 2, 3, 2, 2, 4])]\"\"\"0,1,2\"\"\".split(',')", "out": "1", "pred": "1"} {"in": "Троцкий назвал этот процесс «перевооружением партии».Все эти факторы подготавливают рыночную систему к кризису.Его предложения были поддержаны Проводом, но так и не были воплощены в реальность из-за противодействия Романа Шухевича и Дмитрия Клячкивского, по мнению которых нужно было воевать не против немцев, а против советских партизан и поляков ГАРФ.В 1910 году в Ватажном насчитывалось 62 двора и проживало 373 человека.А для того, чтобы запутать следы, Уайлдер использовал фамильные реликвии — подковы лошади, на которой Хейз увёз мальчика, которые были в форме раздвоенных коровьих копыт.Развитие железнодорожного узла продолжилось во второй половине XX века.После его смерти покинул замок Калиостро, но по-прежему сохраняет верность старому хозяину и его дочери Клариссе.Около 1912 года, филиал организации «Дочери Американской Революции» в Пайн-Блаффе, желая представить флаг штата для ввода в действие линкора «Арканзас», объявил конкурс на его разработку.Его вертикальный луч, продлённый к югу, заканчивается на Вышеграде около построенного на храмовой оси собора святых Петра и Павла.Сами они редко нападают на лодки.", "out": "0", "pred": "0"} {"in": "[i for i, v in enumerate(a) if v > 4]sorted(yourdata, reverse=True)sorted(yourdata, key=lambda d: d.get('key', {}).get('subkey'), reverse=True)yourdata.sort(key=lambda e: e['key']['subkey'], reverse=True)df.round()gca().get_lines()[n].get_xydata()A[:, -2:]request.GET.get('username', '')pprint(dict(list(o.items())))url('^$', include('sms.urls')),url('^', include('sms.urls')),max_item = max(a_list, key=operator.itemgetter(1))max(a_list, key=operator.itemgetter(1))s.resample('3M', how='sum')[a[i] for i in (1, 2, 5)]", "out": "1", "pred": "1"} {"in": "Der Name des Protagonisten Moses Pray ist eine Anspielung auf dessen betrügerisches Gewerbe.Der Tourismus befindet sich aktuell in einer Phase der Anpassung.Nachdem Gabi sie fortgeschickt hat, bereut sie ihre Entscheidung und begibt sich zur Polizeiwache.Nur bei völlig geschlossenen Backen stehen diese parallel.Ihr viertes Rennen bestritt sie erst im Dezember 2008, erneut in Winterberg.Ziel der Band ist es, gezielt Personen aus dem unpolitischen Spektrum zu erreichen.Dies gilt insbesondere für die nach Fläche und Einwohnerzahl größte Mitgliedsgemeinde Detern.", "out": "0", "pred": "0"} {"in": "作中登場する竜は全てオリジナルからのコピーである)。量産車両であるマークIからマークVには、シャーシナンバーGT40P/1000からGT40P/1145までの番号が付けられ :引数 archiveurl と archivedate は両方を指定してください。陸上の旅が緩りと改善され、隣接する郡との交易が大きくなり、エリザベスシティとカムデン郡との間に渡し船が使われ続けた。長編成での運用の減少と共に廃車が進み、2007年5月28日にJR西日本で保留車となっていた最後の6両が吹田工場へ回送されて同年5月30日付けで廃車となり、形式消滅となった。さらに風が吹いた時、ホテルの塔は時間とともに地面に向かうようになっているため、エンジニアは将来の適合のためにプールの仕組みの下に500以上のジャッキの足を埋め込んで建築した。作中でもトップクラスの毒舌家。慶応4年閏4月21日(1868年6月11日) - 明治2年7月8日(1869年8月15日)、旧幕府艦隊の引渡要求を拒否し、軍艦8隻を率いて江戸脱出するも説得され4月17日に4隻を新政府に引き渡す(、ライセンス契約に基づき、ある全米チャンネルに買い取られた。この頃、すでにかなりの量に達していたこのコレクションは初めオーベルンフェルトの学校の地下室に収められ、学童や興味を持った訪問客に開放されていた。1984年にこのコレクションは新しい場所に移され、当時2つの町村の住民には自由に観覧できるようになった。", "out": "0", "pred": "0"} {"in": "После окончания восьми классов он пошёл работать: был шофером, грузчиком, библиотекарем, работал в театре.Ливерпуль и Лидс имели шанс обойти Дерби, победив в перенесенных играх, но Лидс проиграли Вулвс, Ливерпуль свел вничью игру с Арсеналом.Однако они позже догадываются, что Кевин дома один и всячески обманывает их.Проводит лекции и мастер-классы во многих городах России, выступает с докладами на Международных научно-практических конференциях, участвует в жюри исполнительских конкурсов различного уровня.Часть из них была упразднена впоследствии, некоторые вошли в состав городов.Некоторые написаны даже на местном бергамском наречии.Таким образом, обычай был уже установлен, и было несколько местных героев.В ранних раундах Эрсисия ничего не мог противопоставить более быстрому и техничному Биденко.До начала апреля 1913 года вновь состоял в 4-м казачьем полку.В 1997 году являлся помощником тренера в «Свети-Юр».", "out": "0", "pred": "0"} {"in": "public void run() {btnReintentar.setEnabled(false);try {lblEstado.setText(\"Conectando con servidor...\");escribir(\"\\nConectando con servidor...\");URL url = new URL(\"http://apeiron.sourceforge.net/version.php\");lblEstado.setText(\"Obteniendo informaci�n de versi�n...\");escribir(\"Ok\\n\");escribir(\"Obteniendo informaci�n sobre �ltima versi�n...\");BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String linea = br.readLine();escribir(\"Ok\\n\");if (linea != null) {escribir(\"Versi�n mas reciente: \" + linea + \"\\n\");if (Principal.version < Double.parseDouble(linea)) {lblEstado.setText(\"Hay una nueva versi�n: Apeiron \" + linea);escribir(\"Puede obtener la actualizaci�n de: http://apeiron.sourceforge.net\\n\");btnActualizar.setEnabled(true);setVisible(true);} else {lblEstado.setText(\"Usted tiene la �ltima versi�n\");}}br.close();} catch (MalformedURLException e) {escribir(\"Fall�\\n\" + e + \"\\n\");e.printStackTrace();} catch (IOException e) {escribir(\"Fall�\\n\" + e + \"\\n\");e.printStackTrace();}btnReintentar.setEnabled(true);}public static void insert(Connection c, MLPApprox net, int azioneId, String descrizione, int[] indiciID, int output, Date from, Date to) throws SQLException {try {PreparedStatement ps = c.prepareStatement(insertNet, PreparedStatement.RETURN_GENERATED_KEYS);ArrayList indexes = new ArrayList(indiciID.length);for (int i = 0; i < indiciID.length; i++) indexes.add(indiciID[i]);ps.setObject(1, net);ps.setInt(2, azioneId);ps.setObject(3, indexes);ps.setInt(4, output);ps.setDate(5, from);ps.setDate(6, to);ps.setString(7, descrizione);ps.executeUpdate();ResultSet key = ps.getGeneratedKeys();if (key.next()) {int id = key.getInt(1);for (int i = 0; i < indiciID.length; i++) {PreparedStatement psIndex = c.prepareStatement(insertNetIndex);psIndex.setInt(1, indiciID[i]);psIndex.setInt(2, id);psIndex.executeUpdate();}}} catch (SQLException e) {e.printStackTrace();try {c.rollback();} catch (SQLException e1) {e1.printStackTrace();throw e1;}throw e;}}public void getDataFiles(String server, String username, String password, String folder, String destinationFolder) {try {FTPClient ftp = new FTPClient();ftp.connect(server);ftp.login(username, password);System.out.println(\"Connected to \" + server + \".\");System.out.print(ftp.getReplyString());ftp.enterLocalActiveMode();ftp.changeWorkingDirectory(folder);System.out.println(\"Changed to \" + folder);FTPFile[] files = ftp.listFiles();System.out.println(\"Number of files in dir: \" + files.length);for (int i = 0; i < files.length; i++) {getFiles(ftp, files[i], destinationFolder);}ftp.logout();ftp.disconnect();} catch (Exception e) {e.printStackTrace();}}public void putDataFiles(String server, String username, String password, String folder, String destinationFolder) {try {FTPClient ftp = new FTPClient();ftp.connect(server);System.out.println(\"Connected\");ftp.login(username, password);System.out.println(\"Logged in to \" + server + \".\");System.out.print(ftp.getReplyString());ftp.changeWorkingDirectory(destinationFolder);System.out.println(\"Changed to directory \" + destinationFolder);File localRoot = new File(folder);File[] files = localRoot.listFiles();System.out.println(\"Number of files in dir: \" + files.length);for (int i = 0; i < files.length; i++) {putFiles(ftp, files[i]);}ftp.logout();ftp.disconnect();} catch (Exception e) {e.printStackTrace();}}private Document getResponse(HttpGet request) throws ClientProtocolException, IOException, ParserConfigurationException, IllegalStateException, SAXException, NoRoutesException {HttpClient httpClient = new DefaultHttpClient();HttpResponse response = httpClient.execute(request);if (response.getStatusLine().getStatusCode() != HTTP_STATUS_OK) throw new ClientProtocolException(\"The HTTP request is wrong.\");allResponse = EntityUtils.toString(response.getEntity());String responseText = \"\";switch(modeOption) {case DRIVING:try {responseText = allResponse.substring(allResponse.indexOf(\"\") + 5);} catch (Exception e) {throw new NoRoutesException();}break;case WALKING:try {responseText = allResponse.substring(allResponse.indexOf(\"\") + 5);} catch (Exception e) {throw new NoRoutesException();}break;case PUBLIC_TRANSIT:String responseWithErrors = \"\";try {responseWithErrors = allResponse.substring(allResponse.indexOf(\"
\"), allResponse.indexOf(\"
\"));} catch (Exception e) {throw new NoRoutesException();}responseText = responseWithErrors.replaceAll(\".gif\\\">\", \".gif\\\"/>\").replaceAll(\"colspan=2\", \"colspan=\\\"2\\\"\").replaceAll(\"nowrap\", \"\").replaceAll(\"«\", \"\").replaceAll(\" \", \"\").replaceAll(\"»\", \"\");break;}File xmlFile = new File(\"./data/temp/response.xml\");PrintWriter writer = new PrintWriter(xmlFile);writer.println(responseText);writer.close();DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();return dBuilder.parse(xmlFile);}@Overridepublic boolean copy(Document document, Folder folder) throws Exception {boolean isCopied = false;if (document.getId() != null && folder.getId() != null) {Document copiedDoc = new DocumentModel();copiedDoc.setValues(document.getValues());copiedDoc.setFolder(folder);copiedDoc.setId(null);em.persist(copiedDoc);resourceAuthorityService.applyAuthority(copiedDoc);List preferences = prefService.findAll();Preference preference = new PreferenceModel();if (preferences != null && !preferences.isEmpty()) {preference = preferences.get(0);}String repo = preference.getRepository();SimpleDateFormat sdf = new SimpleDateFormat(Constants.DATEFORMAT_YYYYMMDD);Calendar calendar = Calendar.getInstance();StringBuffer sbRepo = new StringBuffer(repo);sbRepo.append(File.separator);StringBuffer sbFolder = new StringBuffer(sdf.format(calendar.getTime()));sbFolder.append(File.separator).append(calendar.get(Calendar.HOUR_OF_DAY));File fFolder = new File(sbRepo.append(sbFolder).toString());if (!fFolder.exists()) {fFolder.mkdirs();}copiedDoc.setLocation(sbFolder.toString());em.merge(copiedDoc);File in = new File(repo + File.separator + document.getLocation() + File.separator + document.getId() + \".\" + document.getExt());File out = new File(fFolder.getAbsolutePath() + File.separator + copiedDoc.getId() + \".\" + copiedDoc.getExt());FileChannel inChannel = new FileInputStream(in).getChannel();FileChannel outChannel = new FileOutputStream(out).getChannel();try {inChannel.transferTo(0, inChannel.size(), outChannel);} catch (IOException e) {throw e;} finally {if (inChannel != null) inChannel.close();if (outChannel != null) outChannel.close();}}return isCopied;}public void readData(int choice) throws IOException {for (i = 0; i < max; i++) for (j = 0; j < max; j++) {phase_x[i][j] = 0.0;phase_y[i][j] = 0.0;}URL url;InputStream is;InputStreamReader isr;if (choice == 0) {url = getClass().getResource(\"resources/Phase_623_620_Achromat.dat\");is = url.openStream();isr = new InputStreamReader(is);} else {url = getClass().getResource(\"resources/Phase_623_620_NoAchromat.dat\");is = url.openStream();isr = new InputStreamReader(is);}BufferedReader br = new BufferedReader(isr);s = br.readLine();StringTokenizer st = new StringTokenizer(s);i = 0;j = 0;phase_x[i][j] = 4 * Double.parseDouble(st.nextToken());phase_y[i][j] = 4 * Double.parseDouble(st.nextToken());xgridmin = phase_x[i][j];ygridmin = phase_y[i][j];temp_prev = phase_x[i][j];kd[i][j] = Double.parseDouble(st.nextToken());kfs[i][j] = Double.parseDouble(st.nextToken());kfl[i][j] = Double.parseDouble(st.nextToken());kdee[i][j] = Double.parseDouble(st.nextToken());kdc[i][j] = Double.parseDouble(st.nextToken());kfc[i][j] = Double.parseDouble(st.nextToken());j++;int k = 0;while ((s = br.readLine()) != null) {st = new StringTokenizer(s);temp_new = 4 * Double.parseDouble(st.nextToken());if (temp_new != temp_prev) {temp_prev = temp_new;i++;j = 0;}phase_x[i][j] = temp_new;phase_y[i][j] = 4 * Double.parseDouble(st.nextToken());kd[i][j] = Double.parseDouble(st.nextToken());kfs[i][j] = Double.parseDouble(st.nextToken());kfl[i][j] = Double.parseDouble(st.nextToken());kdee[i][j] = Double.parseDouble(st.nextToken());kdc[i][j] = Double.parseDouble(st.nextToken());kfc[i][j] = Double.parseDouble(st.nextToken());imax = i;jmax = j;j++;k++;}xgridmax = phase_x[i][j - 1];ygridmax = phase_y[i][j - 1];}@TestTargets({ @TestTargetNew(level = TestLevel.PARTIAL_COMPLETE, notes = \"Verifies that the ObjectInputStream constructor calls checkPermission on security manager.\", method = \"ObjectInputStream\", args = { InputStream.class }) })public void test_ObjectInputStream2() throws IOException {class TestSecurityManager extends SecurityManager {boolean called;Permission permission;void reset() {called = false;permission = null;}@Overridepublic void checkPermission(Permission permission) {if (permission instanceof SerializablePermission) {called = true;this.permission = permission;}}}class TestObjectInputStream extends ObjectInputStream {TestObjectInputStream(InputStream s) throws StreamCorruptedException, IOException {super(s);}}class TestObjectInputStream_readFields extends ObjectInputStream {TestObjectInputStream_readFields(InputStream s) throws StreamCorruptedException, IOException {super(s);}@Overridepublic GetField readFields() throws IOException, ClassNotFoundException, NotActiveException {return super.readFields();}}class TestObjectInputStream_readUnshared extends ObjectInputStream {TestObjectInputStream_readUnshared(InputStream s) throws StreamCorruptedException, IOException {super(s);}@Overridepublic Object readUnshared() throws IOException, ClassNotFoundException {return super.readUnshared();}}long id = new java.util.Date().getTime();String filename = \"SecurityPermissionsTest_\" + id;File f = File.createTempFile(filename, null);ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(f));oos.writeObject(new Node());oos.flush();oos.close();f.deleteOnExit();TestSecurityManager s = new TestSecurityManager();System.setSecurityManager(s);s.reset();new ObjectInputStream(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must not call checkPermission on security manager on a class which neither overwrites methods readFields nor readUnshared\", !s.called);s.reset();new TestObjectInputStream(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must not call checkPermission on security manager on a class which neither overwrites methods readFields nor readUnshared\", !s.called);s.reset();new TestObjectInputStream_readFields(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must call checkPermission on security manager on a class which overwrites method readFields\", s.called);assertEquals(\"Name of SerializablePermission is not correct\", \"enableSubclassImplementation\", s.permission.getName());s.reset();new TestObjectInputStream_readUnshared(new FileInputStream(f));assertTrue(\"ObjectInputStream(InputStream) ctor must call checkPermission on security manager on a class which overwrites method readUnshared\", s.called);assertEquals(\"Name of SerializablePermission is not correct\", \"enableSubclassImplementation\", s.permission.getName());}public static JuneClass loadClass(Map globals, String packageName, String baseClassName) {try {JuneClass $class = null;String resourceName = (packageName.length() > 0 ? packageName.replace('.', '/') + \"/\" : \"\") + baseClassName.replace('.', '$') + \".class\";URL url = Resolver.class.getClassLoader().getResource(resourceName);if (url != null) {ClassBuilder builder = new ClassBuilder(globals);InputStream stream = url.openStream();try {new ClassReader(new BufferedInputStream(stream)).accept(builder, ClassReader.SKIP_CODE);} finally {stream.close();}$class = builder.$class;$class.loaded = true;}return $class;} catch (Exception e) {throw Helper.throwAny(e);}}public static void copyFileNIO(String src, String dst) {try {FileChannel srcChannel = new FileInputStream(src).getChannel();FileChannel dstChannel = new FileOutputStream(dst).getChannel();dstChannel.transferFrom(srcChannel, 0, srcChannel.size());srcChannel.close();dstChannel.close();} catch (IOException e) {e.printStackTrace();}}", "out": "1", "pred": "1"} {"in": "Theas é Beangál.", "out": "0", "pred": "0"} {"in": "Inciso da un argentiere di Boston, il sigillo era pronto all'inizio del 1773.A metà della scala predetta, questa si biforca consentendo l'accesso ad un piano intermedio.Viene rapito da Theo Galavan in modo da prendere il suo posto come sindaco, ma viene poi liberato da Gordon; al processo contro Galavan, per paura, racconta falsamente che il responsabile del rapimento è Cobblepot.Fu anche la prima volta che un giocatore che aveva passato per oltre 500 yard in una partita ne passò almeno 400 in quella successiva.Pubblicato in precedenza come singolo (Il genere Hesperonychus contiene una sola specie, Hesperonychus elizabethae, chiamata così in onore della paleontologa che nel 1982 rinvenì l'Gli originali risultano quindi assenti nell'", "out": "0", "pred": "0"} {"in": "public void init() {System.out.println(\"Init applet...\");int port = Integer.parseInt(getParameter(\"port\"));int useUDP = Integer.parseInt(getParameter(\"udp\"));boolean bUseUDP = false;if (useUDP > 0) bUseUDP = true;m_strWorld = getParameter(\"world\");m_strHost = this.getCodeBase().getHost();try {new EnvironmentMap(getParameter(\"vrwmap\"));} catch (Throwable t) {System.out.println(t.getMessage());}URL urlExperiment = null;InputStream expStream = null;try {String strPathExperiment = getParameter(\"experiment\");if (strPathExperiment.length() > 0) {urlExperiment = new URL(getCodeBase(), strPathExperiment);expStream = urlExperiment.openStream();}} catch (java.net.MalformedURLException e) {System.out.println(\"Couldn't open url experiment: badly specified URL \" + e.getMessage());} catch (Throwable t) {System.out.println(\"Couldn't open url experiment: \" + t.getMessage());}try {System.out.println(\"Creating client, logging to \" + m_strWorld);m_VRWClient = new VRWClient(m_strHost, port, true, bUseUDP);m_VRWClient.setInApplet(true);m_VRWClient.login(m_strWorld);} catch (java.io.IOException e) {System.out.println(\"IOException creating the VRWClient\");}try {jsobj = JSObject.getWindow(this);} catch (Throwable t) {System.out.println(\"Exception getting Java Script Interface: \" + t.getMessage());}refApplet = this;m_frmVRWConsole = new VRWConsoleFrame();m_frmVRWConsole.setTitle(\"VRW Client Console\");m_frmVRWConsole.pack();m_frmVRWConsole.setSize(Math.max(300, m_frmVRWConsole.getSize().width), Math.max(200, m_frmVRWConsole.getSize().height));if (expStream != null) {System.out.println(\"Passing experiment stream to VRWConsoleFrame\");m_frmVRWConsole.loadExperiment(expStream);}m_frmVRWConsole.setVisible(true);}public static void main(final String[] args) throws RecognitionException, TokenStreamException, IOException, IllegalOptionValueException, UnknownOptionException {try {CmdLineParser cmdLineParser = new CmdLineParser();Option formatOption = cmdLineParser.addStringOption('f', \"format\");Option encodingOption = cmdLineParser.addStringOption('c', \"charset\");cmdLineParser.parse(args);String format = (String) cmdLineParser.getOptionValue(formatOption);String encoding = (String) cmdLineParser.getOptionValue(encodingOption);if (encoding == null || encoding.trim().equals(\"\")) {encoding = \"utf-8\";System.out.println(\"Defaulting to output charset utf-8 as argument -c is missing or not valid.\");}String[] remainingArgs = cmdLineParser.getRemainingArgs();if (remainingArgs.length != 2) {printUsage(\"Input and output file are not specified correctly. \");}File inputFile = new File(remainingArgs[0]);if (!inputFile.exists()) {printUsage(\"Input file \" + remainingArgs[0] + \" does not exist. \");}File outputFile = new File(remainingArgs[1]);if (!outputFile.exists()) {outputFile.createNewFile();}if (format == null || format.trim().equals(\"\")) {format = (String) FileUtil.cutExtension(outputFile.getName()).getValue();}if (\"tex\".equals(format)) {Reader reader = new LatexEncoderReader(new FileReader(inputFile));OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(outputFile), encoding);char[] buffer = new char[1024];int read;do {read = reader.read(buffer);if (read > 0) {out.write(buffer, 0, read);}} while (read != -1);out.flush();out.close();} else {printUsage(\"Format not specified via argument -f. Also guessing for the extension of output file \" + outputFile.getName() + \" failed\");}} catch (Exception ex) {ex.printStackTrace();printUsage(ex.getMessage());}}private SystemProperties() {Properties p = new Properties();ClassLoader classLoader = getClass().getClassLoader();try {URL url = classLoader.getResource(\"system.properties\");if (url != null) {InputStream is = url.openStream();p.load(is);is.close();System.out.println(\"Loading \" + url);}} catch (Exception e) {e.printStackTrace();}try {URL url = classLoader.getResource(\"system-ext.properties\");if (url != null) {InputStream is = url.openStream();p.load(is);is.close();System.out.println(\"Loading \" + url);}} catch (Exception e) {e.printStackTrace();}boolean systemPropertiesLoad = GetterUtil.get(System.getProperty(SYSTEM_PROPERTIES_LOAD), true);boolean systemPropertiesFinal = GetterUtil.get(System.getProperty(SYSTEM_PROPERTIES_FINAL), true);if (systemPropertiesLoad) {Enumeration enu = p.propertyNames();while (enu.hasMoreElements()) {String key = (String) enu.nextElement();if (systemPropertiesFinal || Validator.isNull(System.getProperty(key))) {System.setProperty(key, (String) p.get(key));}}}PropertiesUtil.fromProperties(p, _props);}public static void uploadFile(File in, String out, String host, int port, String path, String login, String password, boolean renameIfExist) throws IOException {FTPClient ftp = null;try {m_logCat.info(\"Uploading \" + in + \" to \" + host + \":\" + port + \" at \" + path);ftp = new FTPClient();int reply;ftp.connect(host, port);m_logCat.info(\"Connected to \" + host + \"... Trying to authenticate\");reply = ftp.getReplyCode();if (!FTPReply.isPositiveCompletion(reply)) {ftp.disconnect();m_logCat.error(\"FTP server \" + host + \" refused connection.\");throw new IOException(\"Cannot connect to the FTP Server: connection refused.\");}if (!ftp.login(login, password)) {ftp.logout();throw new IOException(\"Cannot connect to the FTP Server: login / password is invalid!\");}ftp.setFileType(FTP.BINARY_FILE_TYPE);if (!ftp.changeWorkingDirectory(path)) {m_logCat.warn(\"Remote working directory: \" + path + \"does not exist on the FTP Server ...\");m_logCat.info(\"Trying to create remote directory: \" + path);if (!ftp.makeDirectory(path)) {m_logCat.error(\"Failed to create remote directory: \" + path);throw new IOException(\"Failed to store \" + in + \" in the remote directory: \" + path);}if (!ftp.changeWorkingDirectory(path)) {m_logCat.error(\"Failed to change directory. Unexpected error\");throw new IOException(\"Failed to change to remote directory : \" + path);}}if (out == null) {out = in.getName();if (out.startsWith(\"/\")) {out = out.substring(1);}}if (renameIfExist) {String[] files = ftp.listNames();String f = in + out;for (int i = 0; i < files.length; i++) {if (files[i].equals(out)) {m_logCat.debug(\"Found existing file on the server: \" + out);boolean rename_ok = false;String bak = \"_bak\";int j = 0;String newExt = null;while (!rename_ok) {if (j == 0) newExt = bak; else newExt = bak + j;if (ftp.rename(out, out + newExt)) {m_logCat.info(out + \" renamed to \" + out + newExt);rename_ok = true;} else {m_logCat.warn(\"Renaming to \" + out + newExt + \" has failed!, trying again ...\");j++;}}break;}}}InputStream input = new FileInputStream(in);m_logCat.info(\"Starting transfert of \" + in);ftp.storeFile(out, input);m_logCat.info(in + \" uploaded successfully\");input.close();ftp.logout();} catch (FTPConnectionClosedException e) {m_logCat.error(\"Server closed connection.\", e);} finally {if (ftp.isConnected()) {try {ftp.disconnect();} catch (IOException f) {}}}}public void convert(File src, File dest) throws IOException {InputStream in = new BufferedInputStream(new FileInputStream(src));DcmParser p = pfact.newDcmParser(in);Dataset ds = fact.newDataset();p.setDcmHandler(ds.getDcmHandler());try {FileFormat format = p.detectFileFormat();if (format != FileFormat.ACRNEMA_STREAM) {System.out.println(\"\\n\" + src + \": not an ACRNEMA stream!\");return;}p.parseDcmFile(format, Tags.PixelData);if (ds.contains(Tags.StudyInstanceUID) || ds.contains(Tags.SeriesInstanceUID) || ds.contains(Tags.SOPInstanceUID) || ds.contains(Tags.SOPClassUID)) {System.out.println(\"\\n\" + src + \": contains UIDs!\" + \" => probable already DICOM - do not convert\");return;}boolean hasPixelData = p.getReadTag() == Tags.PixelData;boolean inflate = hasPixelData && ds.getInt(Tags.BitsAllocated, 0) == 12;int pxlen = p.getReadLength();if (hasPixelData) {if (inflate) {ds.putUS(Tags.BitsAllocated, 16);pxlen = pxlen * 4 / 3;}if (pxlen != (ds.getInt(Tags.BitsAllocated, 0) >>> 3) * ds.getInt(Tags.Rows, 0) * ds.getInt(Tags.Columns, 0) * ds.getInt(Tags.NumberOfFrames, 1) * ds.getInt(Tags.NumberOfSamples, 1)) {System.out.println(\"\\n\" + src + \": mismatch pixel data length!\" + \" => do not convert\");return;}}ds.putUI(Tags.StudyInstanceUID, uid(studyUID));ds.putUI(Tags.SeriesInstanceUID, uid(seriesUID));ds.putUI(Tags.SOPInstanceUID, uid(instUID));ds.putUI(Tags.SOPClassUID, classUID);if (!ds.contains(Tags.NumberOfSamples)) {ds.putUS(Tags.NumberOfSamples, 1);}if (!ds.contains(Tags.PhotometricInterpretation)) {ds.putCS(Tags.PhotometricInterpretation, \"MONOCHROME2\");}if (fmi) {ds.setFileMetaInfo(fact.newFileMetaInfo(ds, UIDs.ImplicitVRLittleEndian));}OutputStream out = new BufferedOutputStream(new FileOutputStream(dest));try {} finally {ds.writeFile(out, encodeParam());if (hasPixelData) {if (!skipGroupLen) {out.write(PXDATA_GROUPLEN);int grlen = pxlen + 8;out.write((byte) grlen);out.write((byte) (grlen >> 8));out.write((byte) (grlen >> 16));out.write((byte) (grlen >> 24));}out.write(PXDATA_TAG);out.write((byte) pxlen);out.write((byte) (pxlen >> 8));out.write((byte) (pxlen >> 16));out.write((byte) (pxlen >> 24));}if (inflate) {int b2, b3;for (; pxlen > 0; pxlen -= 3) {out.write(in.read());b2 = in.read();b3 = in.read();out.write(b2 & 0x0f);out.write(b2 >> 4 | ((b3 & 0x0f) << 4));out.write(b3 >> 4);}} else {for (; pxlen > 0; --pxlen) {out.write(in.read());}}out.close();}System.out.print('.');} finally {in.close();}}public static String encryptPassword(String password) throws NoSuchAlgorithmException, UnsupportedEncodingException {final MessageDigest digester = MessageDigest.getInstance(\"sha-256\");digester.reset();digester.update(\"Carmen Sandiago\".getBytes());return asHex(digester.digest(password.getBytes(\"UTF-8\")));}private static String func(String sf) {int total = 0, temp;String fnctn[] = { \"sin\", \"cos\", \"tan\", \"log\", \"ln\", \"sqrt\", \"!\" }, temp2 = \"\";int pos[] = new int[7];for (int n = 0; n < fnctn.length; n++) {pos[n] = sf.lastIndexOf(fnctn[n]);}for (int m = 0; m < fnctn.length; m++) {total += pos[m];}if (total == -7) {return sf;}for (int i = pos.length; i > 1; i--) {for (int j = 0; j < i - 1; j++) {if (pos[j] < pos[j + 1]) {temp = pos[j];pos[j] = pos[j + 1];pos[j + 1] = temp;temp2 = fnctn[j];fnctn[j] = fnctn[j + 1];fnctn[j + 1] = temp2;}}}if (fnctn[0].equals(\"sin\")) {if ((pos[0] == 0 || sf.charAt(pos[0] - 1) != 'a')) {return func(Functions.sine(sf, pos[0], false));} else {return func(Functions.asin(sf, pos[0], false));}} else if (fnctn[0].equals(\"cos\")) {if ((pos[0] == 0 || sf.charAt(pos[0] - 1) != 'a')) {return func(Functions.cosine(sf, pos[0], false));} else {return func(Functions.acos(sf, pos[0], false));}} else if (fnctn[0].equals(\"tan\")) {if ((pos[0] == 0 || sf.charAt(pos[0] - 1) != 'a')) {return func(Functions.tangent(sf, pos[0], false));} else {return func(Functions.atan(sf, pos[0], false));}} else if (fnctn[0].equals(\"log\")) {return func(Functions.logarithm(sf, pos[0]));} else if (fnctn[0].equals(\"ln\")) {return func(Functions.lnat(sf, pos[0]));} else if (fnctn[0].equals(\"sqrt\")) {return func(Functions.sqroot(sf, pos[0]));} else {return func(Functions.factorial(sf, pos[0]));}}@SuppressWarnings(\"null\")public static void copyFile(File src, File dst) throws IOException {if (!dst.getParentFile().exists()) {dst.getParentFile().mkdirs();}dst.createNewFile();FileChannel srcC = null;FileChannel dstC = null;try {srcC = new FileInputStream(src).getChannel();dstC = new FileOutputStream(dst).getChannel();dstC.transferFrom(srcC, 0, srcC.size());} finally {try {if (dst != null) {dstC.close();}} catch (Exception e) {e.printStackTrace();}try {if (src != null) {srcC.close();}} catch (Exception e) {e.printStackTrace();}}}public static void unzip(File sourceZipFile, File unzipDestinationDirectory, FileFilter filter) throws IOException {unzipDestinationDirectory.mkdirs();if (!unzipDestinationDirectory.exists()) {throw new IOException(\"Unable to create destination directory: \" + unzipDestinationDirectory);}ZipFile zipFile;zipFile = new ZipFile(sourceZipFile, ZipFile.OPEN_READ);Enumeration zipFileEntries = zipFile.entries();while (zipFileEntries.hasMoreElements()) {ZipEntry entry = (ZipEntry) zipFileEntries.nextElement();if (!entry.isDirectory()) {String currentEntry = entry.getName();File destFile = new File(unzipDestinationDirectory, currentEntry);if (filter == null || filter.accept(destFile)) {File destinationParent = destFile.getParentFile();destinationParent.mkdirs();BufferedInputStream is = new BufferedInputStream(zipFile.getInputStream(entry));FileOutputStream fos = new FileOutputStream(destFile);IOUtils.copyLarge(is, fos);fos.flush();IOUtils.closeQuietly(fos);}}}zipFile.close();}public static void zip(File srcDir, File destFile, FileFilter filter) throws IOException {ZipOutputStream out = null;try {out = new ZipOutputStream(new FileOutputStream(destFile));Collection files = FileUtils.listFiles(srcDir, TrueFileFilter.TRUE, TrueFileFilter.TRUE);for (File f : files) {if (filter == null || filter.accept(f)) {FileInputStream in = FileUtils.openInputStream(f);out.putNextEntry(new ZipEntry(Util.relativePath(srcDir, f).replace('\\\\', '/')));IOUtils.copyLarge(in, out);out.closeEntry();IOUtils.closeQuietly(in);}}IOUtils.closeQuietly(out);} catch (Throwable t) {throw new IOException(\"Failed to create zip file\", t);} finally {if (out != null) {out.flush();IOUtils.closeQuietly(out);}}}", "out": "1", "pred": "1"} {"in": "В то же время вещмешок, безусловно, проигрывает современным рюкзакам по ряду показателей.Завершить строительство планируют в 2023 году.Командир живёт в жилом блоке, расположенном рядом с блоком флагмана; в распоряжении командира находится каюта и отдельный санузел.С 1962 года — руководитель секции «История балканских народов» Института истории Болгарской академии наук.Обычно берётся около 2 МПа (290 psi).Российской империи и созданию коллекции семян.Одному из подвидов было дано название chlorolaemus.Хижниченко начал выходить на поле регулярно.Расположен на городском кладбище.Наемники в лагерях различаются на разных картах.", "out": "0", "pred": "0"} {"in": "La consommation de combustibles fossiles par habitant a chuté de 17,4 % en 5 ans, et de 18,8 % par rapport au reste du Canada, sans que la croissance du PIB ne décroche par rapport à celle des autres provinces.En situation d'urgence la supplémentation se fait par voie intraveineuse, le chlorure de potassium est le sel de choix, car c'est celui qui apporte le plus de potassium (13 mmol/g).Et pourtant, Misia déclare avec humour à propos de son physique : « Ce qui me va, c'est le genre bonne Cité par Paul Morand, Journal d'un attaché d'ambassade, p. 265 ».Depuis plusieurs années, les différents services météorologiques nationaux d’importance ont commencé à produire des ensembles de prévisions.Le terme « monter la garde » signifie une proximité entre les deux astres, mais implique aussi une orientation générale : une étoile invitée « montant la garde » d'une étoile fixe est systématiquement située au-dessus de celle-ci.Après un terrible vol plané, la Ferrari retombe sur son nez, broyant les jambes de son infortuné pilote.Peter rencontre son ex-petite amie Ellen et ils décident de se remettre en couple dans 1 an s'ils sont toujours célibataires.", "out": "0", "pred": "0"} {"in": "def cal_sum(n): \n\ta = 3\n\tb = 0\n\tc = 2\n\tif (n == 0): \n\t\treturn 3\n\tif (n == 1): \n\t\treturn 3\n\tif (n == 2): \n\t\treturn 5\n\tsum = 5\n\twhile (n > 2): \n\t\td = a + b \n\t\tsum = sum + d \n\t\ta = b \n\t\tb = c \n\t\tc = d \n\t\tn = n-1\n\treturn sum", "out": "1", "pred": "1"} {"in": "def find_dissimilar(test_tup1, test_tup2):\n res = tuple(set(test_tup1) ^ set(test_tup2))\n return (res) ", "out": "1", "pred": "1"} {"in": "else printf(\"0\\n\");}return 0;}void main(){int n,i,j,k,l;char str[1000][80],c;char (*p)[90];scanf(\"%d\\n\",&n);p=str;for (i=0;i='0'&&c<='9')||(c>='a'&&c<='z')||(c>='A'&&c<='Z')||(c=='_'))) k=1;}c=**(p+i); if (!((c=='_')||(c<='Z'&&c>='A')||(c<='z'&&c>='a'))) k=1;if (k==0) printf(\"1\\n\");else printf(\"0\\n\");}}int main(){int n, i, j, n1;char str[200];cin >> n;cin.get();for (i = 1; i <= n; i++){", "out": "1", "pred": "1"} {"in": "if (Char[k][0]<='Z'&&Char[k][0]>='A'||Char[k][0]<='z'&&Char[k][0]>='a'||Char[k][0]=='_') // ??????????????? {for (i=1;i<100;i++) { if ( Char[k][i]==0) //???????????????????1 {cout<<1<='A')+(Char[k][i]<='z'&&Char[k][i]>='a')+(Char[k][i]<='9'&&Char[k][i]>='0')+(Char[k][i]=='_')==0) //?????0 { cout<<0<='A'&&origin_string[0]<='Z')||(origin_string[0]>='a'&&origin_string[0]<='z')){check=1;} else ", "out": "1", "pred": "1"} {"in": "Bank accounts can also have a domestic bank account identifier.She secretly disinters the head, and sets it in a pot of basil, which she waters with her daily tears.His fourth special, Jeff Dunham: Controlled Chaos, premiered on September 25, 2011 on Comedy Central.The dance style of the habanera is slower and more stately than the danza; by the 1840s there were habaneras written, sung and danced in Mexico, Venezuela, Puerto Rico and Spain.Later, they were driven by steam.Old Bawn is a small town in Tallaght, Dublin.Flinging, dripping, pouring, and spattering, he would move energetically around the canvas, almost as if in a dance, and would not stop until he saw what he wanted to see.", "out": "0", "pred": "0"} {"in": "def count_reverse_pairs(test_list):\n res = sum([1 for idx in range(0, len(test_list)) for idxn in range(idx, len( \n\ttest_list)) if test_list[idxn] == str(''.join(list(reversed(test_list[idx]))))]) \n return res", "out": "1", "pred": "1"} {"in": "En 1976, il décide de se consacrer à l'écriture à plein temps et connaît son premier succès, dès 1978 avec By the Rivers of Babylon.Dans le cas du circuit long, la mise à disposition s'effectue via une cascade d'opérateurs successifs (exemple : fournisseur-producteur → grossiste → détaillant → client acheteur).Montcalm est un district électoral de l'Jan Baegert a reçu sa formation dans l'atelier de son père.Il vit alors avec le photographe William (Bill) Caskey, avec qui il voyage en l'Des monnaies romaines et des vestiges mérovingiens affirment également une activité humaine continue.Le nom de Reichardia a été attribué en l'honneur du naturaliste allemand Johann Jakob Reichard (1743 - 1782).", "out": "0", "pred": "0"} {"in": "stringnamehere.decode('utf-8', 'ignore')re.findall('((?:A|B|C)D)', 'BDE')dic.setdefault(key, []).append(value)a[np.argmin(a[:, (1)])]a.update(b)[{k: v for k, v in d.items() if k != 'mykey1'} for d in mylist][dict((k, v) for k, v in d.items() if k != 'mykey1') for d in mylist]numpy.random.random((3, 3))df['C'] = df['A'] + df['B'][value for key, value in list(programs.items()) if 'new york' in key.lower()]sys.path.append('/path/to/main_folder')re.findall('\\\\d+(?=[^[]+$)', s)pickle.load(open('afile', 'rb'))driver.find_element_by_xpath('xpath').click()ex.groupby(level='A').agg(lambda x: x.index.get_level_values(1).nunique())", "out": "1", "pred": "1"} {"in": "Dáta rochtana 15 Meith.", "out": "0", "pred": "0"} {"in": "Sollte der Champion sterben, würfelt der Spieler mit einem zehnseitigen Würfel (also 1w10).Ein früher Entwurf für die zu bauende Kirche aus dem Jahr 1832 ist erhalten geblieben.Pessimismus und Resignation mischen sich mit verzweifelter Aktion, um in Hoffnungslosigkeit umzuschlagen.Der Süden Pleinfelds gehört zum 1969 gegründeten Naturpark Altmühltal.Nach den Pogromen von 2004 neu errichtete Häuser wurden später erneut zerstört.Hermann von Buchka war seit 1848 mit Elisabeth (1829–1884), Tochter des Offiziers und Gutsbesitzers Karl Heinrich von Stein, verheiratet.Reserveteams waren nicht aufstiegsberechtigt und nahmen deshalb nicht an den Play-offs teil.", "out": "0", "pred": "0"} {"in": "import heapq\ndef k_smallest_pairs(nums1, nums2, k):\n queue = []\n def push(i, j):\n if i < len(nums1) and j < len(nums2):\n heapq.heappush(queue, [nums1[i] + nums2[j], i, j])\n push(0, 0)\n pairs = []\n while queue and len(pairs) < k:\n _, i, j = heapq.heappop(queue)\n pairs.append([nums1[i], nums2[j]])\n push(i, j + 1)\n if j == 0:\n push(i + 1, 0)\n return pairs", "out": "1", "pred": "1"} {"in": "La région peut manquer d'infrastructures gazières.David Karel, Dictionnaire des peintres de langue française en Amérique du Nord : peintres…, Presses Universitaires Laval, 1992, p.416.Il faut signaler également deux habitats antiques : lieux-dits du « Pla de Beyret » (Ier siècle av. J.-C.C'est lors du deuxième tour que l'équipe prend son envol et termine à la troisième place du classement, synonyme de promotion en D1, de façon totalement inespérée.Il a été élu à 5 reprises «Durant des années, il a payé le loyer élevé du bureau de sa femme même après son assassinat.La formation avec Junior Reid comme chanteur principal dure le temps de deux albums, Brutal (1986) et Positive (1987), suivis chacun de leur déclinaison dub (Brutal Dub et Positive Dub).", "out": "0", "pred": "0"} {"in": "list(itertools.chain.from_iterable(list2d))ord('a')re.sub('(?m)^[^\\\\S\\\\n]+', '', ' a\\n b\\n c\\nd e')re.sub('(?m)^\\\\s+', '', 'a\\n b\\n c')a, b, c = [1, 2, 3][list(v) for k, v in itertools.groupby(mylist, key=lambda x: x[:5])]line = re.sub('\\\\(+as .*?\\\\) ', '', line)print(line.rstrip('\\n'))df.index.values.tolist()if (not a):passif (not seq):passif (len(li) == 0):pass[i for i, v in enumerate(a) if v > 4]sorted(yourdata, reverse=True)sorted(yourdata, key=lambda d: d.get('key', {}).get('subkey'), reverse=True)", "out": "1", "pred": "1"} {"in": "sum(x * y for x, y in list(zip(a, b)))f.write(open('xxx.mp4', 'rb').read())new_list = [(x + 1) for x in my_list][x for x in j if x >= 5]plt.plot(list(range(10)), '--bo')plt.plot(list(range(10)), linestyle='--', marker='o', color='b')[i.split('\\t', 1)[0] for i in l]myList = [i.split('\\t')[0] for i in myList]sum(your_list)ForkedPdb().set_trace()result = {k: d2.get(v) for k, v in list(d1.items())}datetime.datetime.now() + datetime.timedelta(days=1, hours=3)[int(s[i:i + 3], 2) for i in range(0, len(s), 3)]dict((v, k) for k, v in my_dict.items())print(sorted(L, key=lambda x: int(x.split('.')[2])))", "out": "1", "pred": "1"} {"in": "pd.concat([df_1, df_2.sort_values('y')])re.sub('(.*)
', '\\\\1', s)print(max(d, key=lambda x: (d[x]['salary'], d[x]['bonus'])))Book.objects.filter(author__id=1).filter(author__id=2)re.compile('XYZ', re.IGNORECASE).split('fooxyzbar')[sum(map(int, s)) for s in example.split()][i for i in y if y[i] == 1]c.decode('unicode_escape')pd.melt(x, id_vars=['farm', 'fruit'], var_name='year', value_name='value')default_data['item3'] = 3default_data.update({'item3': 3, })default_data.update({'item4': 4, 'item5': 5, })l[:3] + l[-3:]df = df.reset_index(drop=True)[a[x].append(b[x]) for x in range(3)]", "out": "1", "pred": "1"} {"in": "基本的に1話のページ数は4ページ。、原聖書聖典(Protocanonical,英:Protocanonical books)と呼ばれるが、聖書の正典について決定する権利は教皇のもとにある教会教導職だけであるため、「原正典」の表現は誤解を招く恐れがあると指摘されている 『現代カトリック事典』エンデルレ書店 。、友人に相談を持ちかけたところ、その才のある友人が窘めたたとえ話である。必要な時にすぐに現れ、思いのままに移動できる、まさに『筋斗雲』のように使っていただきたいと考え、『KINTO』と名付けました。店には2人目の夫人が一緒に出ていたが、独身時代も2回の結婚後も、女性遍歴は凄まじかった 。ロングアイランド鉄道(LIRR)は全米一混雑する鉄道であり(各種地下鉄は除く)平日平均28万2400人の乗客を728本の電車が運んでいる。、turntablist(ターンテブリスト)。、生産高の1038tは全国の8.シルバーデビル達との戦いで死んだと思われていたが、実は傷ついた後川に落ち、流されていた所をラミドに青い桃と間違えて拾われ、真っ二つにされる寸前で意識を取り戻し、そのまま帰り道が分からなくなりラミドの助手をしていた。大学で国際法のゼミに所属して教職課程を履修し、TBS入社後も日大で教職課程履修者やマスコミを志す学生に講演会を行うこともある。", "out": "0", "pred": "0"} {"in": "def max_Product(arr): \n arr_len = len(arr) \n if (arr_len < 2): \n return (\"No pairs exists\") \n x = arr[0]; y = arr[1] \n for i in range(0,arr_len): \n for j in range(i + 1,arr_len): \n if (arr[i] * arr[j] > x * y): \n x = arr[i]; y = arr[j] \n return x,y ", "out": "1", "pred": "1"} {"in": "gets(*(pi+i));ok=1;m=strlen(*(pi+i));if ((*(*(pi+i))>='A'&&*(*(pi+i))<='Z')||(*(*(pi+i))>='a'&&*(*(pi+i))<='z')||(*(*(pi+i))=='_'))for (j=1;j='A'&&*(*(pi+i)+j)<='Z')||(*(*(pi+i)+j)>='a'&&*(*(pi+i)+j)<='z')||(*(*(pi+i)+j)=='_')||(*(*(pi+i)+j)>='0'&&*(*(pi+i)+j)<='9'));elseok=0;elseok=0; printf(\"%d\\n\",ok);}free(pi);return 0;}int main()//???????????,??????????int n;scanf(\"%d\\n\",&n);int *num;num=(int *)malloc(n*sizeof(int));int i,j;for(i=0;i='A'&&origin_string[j]<='Z')||(origin_string[j]>='a'&&origin_string[j]<='z')||(origin_string[j]>='0'&&origin_string[j]<='9')){check=1;}else{ check=0;break;} } printf(\"%d\\n\",check); }}int main(){char a[80];int n,i,k=0;scanf(\"%d\\n\",&n);while (n>0){k=0;gets(a);if ((a[0]>='a'&&a[0]<='z')||(a[0]>='A'&&a[0]<='Z')||(a[0]=='_')){for (i=1;i<=79;i++)", "out": "1", "pred": "1"} {"in": "Ich bin hingeflogen, habe es mir angeschaut und gesagt – das ist es, hundert Prozent.“Ihr Vater bestand aber auf eine Ausbildung an der Harfe, weil er der Meinung war, dass es viele gute Pianisten und nur wenige gute Harfenisten gab.Desprez war von ganz Paris der am besten informierte über Vorgänge an der Börse, die sich auf Staatsgelder stützten.Die Ehrenfels blieb bis 1943 auf der Reede von Mormugoa.Theodericus Monachus, um 1172, beschrieb eine Kapelle am Weg, in der über 100 Stufen in eine Grotte mit Leichen hinab führen.Diese Publikationen erschienen jährlich und wurden im Jahre 2018 eingestellt.Bei dieser Partie spielte Soyak von Beginn an und gab so sein A-Länderspieldebüt.", "out": "0", "pred": "0"} {"in": "Itheann sé síolta.", "out": "0", "pred": "0"} {"in": "private static void processFile(String file) throws IOException {FileInputStream in = new FileInputStream(file);int read = 0;byte[] buf = new byte[2048];ByteArrayOutputStream bout = new ByteArrayOutputStream();while ((read = in.read(buf)) > 0) bout.write(buf, 0, read);in.close();String converted = bout.toString().replaceAll(\"@project.name@\", projectNameS).replaceAll(\"@base.package@\", basePackageS).replaceAll(\"@base.dir@\", baseDir).replaceAll(\"@webapp.dir@\", webAppDir).replaceAll(\"path=\\\"target/classes\\\"\", \"path=\\\"src/main/webapp/WEB-INF/classes\\\"\");FileOutputStream out = new FileOutputStream(file);out.write(converted.getBytes());out.close();}private static void copyFile(String from, String to) throws IOException {FileReader in = new FileReader(from);FileWriter out = new FileWriter(to);int c;while ((c = in.read()) != -1) out.write(c);in.close();out.close();}public void load(boolean isOrdered) throws ResourceInstantiationException {try {if (null == url) {throw new ResourceInstantiationException(\"URL not specified (null).\");}BufferedReader listReader;listReader = new BomStrippingInputStreamReader((url).openStream(), encoding);String line;int linenr = 0;while (null != (line = listReader.readLine())) {linenr++;GazetteerNode node = null;try {node = new GazetteerNode(line, separator, isOrdered);} catch (Exception ex) {throw new GateRuntimeException(\"Could not read gazetteer entry \" + linenr + \" from URL \" + getURL() + \": \" + ex.getMessage(), ex);}entries.add(new GazetteerNode(line, separator, isOrdered));}listReader.close();} catch (Exception x) {throw new ResourceInstantiationException(x.getClass() + \":\" + x.getMessage());}isModified = false;}public int executeBatch(String[] commands, String applicationid) throws Exception {Statement statement = null;int errors = 0;int commandCount = 0;Connection conn = null;try {conn = getConnection(applicationid);conn.setAutoCommit(false);statement = conn.createStatement();for (int i = 0; i < commands.length; i++) {String command = commands[i];if (command.trim().length() == 0) {continue;}commandCount++;try {log.info(\"executing SQL: \" + command);int results = statement.executeUpdate(command);log.info(\"After execution, \" + results + \" row(s) have been changed\");} catch (SQLException ex) {throw ex;}}conn.commit();log.info(\"Executed \" + commandCount + \" SQL command(s) with \" + errors + \" error(s)\");} catch (SQLException ex) {if (conn != null) {conn.rollback();}throw ex;} catch (Exception e) {if (conn != null) {conn.rollback();}throw e;} finally {statement.close();}return errors;}public static String encripty(String toEncripty) {if (toEncripty != null) {try {synchronized (toEncripty) {java.security.MessageDigest md = java.security.MessageDigest.getInstance(\"MD5\");md.update(toEncripty.getBytes());byte[] hash = md.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < hash.length; i++) {if ((0xff & hash[i]) < 0x10) hexString.append(\"0\" + Integer.toHexString((0xFF & hash[i]))); else hexString.append(Integer.toHexString(0xFF & hash[i]));}toEncripty = hexString.toString();}} catch (Exception e) {e.getMessage();}}return toEncripty;}private void getXMLData() {String result = null;URL url = null;URLConnection conn = null;BufferedReader rd = null;StringBuffer sb = new StringBuffer();String line;try {url = new URL(this.url);conn = url.openConnection();rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));while ((line = rd.readLine()) != null) {sb.append(line + \"\\n\");}rd.close();result = sb.toString();} catch (MalformedURLException e) {log.error(\"URL was malformed: {}\", url, e);} catch (IOException e) {log.error(\"IOException thrown: {}\", url, e);}this.xmlString = result;}public String getRandomGUID() {MessageDigest md5 = null;String valueBeforeMD5 = \"\";String retValue = \"\";try {md5 = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException e) {System.out.println(\"Error: \" + e);}StringBuffer sbValueBeforeMD5 = new StringBuffer();try {InetAddress id = InetAddress.getLocalHost();long time = System.currentTimeMillis();long rand = 0;rand = random.nextLong();sbValueBeforeMD5.append(id.toString());sbValueBeforeMD5.append(Long.toString(time));sbValueBeforeMD5.append(Long.toString(rand));valueBeforeMD5 = sbValueBeforeMD5.toString();md5.update(valueBeforeMD5.getBytes());byte[] array = md5.digest();StringBuffer sb = new StringBuffer();for (int j = 0; j < array.length; ++j) {int b = array[j] & 0xFF;if (b < 0x10) {sb.append('0');}sb.append(Integer.toHexString(b));}retValue = sb.toString();} catch (UnknownHostException e) {System.out.println(\"Error:\" + e);}return retValue;}public static String encrypt(String password) {String sign = password;try {java.security.MessageDigest md = java.security.MessageDigest.getInstance(\"MD5\");md.update(sign.getBytes());byte[] hash = md.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < hash.length; i++) {if ((0xff & hash[i]) < 0x10) hexString.append(\"0\" + Integer.toHexString((0xFF & hash[i]))); else hexString.append(Integer.toHexString(0xFF & hash[i]));}sign = hexString.toString();} catch (Exception nsae) {nsae.printStackTrace();}return sign;}public static String encode(String username, String password) {try {MessageDigest digest = MessageDigest.getInstance(\"SHA-1\");digest.update(username.getBytes());digest.update(password.getBytes());return new String(digest.digest());} catch (Exception e) {Log.error(\"Error encrypting credentials\", e);}return null;}public String process(URL url) throws IOException {String line, results = \"\";InputStream is = url.openStream();BufferedReader dis = new BufferedReader(new InputStreamReader(is));while ((line = dis.readLine()) != null) {results += line + \"\\n\";}System.out.println(results);return results;}", "out": "1", "pred": "1"} {"in": "Die höherpreisigen Bildagenturen hatten oftmals intransparente und langwierige Aufnahmeprozeduren, während iStock eine einfache Anmeldung über das Internet ermöglichte.Dennoch entwickelte sich auch Moskau massiv.In Spitzenzeiten müssen geringe Mengen Strom aus dem Ausland zugekauft werden.Neben den Sommerkonzerten veranstaltet Audi hier die Weihnachtskonzerte, ein eigenes Programmkino und eine Jazzreihe.Seinen größten Erfolg errang er im Jahr 1960 mit dem Gewinn des rumänischen Pokals.Leinen bestehen meist aus Lederriemen und Schnallen (manchmal auch Schlaufen).Im Juni 2009 wurden zwei Straßen in der Stadt Wadern nach ihren Ehrenbürgern umbenannt: der Esperantoweg in Schwester-Adelsindis-Weg und der Nordring in Franz-Haas-Straße.", "out": "0", "pred": "0"} {"in": "gets(num);n=atoi(num);while(n--){check=1;gets(name);len=strlen(name);for(i=0;i='A'&&name[i]<='Z')||(name[i]>='a'&&name[i]<='z')){continue;}else{check=0;break;}}else{if((name[i]>='A'&&name[i]<='Z')||(name[i]>='a'&&name[i]<='z')||(name[i]>='0'&&name[i]<='9')||(name[i]=='_')){continue;check=0;break;}}}printf(\"%d\\n\",check);}}main(){ int n,i,j,l,x=1; char c[1000],s[10]; gets(s); n=atoi(s); for(i=0;i='A'||Char[k][0]<='z'&&Char[k][0]>='a'||Char[k][0]=='_') // ??????????????? {for (i=1;i<100;i++) { if ( Char[k][i]==0) //???????????????????1 {cout<<1<='A')+(Char[k][i]<='z'&&Char[k][i]>='a')+(Char[k][i]<='9'&&Char[k][i]>='0')+(Char[k][i]=='_')==0) //?????0 { cout<<0<='A'&&origin_string[0]<='Z')||(origin_string[0]>='a'&&origin_string[0]<='z')){", "out": "1", "pred": "1"} {"in": "import re\ndef text_starta_endb(text):\n patterns = 'a.*?b$'\n return re.search(patterns, text)", "out": "1", "pred": "1"} {"in": "int n,len,check;int i;char name[81],num[10];gets(num);n=atoi(num);while(n--){check=1;gets(name);len=strlen(name);for(i=0;i='A'&&name[i]<='Z')||(name[i]>='a'&&name[i]<='z')){continue;}else{check=0;break;}if((name[i]>='A'&&name[i]<='Z')||(name[i]>='a'&&name[i]<='z')||(name[i]>='0'&&name[i]<='9')||(name[i]=='_')){continue;}else{check=0;break;}}}printf(\"%d\\n\",check);}}main(){ int n,i,j,l,x=1; char c[1000],s[10]; gets(s); n=atoi(s);", "out": "1", "pred": "1"} {"in": "f=0; int l=strlen(p[i]); for(int u=0;u<=l-1;u++) { if(p[i][u]<=47||(p[i][u]>=58&&p[i][u]<=64)||(p[i][u]>=91&&p[i][u]<=94)||(p[i][u]>=123)||p[i][u]==96) f=1; } if(((p[i][0]=='_')||(p[i][0]>='a'&&p[i][0]<='z')||(p[i][0]>='A'&&p[i][0]<='Z'))&&f==0) printf(\"1\\n\"); else printf(\"0\\n\");}}int f(char c[]){int z,l=0,j;l=strlen(c);if(c[0]=='_'||(c[0]<91&&c[0]>64)||(c[0]<123&&c[0]>96)){for(j=0;j='a')||(c[j]<='Z'&&c[j]>='A')||(c[j]<='9'&&c[j]>='0'))z=1;else{return 0;break;}}}else{", "out": "1", "pred": "1"} {"in": "The blades used are blunt, but they are much heavier than a sport fencing sword, which means the fencers need much more armour.It is a container in the problem but must be used as a shelf in the solution.The name santería was originally a negative term for those whose worship of saints deviated from Catholic norms.This means that dry suits can be worn for scuba diving in very cold ocean water, such as the Arctic ocean.Because of this, humans could not remain sinless.The modern city was established on September 1, 1954.This is the part of the camera that is made specially so that lenses can be attached.", "out": "0", "pred": "0"} {"in": "El alma debe dar lo que san Juan de la Cruz llamó «un ciego y oscuro salto», del que solo la puede salvar Dios mismo, si quiere.Las hendiduras que quedan tras alimentarse son evidencia usada por los investigadores sobre el terreno para determinar la presencia de loris perezosos en el área.Aunque la tortuga no caza activamente a su presa, puede detectar señales quimiosensoriales de la presa, para elegir el lugar en el que es más probable que atrape comida.Ammodiscellites incluye a las siguientes especies: Encyclopedia of the Life, en http://eol.Tenzin quiso consolar Korra cuando salió de la trastienda, pero Korra se fue del recinto en Naga.Algunas versiones señalan que también tuvo un hijo, llamado Nilo Anjmemifis.Área de juego de cada jugador, es donde los jugadores van poniendo sus sartenes con sus setas para cocinarlas, además de las cestas, que amplían en dos cartas la mano del jugador.", "out": "0", "pred": "0"} {"in": "AD, a bheag nó a mhór.", "out": "0", "pred": "0"} {"in": "このような追い風を受け、1887(明治20)年1月、演劇改良会は法人の創設を目指すことを決めた。イギリスまで駆けつけた友人たちのおかげで真実が明らかになり、偽フォントルロイ卿は父親のベンジャミンに連れられてアメリカへ、セドリックは再びフォントルロイ卿となり、さらに祖父と和解した母や、友人たちとともに幸せに暮らすことになった。出征前に体を重ねた主人公のことを忘れられずに自慰を繰り返し、帰還した彼と繰り返しまぐわう。また背部にマント状のパーツを設けることでパワーアップ感を強調しているがsfn、布のマントではなく、ウサギの耳や無限軌道を模したマントとなっているsfn。)の2つの抗HGF抗体が現在利用可能である。、各コンピューターに個別のグローバルIPアドレスが付与されるので、一般家庭、企業内LANともに、NAT越え・ファイヤーウォール越えが不要になるのでは、という見方があるが、セキュリティ的な見地から、ファイアーウォールとしてのIPパケットフィルタは何らかの形で設けられるであろうことから、これをどのように越えるかが課題である。、補欠選挙1回を含めて1947年から2004年まで保守系候補が21連勝を続けていた。無料版のOpenLM Lightもあった。基準年はどの年であってもよい。、他の大部分の歩道橋・信号機・", "out": "0", "pred": "0"} {"in": "[value for key, value in list(programs.items()) if 'new york' in key.lower()]sys.path.append('/path/to/main_folder')re.findall('\\\\d+(?=[^[]+$)', s)pickle.load(open('afile', 'rb'))driver.find_element_by_xpath('xpath').click()ex.groupby(level='A').agg(lambda x: x.index.get_level_values(1).nunique())pd.concat(map(pd.DataFrame, iter(d.values())), keys=list(d.keys())).stack().unstack(0)sum(1 for i, j in zip(a, b) if i != j)d = {(a.lower(), b): v for (a, b), v in list(d.items())}list_.sort(key=lambda x: [x[0], len(x[1]), x[1]])s.strip()s = s.lstrip()s = s.rstrip()s = s.strip(' \\t\\n\\r')print(re.sub('[\\\\s+]', '', s))", "out": "1", "pred": "1"} {"in": "Plastic handcuffs, are lightweight plastic strips that look like electrical cable ties.Not many people have been stung by a Tarantula hawk but people who have say that it is so painful that they can not think of doing anything but scream.It was published in 1893.He took revenge and along with Sukhdev he attacked the officials car and beated them with clubs and sticks and escaped unnoticed in the night.Gomez tried to tell Selena that Saldivar was \"bad news\".Burkina Faso is made up of two major types of countryside.Union forces quickly arrived to turn back the Confederates to their own lines.", "out": "0", "pred": "0"} {"in": "Si rendono conto, però, dell'enorme pericolosità dell'amico robot per tutte le forme di vita sul pianeta Terra.Carlo II intanto si era riavvicinato all'Imperatore di cui era divenuto cognato attraverso la moglie.Il maestro Oogway però si accorse della malvagità di Tai Lung, che voleva il potere della pergamena solo per se stesso, e gliela negò.La struttura di comando è stata snellita, riducendo in media del 61% il numero degli ufficiali nei ranghi tra il 2008 ed il 2012.Nel campionato seguente, sempre giocato in 1. divisjon, le marcature sono state 18 in 29 incontri: è giunto così terzo nella classifica marcatori.Altro elemento legato al santo è il fuoco sacro della purificazione, in ricordo delle tentazioni diaboliche di Sant'Antonio.Stampi di questo tipo arrivano a 150.000 stampate prima di essere rinnovati.", "out": "0", "pred": "0"} {"in": "def toggle_string(string):\n string1 = string.swapcase()\n return string1", "out": "1", "pred": "1"} {"in": "Die Eigenheimsiedlungen zeigten hingegen ein gemischtes Bild.In einem weltweiten Ranking von Personalverantwortlichen, das die New York Times im Oktober 2012 veröffentlichte, kam die Universität auf Platz 10 und ist vor allen anderen deutschen Universitäten gelistet.In der Nacht des Sturms überzeugte Ray Wei, ihr die Leseliste zu geben, die sie dem Instruktor Bai, einem Militäroffizier, der Greenwood zugeteilt wurde, übergab, in der Annahme, dass Yin gefeuert werden würde.Jährlich werden verschiedene größere Wohltätigkeitsveranstaltungen ausgerichtet.Optionen sind die häufigste Form, mit der Wetterrisiken abgesichert werden.Fredersdorf gehörte zu den ersten Dörfern, die deutsche Siedler von den Slawen übernahmen oder neben alten slawischen Standorten neu gründeten, wie auch der frühe Bau der Dorfkirche zeigt.Im Durchschnitt wuchs die chinesische Wirtschaftskraft von 2000 bis einschließlich 2019 jährlich um 8,9 %.", "out": "0", "pred": "0"} {"in": "a.insert(0, k)a = a[:n] + k + a[n:]np.flatnonzero(x).mean()df['just_date'] = df['dates'].dt.date[x for x in a if x not in b][''.join(x) for x in a]list(map(''.join, a))re.split('\\n\\\\s*\\n', s)from functools import reducereduce(lambda x, y: 10 * x + y, [1, 2, 3, 4, 5])\"\"\"{0:,.2f}\"\"\".format(24322.34)my_function(**data)sum((1 for line in open('myfile.txt')))def bufcount(filename):f = open(filename)lines = 0buf_size = (1024 * 1024)read_f = f.readbuf = read_f(buf_size)while buf:lines += buf.count('\\n')buf = read_f(buf_size)return linesprint(round(1123.456789, -1))[x for y, x in sorted(zip(Y, X))]", "out": "1", "pred": "1"} {"in": "He created the flag of Ghana.Crabbe was there because he was going to become a member of the Hall of Fame.Images of the insides of Stegoceras' fossilised skull showed two layers of dense bone that encase a spongy sinus held apart by tiny struts, has led some scientists to doubt this interpretation.Train services run on five lines that spread over the Perth metropolitan area.The National Symphony Orchestra, the Washington National Opera, and the Washington Ballet are all inside the John F. Kennedy Center for the Performing Arts.Sir Jeremy James Farrar main (born 1 September 1961) is a British medical researcher.It is celebrated on the 15th day of Chitra Pournami.", "out": "0", "pred": "0"} {"in": "En Chuquisaca, el movimiento revolucionario se sustentó en el célebre silogismo de Charcas: “Debemos obediencia sólo al rey, a quien hemos delegado nuestra soberanía.El 1 de octubre, dos meses después de su desaparición, una nueva convocatoria reunió a decenas de miles de personas en la Plaza de Mayo y en distintas ciudades argentinas.\"Curso Superior de Probática Judicial: Cómo probar los hechos en el proceso\": Muñoz Sabaté, Lluis.«El juego del ajedrez tiene significados místicos.; Afuste de potro: Parte de la máquina llamada potro en la que se aseguraban las piezas de artillería para trabajarlas.Los modelos Club Sport solo estaban disponibles oficialmente en el Reino Unido, Europa, Japón y Australia, aunque en el \"mercado paralelo\" los coches se podían encontrar en cualquier parte.Por otra parte fue mejor funcionario público por el Colegio de Economistas.", "out": "0", "pred": "0"} {"in": "Силуэт мощных арок, несущих галерею повторен в изящных и богато орнаментированных окнах галереи, которая является основным зрительным центром композиции.Автор бестселлера (1950) и десятка других книг.После достижения независимости Мексики и создания штата Коауила, Сальтильо в 1824 году стал столицей этого штата.Крещена была 16 июля 1851 года в придворной Петропавловской церкви в Петергофе, крестница императрицы Александры Фёдоровны и цесаревича Александра Николаевича ЦГИА СПб.Pan Am и Northwest Orient стали использовать Ханэду в качестве азиатского регионального хаба.Канал подвода воздуха к радиатору резко расширялся, это приводило к тому, что скорость воздушного потока обдувающего радиатор уменьшалась и повышалась эффективность охлаждения.Венгр уступил по очереди и Ломидзе, и Айику, и остался с бронзовой наградой.Хедлунд завоевал бронзовую медаль на дистанции 5000 метров, принеся Швеции первую олимпийскую медаль в конькобежном спорте.А я любил играть в эту игру дома.Великолепно проведя дебютный сезон в составе «", "out": "0", "pred": "0"} {"in": "Il suo ultimo libro, De mythe van het vrije ik.Il videoclip che accompagna il brano è stato diretto da Fabrizio Cestari.Franco e il suo socio Michele (che tra l'altro è anche suo cognato) pagano al ministro una tangente e cercano una ragazza che vada a letto con lui, dato che quella con cui avevano concordato era stata investita da un'auto la sera prima.Wick, borgo reale, funse la centro amministrativo della contea.Essa (sostituibile dopo usura intensa) permette di mantenere la canna perfettamente bloccata all'atto dello sparo ed evitare qualsiasi gioco.Non essendoci professionismo sportivo nel Blocco Sovietico, questi giocatori erano classificati come dilettanti, nonostante giocassero nella massima serie sovietica e partecipassero alle competizioni internazionali di club.Luigi Brugnaro inizia il suo percorso imprenditoriale nel 1984 fondando la sua prima azienda nel settore delle risorse umane.", "out": "0", "pred": "0"} {"in": "all(isinstance(x, int) for x in lst)line.strip()driver.execute_script('window.scrollTo(0, Y)')driver.execute_script('window.scrollTo(0, document.body.scrollHeight);')datetime.datetime.combine(dateobject, datetime.time())print(any(x in a for x in b))scipy.misc.imsave('outfile.jpg', image_array)item = re.sub(' ?\\\\([^)]+\\\\)', '', item)item = re.sub(' ?\\\\(\\\\w+\\\\)', '', item)item = re.sub(' \\\\(\\\\w+\\\\)', '', item)len(set(list1).intersection(list2)) > 0i = int(s, 16)int('0xff', 16)int('FFFF', 16)ast.literal_eval('0xdeadbeef')", "out": "1", "pred": "1"} {"in": "Forbairt gnéasach leanaí.", "out": "0", "pred": "0"} {"in": "Très peu de documents sont disponibles concernant ce véhicule, seul un rapport d'homologation fait mention de sa capacité extraordinaire de traction de 111 tonnes lors de son homologation.Connu pour préférer les pruches, il est également associé dans les forêts de haute altitude à l'Les militaires sont des soudards ivrognes, des illettrés brutaux et dangereux.Lorsque le contrôle du gouvernail a été perdu, le Huáscar a commencé à faire un large cercle à tribord.De 1901 à 1906, La Carlota prend part à la résistance contre l'invasion des Philippines (et de l'île de Negros) par les États-Unis.Troisième d’une famille de douze enfants elle est la fille de Matteo Giannini et Giustina Bastiani.Même chose plus tard quand la région fut conquise par les Lombards, qui installèrent aussi dans la ville un administrateur royal appelé gastaldo.", "out": "0", "pred": "0"} {"in": "Rémy (1989) p. 302 fra gli anni 138/139 e 139/140.HDZ mantenne sostanzialmente inalterato il proprio consenso (14,1%) ed elesse 8 seggi.Il 15 giugno 1925, la RSSA Kirghisa venne ribattezzata Repubblica Socialista Sovietica Autonoma Kazaka.Blair e Chuck hanno cominciato una sfida per vedere chi dirà per primo \"ti amo\" all'altro.Il muso è lungo e sottile, gli occhi sono relativamente piccoli.Callum abbraccia il suo retaggio da Assassino e, avendo assimilato pienamente le memorie genetiche e le abilità del suo antenato, si unisce agli Assassini scappando dalla struttura.Rappresenta l'esordio di Lino Banfi in un ruolo drammatico.", "out": "0", "pred": "0"} {"in": "年末、下京区堺町通に移転 :引数 archiveurl と archivedate は両方を指定してください。同本部総務課長を経て、1944年(昭和19年)6月、同本部教育部長に就任 。これはJR東日本以外のJR各社の中では最も多いが、在来線4388.そのひとつがジューストップ(Juice Top)と呼ばれるもので、缶の開口部に別体の金属部分を取り付けたものである。この性質は複素平面上の正則条件に相当する。また当時としては珍しいWeb連載形式を生かす試みとして、読者からの感想や(キャラクターへの)応援メールを「20世紀末から届いたクリスマスプレゼント」と称して第3部『ジークフリート』本編で2000年のクリスマスに一斉公開し、ハーロック・トチロー少年や幼いメーテル・エメラルダス姉妹を喜ばせるキャンペーンもあった。アントリム県におけるドニゴール=キャリクファーガスにおけるイニショーウェンのイニショーウェン=キャリクファーガス男爵(Baron Ennishowen and Carrickfergus, of Ennishowen in the County of Donegal and of Carrickfergus in the County of Antrim)に叙された物である。」用に書かれたものであったが、紀元前278年に形成された後、しばらくの間はスコルディスキについてほとんど何も記録されていない。ファウスティーナはクッツォーニとは対照的だった。", "out": "0", "pred": "0"} {"in": "Elles ne réaliseront donc pas leurs anticipations de production, la demande effective sera donc moindre, le déséquilibre se fera ressentir sur le marché des biens et services puis sur le marché du travail: le chômage involontaire Keynésien se développe.Charles Aigre fut entre autres l'imprimeur des Bulletins et mémoires de la Société académique de l'arrondissement de Boulogne sur Mer (bulletins et mémoires disponibles sur Gallica ).En outre, cette préoccupation ne concerne pas uniquement les grandes entreprises.Son premier mari est emprisonné lors d’une campagne militaire.Jean-Luc se choisit pour aller chez les rouges.Une conception robuste de la prévention des grandes pannes demande de s’appuyer sur une organisation conceptuelle rigoureuse.Son second fils de Charles-Philibert fondera la branche de d'Este-Dronero.", "out": "0", "pred": "0"} {"in": "from collections import defaultdict\ndef max_aggregate(stdata):\n temp = defaultdict(int)\n for name, marks in stdata:\n temp[name] += marks\n return max(temp.items(), key=lambda x: x[1])", "out": "1", "pred": "1"} {"in": "cout << \"0\" << endl;f = 1;break;}if (f == 0)cout << \"1\" << endl;}return 0;}int main(){int n;cin >> n;cin.get();for (int i = 1; i <= n; i++){int l, t;cin.getline(str, 85);l = strlen(str);if ((str[0] == '_') || (str[0] >= 'a' && str[0] <= 'z') || (str[0] >= 'A' && str[0] <= 'Z')){for (t = 1; str[t] != '\\0'; t++){if (!((str[t] == '_') || (str[t] >= 'a' && str[t] <= 'z') || (str[t] >= 'A' && str[t] <= 'Z') || (str[t] >= '0' && str[t] <= '9'))){cout << \"0\" << endl;break;}}if (t == l)cout << \"1\" << endl;}else", "out": "1", "pred": "1"} {"in": "def closest_num(N):\n return (N - 1)", "out": "1", "pred": "1"} {"in": "スタイリングは先代の2ドア+グラスハッチバッククーペスタイルを受け継いでいるが、構造的には全く異なり、」交通情報(土曜日、17:30頃)株価連動型の人工知能であり :引数 archiveurl と archivedate は両方を指定してください。物語内では「アセリア暦」と呼ばれる暦が使われている(舞台となる年代は4200年頃から4350年頃まで)。合計18人の著名なデザイナー・写真家らが参加。志の輔のスタートコールで、運ガメルーレットの上に設置された小ガメルーレットが勢い良く回り、解答者は適当な所でストップボタンを押し、小ガメルーレットの針が指した所の得点が加点or減点される。川淵はJ加入条件を徐々に上げるが、住金側はそれらのハードルを乗り越え、最後にダメ押しのつもりでやんわりと「スタジアムが屋根付きなら考えない事もありません」と諦めさせる為に言ったつもりだったが屋根架設のメドを取り付け、断る理由が全て無くなった川淵は絶句する。、束縛間(\"bound–bound\")遷移と呼ばれることもある。その後、レナードの居住区の修理のためや、シェリーの居住区近くに開いた穴を埋め再登場した。筆の速さはやはり多作であった石ノ森章太郎のアシスタント時代に養われたものであるようで 『", "out": "0", "pred": "0"} {"in": "Bugs Bunny entame enfin la rhapsodie, avec grâce et dextérité, même s'il s'accorde une petite pause-carotte et s'emmêle véritablement les doigts sur un passage délicat à exécuter.De nos jours, avec le montage virtuel et la conformation du négatif original, ou la manipulation des éléments numérisés, le clap est toujours aussi indispensable.Le 2 ventôse an II (20 février 1794) est établi le bail des jardins du chapitre (en même temps que le bail des jardins du couvent des sœurs noires de Bourbourg ).Il est rapidement traduit et édité en anglais, français et néerlandais et est utilisé, pour leurs projets, par de nombreux architectes.Il soupçonne Vito et Joe d'être impliqué dans l'attaque contre le camp Clemente, et de son propre aveux, leur déguisements laissait à désirer, même si Vito nie sur un ton peu crédible.En 2013, il crée, en tant qu’associé, une société dont il se retire lors de son entrée au gouvernement.Eisenhower et les démocrates de la Chambre s'entendent pour financer le système par le biais du Highway Trust Fund, abondé par une taxe sur l'essence.", "out": "0", "pred": "0"} {"in": "空属性のグルモンが多く生息し、様々な悪天候も襲いかかる。。1974年にオルデンドルフは「ルフトクアオルト」(空気の清浄な保養地)となり、1981年にホルツハウゼン区、1993年にはベルニングハウゼン区が同じ肩書きを得た。2007年12月にホルツハウゼンは州認可の湯治場となり、これ以後名前に「バート」(浴場を意味する)がつけられた。1939年に空軍給油基地ルフトアンクラーガー2/VIとして建設され、敷地の一部はニーダーザクセン州に及ぶ燃料基地の軍事利用が1998年に終了した。』で金曜日レギュラーの草彅、そしてゲストの稲垣本人と共演した。、最終的には日独伊ソの四ヶ国による同盟を締結するユーラシア枢軸(「日独伊ソ四国同盟構想」)によって、国力に優位であるアメリカに対抗することが目的とされるようになった。現代に現れた監視人たちは未来から送り込まれた12人の科学者である。教会は重要な人物によって組織され、指導されていたので、時代の流れの中で徐々にその重要性を増していった。最後のケープカナベラルからのタイタンロケットの打ち上げは2005年4月29日に成功した。地域によっては、アクセスポイントが新たに開設されると放送される電話番号も変わった。本人は自分の目的を「復讐」と称している。また、軸流圧縮機の後段に遠心圧縮機が設置されるような場合もある。", "out": "0", "pred": "0"} {"in": "Más de 150 millones de personas han visitado la torre desde su inauguración a finales de 1958.Nave románica donde se celebraba diariamente la ceremonia del almuerzo.Después de que Lena se cura del veneno, tiene un momento con su madre mientras Lilian y Morgan son arrestadas por las autoridades por sus respectivas derrotas a manos de Supergirl.Este movimiento se puede hacer mediante una consola o teclado mediante el cual se pueden manejar las diversas opciones del software instalado en ésta.El niño finalmente muestra características extrañas, que preocupa Shinkichi.La respetuosa restauración llevada a cabo sobre las partes afectadas permite hoy contemplar en todo su valor las destacadas cualidades arquitectónicas del monumento original.El único programa vigente a la fecha, es el convenio con Fedecacao que se está terminando de ejecutar y otro que se va a firmar este año, para la siembra de 20-30 hectáreas por año.", "out": "0", "pred": "0"} {"in": "arr[arr[:, (2)].argsort()]numpy.sort(arr, axis=0)re.split('[ .]', 'a b.c')shutil.copy('file.txt', 'file2.txt')print(''.join(choice(ascii_uppercase) for i in range(12)))[''.join(seq) for seq in zip(lst, lst[1:])]data.rename(columns={'gdp': 'log(gdp)'}, inplace=True)print(soup.get_text())sorted(li, key=operator.itemgetter(1), reverse=True)data['sex'].replace([0, 1], ['Female', 'Male'], inplace=True)re.split('\\\\W+', 'Words, words, words.')re.match('(.*?[.?!](?:\\\\s+.*?[.?!]){0,1})', phrase).group(1)print([a for a, b in re.findall('((\\\\w)\\\\2*)', s)])print(' '.join(OrderedDict.fromkeys(s)))print(' '.join(set(s)))", "out": "1", "pred": "1"} {"in": "В Кишинёве же Фихман начал писать стихи на иврите, идише и русском языке.Однако данный короткометражный фильм никогда не демонстрировался в широком прокате, лишь иногда его включали на некоторых ретроспективных показах картин Уотерса.Он поселился в Эрленвальде под именем Йож.В матче 3-го тура против «На карте отображены 1293 объекта, в том числе 993 населённых пункта и 153 реки.Номера для мотоциклов, прицепов, тракторов и другой спецтехники изготавливаются аналогично, но их размеры составляют 185x245 мм.Вид H. corymbosa выращивают на солнечных местах на большинстве типов почв, желательно в умеренном климате, где выпадает более 400 мм осадков в год. В тенистых местах имеет тенденцию к удлинённому росту.Другой подход исходит из культурологической природы ландшафта.Супруги стали свидетелем порохового взрыва 12 октября 1654 года.Огромные территории заняты вейниковыми, вейнико-разнотравными, вейнико-осоковыми лугами и кочкарно-травяными болотами.", "out": "0", "pred": "0"} {"in": "Tragflächen) ist bei Marschgeschwindigkeit weniger effizient, was die Reichweite, Nutzlast und Ausdauer reduziert; ferner ist die Landegeschwindigkeit höher.Am 2. Jänner 1838 erhielt Sina eine vorläufige Baugenehmigung für die beantragten Bahnstrecken, aber kein ausschließliches Privileg.Die junge britische Mannschaft folgte mit einiger Entfernung auf dem zweiten Platz, alle anderen Equipen waren weit abgeschlagen.In einem offiziellen Katalog der Ziele wurden zehn Forderungen aufgestellt, die John F. Kennedy in seiner Bürgerrechtspolitik unterstützten und die von zehn Rednern in jeweils fünf Minuten dargestellt werden sollten.Während der Drehung schnappt eine federnde Nase in eine Aussparung des zu drehenden Satzstückes, worauf das Satzstück bei stillstehender Patrone sich bis zur Vollendung der Tempierung an der Drehung des Räderwerks beteiligt.Bestseller aus dieser Zeit sind „Kochen heute“ und „Backvergnügen wie noch nie“.Die Brut wird mit Heuschrecken versorgt.", "out": "0", "pred": "0"} {"in": "Chadwick, as Secretary of State and second in the gubernatorial line of succession, was innagurated to fill out the remaining year of Governor Grover's term.Premchand was left responsible for his stepmother and step-siblings.Since October 2018, most of the URLs have changed from x.wikia.com to x.fandom.com this does not include wikis based on serious topics which instead changed to x.wikia.org.He was the Chief Justice of the Georgia Supreme Court in the United States from 2017 to 2018.He has a vehicle called the Vamoosh which he can use to travel under the water, in the air or through space.They are the rarest oxidation state.The county seat is Orangeville.", "out": "0", "pred": "0"} {"in": "list(d.items())for (k, v) in list(d.items()):passfor (letter, number) in list(d.items()):passfor (letter, number) in list(d.items()):passsession.query(Task).filter(Task.time_spent > timedelta(hours=3)).all()os.system('msbuild project.sln /p:Configuration=Debug')max(list(MyCount.keys()), key=int)os.system('source .bashrc; shopt -s expand_aliases; nuke -x scriptPath')my_function.__name__my_function.__name__np.all(a == a[(0), :], axis=0)sorted(a, key=lambda x: (sum(x[1:3]), x[0]))sorted(a, key=lambda x: (sum(x[1:3]), x[0]), reverse=True)sorted(lst, key=lambda x: (sum(x[1:]), x[0]))sorted(lst, key=lambda x: (sum(x[1:]), x[0]), reverse=True)", "out": "1", "pred": "1"} {"in": "Shasana é Sparkbrook.", "out": "0", "pred": "0"} {"in": "def Split(list): \n od_li = [] \n for i in list: \n if (i % 2 != 0): \n od_li.append(i) \n return od_li", "out": "1", "pred": "1"} {"in": "Below are charts showing all the different sizes of paper that are usually made, listed in increasing order of size.The IWW pushed many unique ideas when it started.In 1985, he was awarded the Bavarian Film Award, Honorary Award.This period spanned the years from May 938 Nussbaum, Louis-Frédéric.Hence, the firm will be producing an output of Q in the diagram.It is one of the 20 best-selling albums of all time and the ninth best-selling album ever in the UK.Although Nikolai wanted to be a successful composer he was aware that he was not a great one.", "out": "0", "pred": "0"} {"in": "if(j==len)a[i]=1;else a[i]=0;}for(i=0;i='a'&&*(*(p+i))<='z')||(*(*(p+i))>='A'&&*(*(p+i))<='Z')){ for(j=0;j='a'&&*(*(p+i)+j)<='z')||(*(*(p+i)+j)>='A'&&*(*(p+i)+j)<='Z')||(*(*(p+i)+j)>='0'&&*(*(p+i)+j)<='9')){flag=0;}else{", "out": "1", "pred": "1"} {"in": "Les loris ont une fourrure dense mais courte, généralement grise ou brune, plus sombre sur le dos. Les yeux sont grands et orientés vers l'avant.Le poème est envoyé à Gonbei avec une lettre et deux pièces de monnaie en argent.C'est cette année-là, également, qu'il divorcera de Christine Roland pour épouser Heather Stoney.Mais c'est la Direction générale de la SOPAD qui a effectué unilatéralement la sélection des bénéficiaires de cette mesure d'apaisement.La Constitution de 1987 confirme ce droit de vote sans aucune condition de subordination masculine.La majeure partie des Naxiens s'enfuirent dans la montagne.Le prince Louis-Napoléon, président de la République, prête serment (20 décembre 1848).", "out": "0", "pred": "0"} {"in": "Die Transportleitung nimmt dagegen die Verkehrs-, Fahrzeug- und Personaldisposition sowie die Aufgaben zur Fahrgastinformation wahr.S. 406 ; mit Friedrich von Egloffstein (1371–1376) war erstmals ein Landkomtur zugleich Komtur von Ellingen.Im Volksmund wurde das Fahrzeug auch Dreikantfeile genannt.Rebsorten können differenziert werden.Verlag Aachener Geschichtsverein, Aachen 1974.Gegenwärtig sind 14 Unternehmen Mitglied im JAMA – nicht nur Automobilhersteller, sondern auch Lkw- und Motorradhersteller.Somit bestritt jede Mannschaft 34 Spiele.", "out": "0", "pred": "0"} {"in": "一時間に及ぶ会談において、小池は深く頭を垂れて戦争の終結を申し入れたという。前述の「ディズニー大会」の時はミッキーマウスの顔が使われている。東京都立両国高等学校・附属中学校の人物一覧(とうきょうとりつりょうごくこうとうがっこう・ふぞくちゅうがっこうのじんぶついちらん)は、優遇措置廃止は即ち価格競争力の低下を意味するため、この操作によって、気候など広い地域に共通に見られる環境変動のみを反映した年輪の広狭パターンが得られる。、世界中でこの原則に基づいて合計8つの同様のリフトが建設され、そのうち4台が元の機能を保った状態で保存されている。ドヴァーラヴァティー時代の建物では、縦30cm強、横16cmから19cm、厚さ6cmから9cmのものと、縦45~47cm、横22cmから24cm、厚さ10cm弱の二種類の煉瓦が用いられ、ミャンマーのピュー文化の建物の煉瓦と規格が酷似し、小さめのタイプが用いられることも共通している。ヒャーシャタルの盤は 10×10 の 100マスからなる。現在も存在する建造物は、櫓門(県指定文化財)と霞門(市指定文化財)があり、急速な進軍は、牡丹江前方に強固な初期防衛線を設置するという日本側の計画に先手を打ち、日本軍を早期に撤退させその戦力を分散させたsfn。", "out": "0", "pred": "0"} {"in": "Secondo la lista \"Global 200\"Vortek di eliminare Ango Sundata, capo della resistenza ribelle.Ha anche recitato in due fiction televisive nel 1982 e nel 2004.Attaccato ad essa si trova l'oratorio del SS. Sacramento, con annesso un vecchio ospedale.Questa voce raccoglie le informazioni riguardanti la Società Sportiva Pescara nelle competizioni ufficiali della stagione 1938-1939.In precedenza il potere spettava alla frazione degli Imenan, le cui donne godranno anche in seguito dell'epiteto nobiliare di timenukalin (femminile plurale di amenukal).L'acconciatura cambia a seconda degli anni di esperienza della maiko.", "out": "0", "pred": "0"} {"in": "Da quel momento non riesce più a tornare a buoni livelli.Dal maggio 2011 l'Alessandria ha in gestione il centro sportivo \"Ex Casermette\" in zona Cristo via Giovanni Falcone.A Colombes, invece, l'Italia mise a tacere ogni polemica extra-calcistica, dominando i magiari per tutta la durata dell'Nel caso di Charles, i due produttori capirono che sarebbe stato più conveniente e produttivo «lasciarlo in pace».Sono ammessi tutti i colori.Quest'ultimo, però, annunciò di non poter difendere il titolo per infortunio.Molto spesso gli abitanti dei vari pianeti, sotto gli inganni del serpente, non sono disposti ad aiutarlo ma alla fine il bene vince sempre.", "out": "0", "pred": "0"} {"in": "protected URLConnection getConnection(String uri, String data) throws MalformedURLException, IOException {URL url = new URL(uri);URLConnection conn = url.openConnection();conn.setConnectTimeout((int) MINUTE / 2);conn.setReadTimeout((int) MINUTE / 2);return conn;}void acessResource(ClassLoader cl, String resource) throws IOException {URL url = cl.getResource(resource);if (url == null) {println(\"Ups can't find resource \" + resource);} else {println(\"URL OK \" + resource + \" ->\" + url);InputStream is = url.openStream();try {is.read();} finally {is.close();}println(\"Read OK \" + resource + \" ->\" + url);}}void createAgentProgram(PrintStream ps, String agentName, String agentID) throws IOException, ConfigException {Agent agent = service.getAgent(agentName);File instanceDir = getInstanceDir();double agent_timeout_seconds = engine.getTimeout();String ii = \"\\\"\";String agentScript = \"agent-\" + agentName + \".py\";String serviceScript = \"service.py\";Set taskNames = agent.getTasks().keySet();File scriptDir = getService().getScriptDir();final boolean embedScripts = true;{ps.println(\"#!/bin/sh\");ps.println(\"umask 0077\");}for (String taskName : taskNames) {Task task = getService().getTask(taskName);String script = task.getScriptContent();if (embedScripts) {ps.println();ps.println(\"cat > \" + task.getFile() + \" << \" + ii + \"EOF_\" + task.getFile() + ii);ps.println(script);ps.println(\"EOF_\" + task.getFile());} else {File taskScriptFile = new File(instanceDir, task.getFile());PrintStream xs = new PrintStream(taskScriptFile);xs.print(script);xs.close();}}{PrintStream ss = null;if (embedScripts) {ps.println();ps.println(\"cat > \" + serviceScript + \" << \" + ii + \"EOF_\" + serviceScript + ii);ss = ps;} else {File serviceScriptFile = new File(instanceDir, serviceScript);ss = new PrintStream(serviceScriptFile);}service.createServiceScript(ss);if (embedScripts) ps.println(\"EOF_\" + serviceScript); else ss.close();}{URL url = new URL(engine.getAgentContextURL() + \"/\" + engine.getAgentURLPath());log.debug(\"url for agent = \" + url.toExternalForm());PrintStream as = null;if (embedScripts) {ps.println();ps.println(\"cat > \" + agentScript + \" << \" + ii + \"EOF_\" + agentScript + ii);as = ps;} else {File agentScriptFile = new File(instanceDir, agentScript);as = new PrintStream(agentScriptFile);}String tab[] = { \"\", \"\", \"\", \"\", \"\", \"\" };int i = 0;as.println(tab[i] + \"from wrapper import ZSIWrapper\");as.println(tab[i] + \"from service import Service\");as.println(tab[i] + \"import threading\");as.println(tab[i] + \"from sys import exit\");as.println();as.println(tab[i] + \"URL=\" + ii + url.toString() + ii);as.println(tab[i] + \"agentID=\" + ii + agentID + ii);as.println(tab[i] + \"instanceID=\" + instanceID);as.println(tab[i] + \"instanceKey=\" + ii + key + ii);as.println(tab[i] + \"timeout=\" + ii + agent_timeout_seconds + ii);as.println(tab[i] + \"stop_flag=0\");as.println(tab[i] + \"kill_flag=0\");as.println();as.println(tab[i] + \"# Need extra port for each thread, \" + \"ZSIWrapper (actually ZSI) not thread save\");as.println(tab[i] + \"port0=ZSIWrapper(URL, agentID, instanceID, instanceKey, timeout)\");as.println(tab[i] + \"port0.setAgentStatus(\" + Status.RUNNING.ordinal() + \")\");as.println();as.println(tab[i] + \"def create_namespace(service) :\");as.println(tab[i] + \"\" + ii + \"create a namespace for injection \" + \"into a task script and returns it.\" + ii);as.println(tab[i] + \"# first get most (not all) variables\");as.print(tab[i] + \"arglist = [ \");int counter = 0;for (VarAttributes va : attributesMap.values()) {counter++;String varname = va.getName();if (Constants.VAR_STDOUT.equals(varname)) continue;VarTypeEnum vartype = va.getType();switch(vartype) {case DOUBLE:case STRING:case LONG:case BOOLEAN:case CHOICE:as.print(tab[i] + \"'\" + varname + \"'\");if (counter != attributesMap.size()) as.println(\",\\\\\");break;case FILES:break;default:throw new RuntimeException(\"unkown data type in switch\");}}as.println(\"]\");as.println(tab[i] + \"vars=port0.getManyVars(arglist)\");as.println(tab[i] + \"namesp = vars \");as.println(tab[i] + \"namesp[ 'service' ] = service \");as.println(tab[i] + \"return namesp\");as.println();for (String taskName : taskNames) {Task task = getService().getTask(taskName);boolean background = task.isBackground();as.println(tab[i] + \"def task_\" + taskName + \"():\");{i++;as.println(tab[i] + \"try :\");if (background) {as.println(tab[i] + \"# as ZSIWrapper is not task save,\" + \" create a new one\");as.println(tab[i] + \"port_task=ZSIWrapper(URL, agentID, \" + \"instanceID, instanceKey, timeout)\");as.println(tab[i] + \"service = Service(port_task)\");} else {as.println(tab[i] + \"# this is foreground, \" + \"use port0 from current task\");as.println(tab[i] + \"service = Service(port0)\");}as.println(tab[i] + \"globals = create_namespace(service)\");as.println(tab[i] + \"locals = { }\");as.println(tab[i] + \"execfile('\" + task.getFile() + \"', globals, locals )\");as.println(tab[i] + \"except :\");as.println(tab[i] + \"port0.setTaskStatus('\" + taskName + \"', \" + Status.FAILED.ordinal() + \" )\");as.println(tab[i] + \"else :\");as.println(tab[i] + \"if kill_flag :\");as.println(tab[i] + \"task_exit_status = \" + Status.FAILED.ordinal());as.println(tab[i] + \"elif stop_flag :\");as.println(tab[i] + \"task_exit_status = \" + Status.TERMINATED.ordinal());as.println(tab[i] + \"else :\");as.println(tab[i] + \"task_exit_status = \" + Status.FINISHED.ordinal());as.println(tab[i] + \"port0.setTaskStatus('\" + taskName + \"', task_exit_status )\");as.println();i--;}}as.println(tab[i] + \"try:\");i++;as.println(tab[i] + \"tasklist = []\");as.println(tab[i] + \"action=None\");as.println(tab[i] + \"while action != '\" + Agent.STOP + \"' and action != '\" + Agent.KILL + \"' and action != '\" + Agent.FINISH + \"' :\");{i++;as.println(tab[i] + \"# print 'ACTION=', action\");as.println(tab[i] + \"action = port0.getAction()\");as.println(tab[i] + \"\");as.println(tab[i] + \"# cleanup tasklist (only to save memory)\");as.println(tab[i] + \"# In two cycles, don't change list during iter.\");as.println(tab[i] + \"to_be_removed = []\");as.println(tab[i] + \"for tr2 in tasklist:\");as.println(tab[i] + \"if (not tr2.isAlive()):\");as.println(tab[i] + \"to_be_removed.append(tr2)\");as.println(tab[i] + \"for tr3 in to_be_removed:\");as.println(tab[i] + \"# print 'old task removed: ',tr3.getName()\");as.println(tab[i] + \"tasklist.remove(tr3)\");as.println(tab[i] + \"\");as.println(tab[i] + \"if action == None :\");as.println(tab[i] + \"# print 'processing None'\");as.println(tab[i] + \"None\");as.println(tab[i] + \"if action == '\" + Agent.FINISH + \"' :\");as.println(tab[i] + \"# print 'processing FINISH'\");as.println(tab[i] + \"None\");as.println(tab[i] + \"elif action == '\" + Agent.STOP + \"' :\");as.println(tab[i] + \"stop_flag=1\");as.println(tab[i] + \"# print 'processing STOP'\");String onStop = agent.onStop;if (onStop != null) {String function = \"task_\" + onStop;as.println(tab[i] + \"\" + function + \"()\");}as.println(tab[i] + \"\");as.println(tab[i] + \"elif action == '\" + Agent.KILL + \"' :\");as.println(tab[i] + \"kill_flag=1\");as.println(tab[i] + \"# print 'processing KILL'\");String onKill = agent.onKill;if (onKill != null) {String function = \"task_\" + onKill;as.println(tab[i] + \"\" + function + \"()\");}as.println(tab[i] + \"# This would be the place \" + \"to kill external programs\");as.println(tab[i] + \"port0.setAgentStatus(\" + Status.FAILED.ordinal() + \")\");as.println(tab[i] + \"# exit without waiting for bg threads\");as.println(tab[i] + \"exit(13)\");as.println(tab[i] + \"\");for (String taskName : taskNames) {Task task = getService().getTask(taskName);boolean background = task.isBackground();as.println(tab[i] + \"elif action == '\" + Agent.TASK + taskName + \"':\");String function = \"task_\" + taskName;if (background) {as.println(tab[i] + \"# create, register and start task\");as.println(tab[i] + \"t = threading.Thread(target=\" + function + \", name='\" + function + \"')\");as.println(tab[i] + \"tasklist.append(t)\");as.println(tab[i] + \"t.start()\");} else {as.println(tab[i] + \"\" + function + \"()\");}}as.println(tab[i] + \"else :\");as.println(tab[i] + \"print 'undefined case in agent script iov0j23fds, \" + \"action=', action\");i--;}as.println();as.println(tab[i] + \"# wait for running background tasks\");as.println(tab[i] + \"# print 'remaining threads (inclides demonic ones!):'\" + \", threading.activeCount()\");as.println(tab[i] + \"# for tr in threading.enumerate():\");as.println(tab[i] + \"#print 'remaining thread: ',\" + \" tr.getName()\");as.println(tab[i] + \"for tr2 in tasklist:\");as.println(tab[i] + \"# print 'joining with ',tr2.getName()\");as.println(tab[i] + \"tr2.join()\");i--;as.println(tab[i] + \"# Set agent status\");as.println(tab[i] + \"except :\");as.println(tab[i] + \"port0.setAgentStatus(\" + Status.FAILED.ordinal() + \")\");as.println(tab[i] + \"else :\");as.println(tab[i] + \"if kill_flag :\");as.println(tab[i] + \"agent_exit_status = \" + Status.FAILED.ordinal());as.println(tab[i] + \"elif stop_flag :\");as.println(tab[i] + \"agent_exit_status = \" + Status.TERMINATED.ordinal());as.println(tab[i] + \"else :\");as.println(tab[i] + \"agent_exit_status = \" + Status.FINISHED.ordinal());as.println(tab[i] + \"port0.setAgentStatus( agent_exit_status )\");if (embedScripts) ps.println(\"EOF_\" + agentScript); else as.close();}for (String agentFileName : agent.getFilesSet()) {ps.println();File agentRelFile = new File(agentFileName);File directory = agentRelFile.getParentFile();if (directory != null) {ps.println(\"mkdir -p \" + directory.getPath());}ps.println(\"cat > \" + agentFileName + \" << \" + ii + \"EOF_\" + agentFileName + ii);File file = new File(scriptDir, agentFileName);byte bytes[] = FileUtils.readFileToByteArray(file);ps.write(bytes);ps.println();ps.println(\"EOF_\" + agentFileName);}if (embedScripts) {ps.println(\"SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0`\");ps.println(\"tail -n +$SKIP $0 | gzip -dc | tar x \");ps.println(\"python -u \" + agentScript);ps.println(\"exit 0\");ps.println(\"__ARCHIVE_FOLLOWS__\");java.io.InputStream istream = this.getClass().getClassLoader().getResourceAsStream(\"sc/fgrid/agent.tar.gz\");IOUtils.copy(istream, ps);} else {String pypath = engine.getAgentPythonPath();ps.println(\"export PYTHONPATH=\" + ii + pypath + ii);ps.println(\"python -u \" + agentScript);ps.println(\"exit 0\");}}private List retrieveData(String query) {List data = new Vector();query = query.replaceAll(\"\\\\s\", \"+\");String q = \"http://www.uniprot.org/uniprot/?query=\" + query + \"&format=tab&columns=id,protein%20names,organism\";try {URL url = new URL(q);BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));String line = \"\";reader.readLine();while ((line = reader.readLine()) != null) {String[] st = line.split(\"\\t\");String[] d = new String[] { st[0], st[1], st[2] };data.add(d);}reader.close();if (data.size() == 0) {JOptionPane.showMessageDialog(this, \"No data found for query\");}} catch (MalformedURLException e) {System.err.println(\"Query \" + q + \" caused exception: \");e.printStackTrace();} catch (Exception e) {System.err.println(\"Query \" + q + \" caused exception: \");e.printStackTrace();}return data;}public void add(Site site) throws Exception {DBOperation dbo = null;Connection connection = null;PreparedStatement preparedStatement = null;ResultSet resultSet = null;try {String sqlStr = \"insert into t_ip_site (id,name,description,ascii_name,site_path,remark_number,increment_index,use_status,appserver_id) VALUES(?,?,?,?,?,?,?,?,?)\";dbo = createDBOperation();connection = dbo.getConnection();connection.setAutoCommit(false);preparedStatement = connection.prepareStatement(sqlStr);preparedStatement.setInt(1, site.getSiteID());preparedStatement.setString(2, site.getName());preparedStatement.setString(3, site.getDescription());preparedStatement.setString(4, site.getAsciiName());preparedStatement.setString(5, site.getPath());preparedStatement.setInt(6, site.getRemarkNumber());preparedStatement.setString(7, site.getIncrementIndex().trim());preparedStatement.setString(8, String.valueOf(site.getUseStatus()));preparedStatement.setString(9, String.valueOf(site.getAppserverID()));preparedStatement.executeUpdate();String[] path = new String[1];path[0] = site.getPath();selfDefineAdd(path, site, connection, preparedStatement);connection.commit();int resID = site.getSiteID() + Const.SITE_TYPE_RES;String resName = site.getName();int resTypeID = Const.RES_TYPE_ID;int operateTypeID = Const.OPERATE_TYPE_ID;String remark = \"\";AuthorityManager am = new AuthorityManager();am.createExtResource(Integer.toString(resID), resName, resTypeID, operateTypeID, remark);site.wirteFile();} catch (SQLException ex) {connection.rollback();log.error(\"����վ��ʧ��!\", ex);throw ex;} finally {close(resultSet, null, preparedStatement, connection, dbo);}}public void delete(Site site) throws Exception {DBOperation dbo = null;Connection connection = null;PreparedStatement preparedStatement = null;ResultSet resultSet = null;try {String chkSql = \"select id from t_ip_doc where channel_path=?\";dbo = createDBOperation();connection = dbo.getConnection();connection.setAutoCommit(false);String[] selfDefinePath = getSelfDefinePath(site.getPath(), \"1\", connection, preparedStatement, resultSet);selfDefineDelete(selfDefinePath, connection, preparedStatement);preparedStatement = connection.prepareStatement(chkSql);preparedStatement.setString(1, site.getPath());resultSet = preparedStatement.executeQuery();if (resultSet.next()) {throw new Exception(\"ɾ��ʧ�ܣ�\" + site.getName() + \"���Ѿ����ĵ����ڣ�\");} else {String sqlStr = \"delete from t_ip_site where site_path=?\";dbo = createDBOperation();connection = dbo.getConnection();preparedStatement = connection.prepareStatement(sqlStr);preparedStatement.setString(1, site.getPath());preparedStatement.executeUpdate();}connection.commit();} catch (SQLException ex) {connection.rollback();throw ex;} finally {close(resultSet, null, preparedStatement, connection, dbo);}}public void update(Site site) throws Exception {DBOperation dbo = null;Connection connection = null;PreparedStatement preparedStatement = null;ResultSet resultSet = null;String exp = site.getExtendParent();String path = site.getPath();try {String sqlStr = \"update t_ip_site set id=?,name=?,description=?,ascii_name=?,remark_number=?,increment_index=?,use_status=?,appserver_id=? where id=?\";dbo = createDBOperation();connection = dbo.getConnection();connection.setAutoCommit(false);String[] selfDefinePath = getSelfDefinePath(path, exp, connection, preparedStatement, resultSet);selfDefineDelete(selfDefinePath, connection, preparedStatement);selfDefineAdd(selfDefinePath, site, connection, preparedStatement);preparedStatement = connection.prepareStatement(sqlStr);preparedStatement.setInt(1, site.getSiteID());preparedStatement.setString(2, site.getName());preparedStatement.setString(3, site.getDescription());preparedStatement.setString(4, site.getAsciiName());preparedStatement.setInt(5, site.getRemarkNumber());preparedStatement.setString(6, site.getIncrementIndex().trim());preparedStatement.setString(7, String.valueOf(site.getUseStatus()));preparedStatement.setString(8, String.valueOf(site.getAppserverID()));preparedStatement.setInt(9, site.getSiteID());preparedStatement.executeUpdate();connection.commit();int resID = site.getSiteID() + Const.SITE_TYPE_RES;StructResource sr = new StructResource();sr.setResourceID(Integer.toString(resID));sr.setOperateID(Integer.toString(1));sr.setOperateTypeID(Const.OPERATE_TYPE_ID);sr.setTypeID(Const.RES_TYPE_ID);StructAuth sa = new AuthorityManager().getExternalAuthority(sr);int authID = sa.getAuthID();if (authID == 0) {String resName = site.getName();int resTypeID = Const.RES_TYPE_ID;int operateTypeID = Const.OPERATE_TYPE_ID;String remark = \"\";AuthorityManager am = new AuthorityManager();am.createExtResource(Integer.toString(resID), resName, resTypeID, operateTypeID, remark);}site.wirteFile();} catch (SQLException ex) {connection.rollback();log.error(\"����վ������ʧ��!\", ex);throw ex;} finally {close(resultSet, null, preparedStatement, connection, dbo);}}public static void downloadURLNow(URL url, File to, SHA1Sum sha1, boolean force) throws Exception {{String sep = System.getProperty(\"file.separator\");String folders = to.getPath();String path = \"\";for (int i = 0; i < folders.length(); i++) {path += folders.charAt(i);if (path.endsWith(sep)) {File f = new File(path);if (!f.exists()) f.mkdir();if (!f.isDirectory()) {Out.error(URLDownloader.class, path + \" is not a directory!\");return;}}}}Out.info(URLDownloader.class, \"Downloading \" + url.toExternalForm());URLConnection uc = url.openConnection();DataInputStream is = new DataInputStream(new BufferedInputStream(uc.getInputStream()));FileOutputStream os = new FileOutputStream(to);byte[] b = new byte[1024];int fileLength = uc.getHeaderFieldInt(\"Content-Length\", 0) / b.length;Task task = null;if (fileLength > 0) task = TaskManager.createTask(url.toExternalForm(), fileLength, \"kB\");do {int c = is.read(b);if (c == -1) break;os.write(b, 0, c);if (task != null) task.advanceProgress();} while (true);if (task != null) task.complete();os.close();is.close();}public String encrypt(String password) {if (password.length() == 40) {return password;}if (salt != null) {password = password + salt;}MessageDigest messageDigest = null;try {messageDigest = MessageDigest.getInstance(\"SHA1\");} catch (NoSuchAlgorithmException e) {throw new IllegalArgumentException(e.getMessage(), e);}messageDigest.reset();messageDigest.update(password.getBytes());final byte[] bytes = messageDigest.digest();String encrypted = new BigInteger(1, bytes).toString(16);if (encrypted.length() < 40) {final StringBuilder builder = new StringBuilder(encrypted);while (builder.length() < 40) {builder.insert(0, '0');}encrypted = builder.toString();}return encrypted;}@Testpublic void testWriteAndRead() throws Exception {JCFS.configureLoopback(dir);RFile file = new RFile(\"testreadwrite.txt\");RFileOutputStream out = new RFileOutputStream(file);out.write(\"test\".getBytes(\"utf-8\"));out.close();RFileInputStream in = new RFileInputStream(file);byte[] buffer = new byte[4];int readCount = in.read(buffer);in.close();assertEquals(4, readCount);String resultRead = new String(buffer, \"utf-8\");assertEquals(\"test\", resultRead);}", "out": "1", "pred": "1"} {"in": "Ba é seo an 18ú eagrán.", "out": "0", "pred": "0"} {"in": "Who Dares Wins heraus, die einige ältere Lieder sowie die beiden EPs Cenotaph und Spearhead enthält.Aus diesem Grund werden sie als Regenköniginnen bezeichnet.Mit Hilfe einiger Scherzartikel kommen Bobby und Mucki in den Ruf, echte Revolverhelden zu sein.Dawn verliebte sich wieder in ihre alte Flamme Xander und die beiden wurden ein Paar.Die übrigen Personenzüge wurden teils von den A3, teils von den Mehrzwecklokomotiven der durch Gresleys Nachfolger Edward Thompson entworfenen LNER-Klasse B1 befördert.Seit dieser Zeit gingen die Fänge kontinuierlich zurück und sind heute ohne wirtschaftliche Bedeutung.Königsmann zeigt sich kooperativ, den Titel von Hüttners Buch halte er für eine Geschmacklosigkeit, die er Hüttner aber nicht verüble.", "out": "0", "pred": "0"} {"in": "theset = set(k.lower() for k in thedict)\"\"\"{s:{c}^{n}}\"\"\".format(s='dog', n=5, c='x')isinstance(s, str)isinstance(s, str)dict(pair for d in L for pair in list(d.items())){k: v for d in L for k, v in list(d.items())}df.sort_values(['Peak', 'Weeks'], ascending=[True, False], inplace=True)df.sort(['Peak', 'Weeks'], ascending=[True, False], inplace=True)eval(\"print('Hello')\")[{'A': 1, 'C': 4, 'B': 2, 'D': 4}, {'A': 1, 'C': 4, 'B': 1, 'D': 5}][{'A': 1, 'C': 4, 'B': 2, 'D': 4}, {'A': 1, 'C': 4, 'B': 1, 'D': 5}]list(itertools.product(*a))df.groupby(['Country', 'Item_Code'])[['Y1961', 'Y1962', 'Y1963']].sum()done = [(el, x) for el in [a, b, c, d]]x = x[numpy.logical_not(numpy.isnan(x))]", "out": "1", "pred": "1"} {"in": "private static String simpleCompute(String text) throws NoSuchAlgorithmException, UnsupportedEncodingException {MessageDigest md;md = MessageDigest.getInstance(\"SHA-1\");byte[] sha1hash = new byte[40];md.update(text.getBytes(\"utf-8\"), 0, text.length());sha1hash = md.digest();return convertToHex(sha1hash);}public static void main(String[] args) throws Exception {ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(\"camel/exec-context.xml\");CamelContext context = appContext.getBean(CamelContext.class);Exchange exchange = new DefaultExchange(context);List arg = new ArrayList();arg.add(\"/home/sumit/derby.log\");arg.add(\"helios:cameltesting/\");exchange.getIn().setHeader(ExecBinding.EXEC_COMMAND_ARGS, arg);Exchange res = context.createProducerTemplate().send(\"direct:input\", exchange);ExecResult result = (ExecResult) res.getIn().getBody();System.out.println(result.getExitValue());System.out.println(result.getCommand());if (result.getStderr() != null) {IOUtils.copy(result.getStderr(), new FileOutputStream(new File(\"/home/sumit/error.log\")));}if (result.getStdout() != null) {IOUtils.copy(result.getStdout(), new FileOutputStream(new File(\"/home/sumit/out.log\")));}appContext.close();}public static String exchangeForSessionToken(String protocol, String domain, String onetimeUseToken, PrivateKey key) throws IOException, GeneralSecurityException, AuthenticationException {String sessionUrl = getSessionTokenUrl(protocol, domain);URL url = new URL(sessionUrl);HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();String header = formAuthorizationHeader(onetimeUseToken, key, url, \"GET\");httpConn.setRequestProperty(\"Authorization\", header);if (httpConn.getResponseCode() != HttpURLConnection.HTTP_OK) {throw new AuthenticationException(httpConn.getResponseCode() + \": \" + httpConn.getResponseMessage());}String body = IOUtils.toString(httpConn.getInputStream());Map parsedTokens = StringUtils.string2Map(body, \"\\n\", \"=\", true);parsedTokens = StringUtils.lowercaseKeys(parsedTokens);return (String) parsedTokens.get(\"token\");}private static void processFile(String file) throws IOException {FileInputStream in = new FileInputStream(file);int read = 0;byte[] buf = new byte[2048];ByteArrayOutputStream bout = new ByteArrayOutputStream();while ((read = in.read(buf)) > 0) bout.write(buf, 0, read);in.close();String converted = bout.toString().replaceAll(\"@project.name@\", projectNameS).replaceAll(\"@base.package@\", basePackageS).replaceAll(\"@base.dir@\", baseDir).replaceAll(\"@webapp.dir@\", webAppDir).replaceAll(\"path=\\\"target/classes\\\"\", \"path=\\\"src/main/webapp/WEB-INF/classes\\\"\");FileOutputStream out = new FileOutputStream(file);out.write(converted.getBytes());out.close();}private static void copyFile(String from, String to) throws IOException {FileReader in = new FileReader(from);FileWriter out = new FileWriter(to);int c;while ((c = in.read()) != -1) out.write(c);in.close();out.close();}public void load(boolean isOrdered) throws ResourceInstantiationException {try {if (null == url) {throw new ResourceInstantiationException(\"URL not specified (null).\");}BufferedReader listReader;listReader = new BomStrippingInputStreamReader((url).openStream(), encoding);String line;int linenr = 0;while (null != (line = listReader.readLine())) {linenr++;GazetteerNode node = null;try {node = new GazetteerNode(line, separator, isOrdered);} catch (Exception ex) {throw new GateRuntimeException(\"Could not read gazetteer entry \" + linenr + \" from URL \" + getURL() + \": \" + ex.getMessage(), ex);}entries.add(new GazetteerNode(line, separator, isOrdered));}listReader.close();} catch (Exception x) {throw new ResourceInstantiationException(x.getClass() + \":\" + x.getMessage());}isModified = false;}public int executeBatch(String[] commands, String applicationid) throws Exception {Statement statement = null;int errors = 0;int commandCount = 0;Connection conn = null;try {conn = getConnection(applicationid);conn.setAutoCommit(false);statement = conn.createStatement();for (int i = 0; i < commands.length; i++) {String command = commands[i];if (command.trim().length() == 0) {continue;}commandCount++;try {log.info(\"executing SQL: \" + command);int results = statement.executeUpdate(command);log.info(\"After execution, \" + results + \" row(s) have been changed\");} catch (SQLException ex) {throw ex;}}conn.commit();log.info(\"Executed \" + commandCount + \" SQL command(s) with \" + errors + \" error(s)\");} catch (SQLException ex) {if (conn != null) {conn.rollback();}throw ex;} catch (Exception e) {if (conn != null) {conn.rollback();}throw e;} finally {statement.close();}return errors;}public static String encripty(String toEncripty) {if (toEncripty != null) {try {synchronized (toEncripty) {java.security.MessageDigest md = java.security.MessageDigest.getInstance(\"MD5\");md.update(toEncripty.getBytes());byte[] hash = md.digest();StringBuffer hexString = new StringBuffer();for (int i = 0; i < hash.length; i++) {if ((0xff & hash[i]) < 0x10) hexString.append(\"0\" + Integer.toHexString((0xFF & hash[i]))); else hexString.append(Integer.toHexString(0xFF & hash[i]));}toEncripty = hexString.toString();}} catch (Exception e) {e.getMessage();}}return toEncripty;}private void getXMLData() {String result = null;URL url = null;URLConnection conn = null;BufferedReader rd = null;StringBuffer sb = new StringBuffer();String line;try {url = new URL(this.url);conn = url.openConnection();rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));while ((line = rd.readLine()) != null) {sb.append(line + \"\\n\");}rd.close();result = sb.toString();} catch (MalformedURLException e) {log.error(\"URL was malformed: {}\", url, e);} catch (IOException e) {log.error(\"IOException thrown: {}\", url, e);}this.xmlString = result;}public String getRandomGUID() {MessageDigest md5 = null;String valueBeforeMD5 = \"\";String retValue = \"\";try {md5 = MessageDigest.getInstance(\"MD5\");} catch (NoSuchAlgorithmException e) {System.out.println(\"Error: \" + e);}StringBuffer sbValueBeforeMD5 = new StringBuffer();try {InetAddress id = InetAddress.getLocalHost();long time = System.currentTimeMillis();long rand = 0;rand = random.nextLong();sbValueBeforeMD5.append(id.toString());sbValueBeforeMD5.append(Long.toString(time));sbValueBeforeMD5.append(Long.toString(rand));valueBeforeMD5 = sbValueBeforeMD5.toString();md5.update(valueBeforeMD5.getBytes());byte[] array = md5.digest();StringBuffer sb = new StringBuffer();for (int j = 0; j < array.length; ++j) {int b = array[j] & 0xFF;if (b < 0x10) {sb.append('0');}sb.append(Integer.toHexString(b));}retValue = sb.toString();} catch (UnknownHostException e) {System.out.println(\"Error:\" + e);}return retValue;}", "out": "1", "pred": "1"} {"in": "Is bá é Cuan Chill Ala.", "out": "0", "pred": "0"} {"in": "gets(a); for(i=0;i<=n-2;i++) { gets(a); if(a[0]<='Z'&&a[0]>='A') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\"); break; } if(a[j]=='\\0') { printf(\"1\\n\"); } } else if(a[0]<='z'&&a[0]>='a') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } else { printf(\"0\\n\");", "out": "1", "pred": "1"} {"in": "当時の学術的範囲内でありとあらゆる分野に著作があったらしいが、鉱山キャンプは、\"Arroyo de la Plata\"の方向、現在のマヌエル・イガルド通りの下方に沿って、南側に拡大した。なお五十狭茅宿禰と長止古直の間に稲庭直を挟む説もある。特急「ふじさん」は上下ともに小田急小田原線の本線(新宿方面)との連絡線が接続する1番線を使用しており、JR東海と小田急の乗務員が交代する。処刑されるため基地に連行されかけたところをドラえもんたちに助けられたリルルは、自分たちの行いが悪事だと理解しつつも捨て去ることのできない祖国への忠誠心を吐露し自らを軟禁するよう求める。、しかも最後の手段としてのみ認められており、目撃者の証言やビデオを見た政治家たちはこの銃撃事件は火器使用の条件を満たさないとしている。また「用いてはならないことば」がなかったことを挙げ、その環境が今までとは異なるテーマと形式で描くことに自らを誘発した」と語った。バランがバーンの臣下となったことで魔王軍の一員となった。様々な監督の下に成長し続けている。)をはじめ、缶蹴り大会では校舎の床に空き缶を格納するシステムを仕込み、学園祭のクレープ屋台では怪しげなハイテク機材新開発だという「", "out": "0", "pred": "0"} {"in": "def div_list(nums1,nums2):\n result = map(lambda x, y: x / y, nums1, nums2)\n return list(result)", "out": "1", "pred": "1"} {"in": "Is cathair é Sfax (", "out": "0", "pred": "0"} {"in": "Elke Kaschl: Dance and Authenticity in Israel and Palestine, S. 54 Darunter waren einige Tänze, die als Experiment zur Schaffung einer neuen Tanzform präsentiert wurden.Eduard Heyde, Adolph Froese: Geschichte der Belagerung von Paris vom Jahre 1870/71.Das bedeutet, dass die Dreißig die spartanische Besatzung erst holten, als sie sie zur Herbeiführung einer Entscheidung und zur Stabilisierung ihrer durch die Niederlage bei Phyle erschütterten Stellung benötigten.Ihre Länge limitiert die maximale Zuglänge auf sechs Wagen.Nach einer zweijährigen Tätigkeit als Hauslehrer trat er in das Saganer Chorherrenstift ein.Am 4. Januar 1960 wurden die verbleibenden Kompanien laufend durchnummeriert, die Bezeichnungen 1. und 2. Wachkompanie wurden aufgegeben.Die West-Konferenz hatte mit zehn Mannschaften einen Teilnehmer mehr als die Zentral-Konferenz mit neun Mannschaften und zwei mehr als die Ost-Konferenz mit acht Mannschaften.", "out": "0", "pred": "0"} {"in": "I campioni appropriati, secondo questo criterio, sono due conteggi successivi Σ presi in due intervalli di somma contigui.William raggiunge Veronica e si congratula con lei, per poi recarsi insieme al drive-in per gustare dei pan-cake e festeggiare la vittoria.Sono così quasi ignote le varietà del \"limone rosso\" e del \"limone dolce\" che danno frutti sempre agri, ma nel contempo abbastanza dolci da poter essere mangiati come frutta fresca.Dalla sala si segue per 25 m un ripido pendio di materiale incoerente.Mentre è stata scritta da West, che immaginava il concept e il ritornello in ascensore, la dedica a Jay-Z Big Brother si pone come l'unica canzone dell'album non prodotta da West.Per liberare la mente da quell'immagine, Jess decide di buttare via tutti i regali del suo ex, a cominciare dall'elmetto da rugby che Nick le aveva regalato per Natale.Con una popolazione di oltre 60 milioni alla fine del XVIII secolo, la specie era scesa a soli 541 animali entro il 1889.", "out": "0", "pred": "0"} {"in": "La jefatura de la nueva área era ejercida por el Comando de Institutos y estaba basada en la exbase de la sección de vigilancia de la Fábrica Militar de Tolueno Sintético.El labelo tiene un color marrón oscuro con manchas violetas y amarillo pálido.Las células Ad son espermatogonias que permanecerán en el compartimiento basal (región exterior del túbulo); estas células son células madre espermatogoniales de reserva que no suelen sufrir mitosis.En el caso de Odín se dice que sintiéndose próximo a la muerte, abandonó Suecia y regresó a su antiguo país de origen, llamado Goðheimr (\"país del dios\"), y sus seguidores creyeron que en realidad había regresado al Ásgarðr para vivir eternamente.La elección de la vida religiosa se justificaba bien por los peligros del mundo, bien por vocación, como un llamado de Dios.Los frutos de la higuera 'Higos Brevas' tienen forma (indice) oblonga, la forma según la localización de diámetro máximo es piriforme, con la forma en el ápice redondeada.Los únicos torneos que clasificaron fueron los Campeonatos Femeninos Africanos de 1995 y 2002, y su mejor resultado fue como semifinalistas en el torneo de 1995.", "out": "0", "pred": "0"} {"in": "import re\ndef text_match_zero_one(text):\n patterns = 'ab+?'\n if re.search(patterns, text):\n return True\n else:\n return False", "out": "1", "pred": "1"} {"in": "Ba mhac Dedu mac Sin é.", "out": "0", "pred": "0"} {"in": "def large_product(nums1, nums2, N):\n result = sorted([x*y for x in nums1 for y in nums2], reverse=True)[:N]\n return result", "out": "1", "pred": "1"} {"in": "Son œuvre ne manifeste aucune préoccupation de tendance et, à partir de 1946, l'artiste a évolué vers l'abstraction pure.; Tout l’monde peut se tromper ; Puisqu’on s’aime ; Au jardin du temps passé.Il poursuit des activités de recherche à l'Ce dernier, avec l’aide de Honor élabore des tactiques peu orthodoxes pour défendre la station et résister à une flotte supérieure en nombre.Il reçoit les clients et est souvent habilité pour recevoir les actes (il lit l'acte aux clients et recueille leur signature sur ledit acte, qui est ensuite signé par le notaire lui-même).Écrits sur la littérature (1913-1948), Agone, coll.Le plus grand spécimen de Liopleurodon mesure 6,4 mètres de longueur.", "out": "0", "pred": "0"} {"in": "def recursive_list_sum(data_list):\n\ttotal = 0\n\tfor element in data_list:\n\t\tif type(element) == type([]):\n\t\t\ttotal = total + recursive_list_sum(element)\n\t\telse:\n\t\t\ttotal = total + element\n\treturn total", "out": "1", "pred": "1"} {"in": "ax.xaxis.tick_top()ax.xaxis.set_ticks_position('top')datetime.strptime('2015/01/01 12:12am', '%Y/%m/%d %I:%M%p')img = Image.open('picture.jpg')img.show()img = Image.open('picture.jpg')Img.showsys.exit(0)sys.exit('aa! errors!')sys.exit()[max(abs(x) for x in arr[i:i + 4]) for i in range(0, len(arr), 4)]os.chdir('c:\\\\Users\\\\uname\\\\desktop\\\\python')os.chdir(path)no_integers = [x for x in mylist if not isinstance(x, int)]tree.xpath(\".//a[text()='Example']\")[0].tag\"\"\", \"\"\".join([(str(k) + ' ' + str(v)) for k, v in list(a.items())])print(set(re.sub('[\\x00-\\x7f]', '', '\\xa3\\u20ac\\xa3\\u20ac')))", "out": "1", "pred": "1"} {"in": "Book.objects.filter(author__id=1).filter(author__id=2)re.compile('XYZ', re.IGNORECASE).split('fooxyzbar')[sum(map(int, s)) for s in example.split()][i for i in y if y[i] == 1]c.decode('unicode_escape')pd.melt(x, id_vars=['farm', 'fruit'], var_name='year', value_name='value')default_data['item3'] = 3default_data.update({'item3': 3, })default_data.update({'item4': 4, 'item5': 5, })l[:3] + l[-3:]df = df.reset_index(drop=True)[a[x].append(b[x]) for x in range(3)]os.path.realpath(path)set(L[0].f.items()).issubset(set(a3.f.items()))zip(*np.where(a == 1))", "out": "1", "pred": "1"} {"in": "シドニー、東京など太平洋地域の主要都市を結んでいる。カラオケなどはマイクを付けてみんなと話したり歌ったりして楽しむことができる(イヤホンをつけることをすすめる)。赤坂恒明「成立期〜十四世紀前半におけるジュチ・ウルス」『ジュチ裔諸政権史の研究』p.169 。車両航送を開始するため、この桟橋のすぐ南側に、またその最期は、ロケット内部の機械に巻き込まれて圧死するというものだった。』のファン投票では20位になり 『music freak magazine & Es Flash Back B'z XXV Memories I』エムアールエム 、その曲名を当てるクイズでこの曲を当てた人にはB'z人形がプレゼントされた。触肢器官が小さく、その点で他種と区別できる。なお、2と3の冪数の関係を判り易くするため、分子・分母の換算値や冪数は六進数で表記し、十進数を下付き(A)で副記する。途中で資金が尽きた場合は2回まで救済システムを受けることが出来、ボールを引いて出たモノマネや顔面ラップキスなどの指令をクリアすれば所定の金額を補充できる。劇映画でナチが政治プロパガンダの標的としたテーマには、犠牲・服従・ドイツ性の賛美・戦争宣伝・敵のイメージ(", "out": "0", "pred": "0"} {"in": "Ballstáit an Chonartha.", "out": "0", "pred": "0"} {"in": "np.einsum('ijk,ikl->ijl', A, B)print('I have: {0.price}'.format(card))f.write('# Data for Class A\\n')a = a[-1:] + a[:-1]datetimevariable.strftime('%Y-%m-%d')mixed.replace('\\r\\n', '\\n').replace('\\r', '\\n')os.path.expanduser('~user')T = [L[i] for i in Idx]words = open('myfile').read().split()[[sum([x[1] for x in i])] for i in data][sum([x[1] for x in i]) for i in data]Article.objects.annotate(like_count=Count('likes')).order_by('-like_count')today = datetime.datetime.utcnow().date()[(a * b) for a, b in zip(lista, listb)]re.findall('(?::|;|=)(?:-)?(?:\\\\)|\\\\(|D|P)', s)", "out": "1", "pred": "1"} {"in": "; 城ヶ崎課長(じょうがさきかちょう)いくつかのシーンは海抜1万4,000フィートで、マイナス10度の中で撮影された。ANNに関しては取材拠点として、大阪・渋滞対策のため、路線バスの利便性向上の観点からハイグレードバス停の整備をしたり、渋滞交差点の改良を順次実施し、1999年(平成11年)に吉野川大橋南詰交差点に桁を増設して、左折レーンを新設しているsfn。恒星天文学(こうせいてんもんがく)は、これはグアンチェ族古来の信仰とキリスト教的要素が混交したもので、呪術的治療を行っていた。United Press Associations(現UPI)はメアリー・アーノルドの訃報記事の中で、ドロシー・アーノルドの捜索を「時代の本当に素晴らしい探求であり、現代の新聞『警察』報道を発展させるために多くのことをした捜索」(\"the really great search of the age, and one that did much to develop modern newspaper 'police' coverage.\"、現在は当駅折り返し列車が設定されていない。、和銅3年(710年)3月10日、」という、数十年に一度起こり、海に面した家並みを根こそぎ奪っていくという、", "out": "0", "pred": "0"} {"in": "Im März 2016 wurde er für den Trainerstab der australischen Nationalmannschaft verpflichtet.Anthony Frank schöpfte, wie die meisten seiner Vorgänger, nicht die maximale Amtszeit von acht Jahren aus, sondern reichte nach vier Jahren zum Unabhängigkeitstag am 4. Juli 1992 seinen Rücktritt ein.Die Positionierung einer Raumstation in einer Umlaufbahn um den Mond wurde ebenfalls diskutiert.In: Studies: an Irish Quarterly Review, 27 (1938), S. 201. Wahrscheinlich aufgrund finanzieller Probleme und Konflikte, in die Bicknor später verwickelt wurde, bestand die Universität aber nur kurz.Später kam noch ein Café inklusive wechselnder Kunstausstellungen im Eingangsbereich des Komplexes hinzu.Erste, seit den 1980er Jahren entstandene Kurzgeschichten und Romane im Grenzbereich zwischen Realität und Phantastik veröffentlichte sie in Zeitschriften und später im Internet.Die Störung des offiziellen Ablaufs der Feierlichkeiten gelang Groote, obwohl 1500 Polizisten in Sydney Dienst verrichteten, davon 315 auf der Brücke und weitere 200 Soldaten der Ehrenwache der Armee und Navy.", "out": "0", "pred": "0"} {"in": "Geschmacklich liegt Rosé zwischen White und Ruby; meist ist er leicht und fruchtig.Erster Präsident war der Glas-Fabrik-Arbeiter Demetrio Méndez.Zu den größten Flüssen gehören (von West nach Ost): Kümmerly+Frey Rand McNally: Internationaler Atlas.Sie ist dort für Gesundheit und kommunale sowie zivilgesellschaftliche Themen zuständig.Er überlebte den Krieg in französischer Gefangenschaft, aus der er 1946 heimkehrte.Am 20. März 1792 wurde ein Gesetz erlassen, das in Frankreich die Vollstreckung der Todesstrafe einzig mittels einer derartigen Maschine anordnete.Während der Schamane Geister anruft, verlässt sich die Medizinmann eher auf Kenntnisse und Erfahrung mit Heilmitteln und auch chirurgischen Eingriffen, wobei die Krankenheilung von Schutzgeistern begünstigt wird.", "out": "0", "pred": "0"} {"in": "Был возвращён на службу 29 декабря 1875 года, с зачислением в Черноморский флот; 20 мая 1877 года назначен помощником начальника приморской обороны Севастополя.Он представлял Солсбери в Палате общин (1768—1774).Затем работал главным тренером сборной команды России по преодолению препятствий Большая олимпийская энциклопедия.Надо полагать, что название озера Ханка произошло от другого слова, именно от слова „ханхай“, что значит „впадина“.Видя, что разворачивать орудие поздно, орудийный расчёт Лазарева забросал гитлеровцев гранатами и расстрелял из автоматов.Собирают всё растение вместе с корнем во время цветения.С 1880 по 1890 год во многих больницах на смену монахиням пришли мирянки.Остались далеко позади замысловато-истерические музыкальные эксперименты времен Джона Фокса.Такие жестокие бои и дикие «переплеты», в которые мы попадали.Стремился к тому, чтобы изъятие прошло мирно и без попрания святынь.", "out": "0", "pred": "0"} {"in": "Ein Adapter („Splined Carrier“) wird hierzu aufgeschraubt und dient als Träger für die Steckzahnkränze, die mit 13 – 19 sowie 21 Zähnen das bisherige Spektrum erweitern.\" liefert sogar eine – allerdings nach mittelalterlichen Vorstellungen angefertigte – Abbildung.Unabhängig von den oben beschriebenen Gruppen setzte ein durch seinen Schmuggel über die Sektorengrenzen schon auffällig gewordener Berliner seine Tätigkeit mit der Verbringung von Branntwein in die Bundesrepublik fort.Die fadenförmigen, schwach sklerotisierten Larven sind im Mittel 0,11 Millimeter lang, am breitesten mit bis zu 33 Mikrometern am zweiten Beinpaar.Da erscheint der Apotheker Luciano mit der Nachricht, dass im Radio von schlimmen Unwettern in ganz Europa berichtet werde.Dann aber verbeißt er sich regelrecht in das Mandat und kämpft ohne Unterlass um die Unschuld des Beklagten.Der Bahnhof ist auch Knotenpunkt des regionalen Busverkehrs.", "out": "0", "pred": "0"} {"in": "Daher führt das Wick-Theorem dazu, dass nur vollständig kontrahierte Ausdrücke im Vakuumerwartungswert nicht von Null verschieden sind.Die Vorhut kam um 10:00 Uhr in der Nähe des Langsee erstmals unter Beschuss durch dänische Vorposten.Cuyahoga Falls ist die zweitgrößte Stadt des Summit County.In der zweiten Hälfte des 19. Jahrhunderts erhielt Narewka Stadtrecht, das genaue Datum ist allerdings nicht bekannt.Er wurde in Einbeck im Harz beerdigt.Die Bemühungen blieben ohne Erfolg.Mit der Saison 1968/69 endete Feisters Zeit beim FC Karl-Marx-Stadt.", "out": "0", "pred": "0"} {"in": "printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\\n\"); } } else if(a[0]<='z'&&a[0]>='a') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue; } { printf(\"0\\n\"); break; } } if(a[j]=='\\0') { printf(\"1\\n\"); } } else if(a[0]=='_') { for(j=0;a[j]!='\\0';j++) { if(a[j]>='0'&&a[j]<='9'||a[j]>='a'&&a[j]<='z'||a[j]>='A'&&a[j]<='Z'||a[j]=='_') { continue;", "out": "1", "pred": "1"} {"in": "os.system('ulimit -s unlimited; some_executable')\"\"\"{0:.3g}\"\"\".format(num)numpy.append(a, a[0])df.ix[:, (df.loc[0] == 38.15)].columnsdf2['revenue'] = df2.CET.map(df1.set_index('date')['revenue'])json_data = json.loads(json_string)math.cos(math.radians(1))sum(isinstance(x, int) for x in a)'used\\u200b'.replace('\\u200b', '*')threading.Thread(target=SudsMove).start()sum(i * i for i in l)sum(map(lambda x: x * x, l))d = dict(((key, value) for (key, value) in iterable))d = {key: value for (key, value) in iterable}d = {k: v for (k, v) in iterable}", "out": "1", "pred": "1"} {"in": "La Porta dell'Aurora e la strada che conduce a essa prendono il nome dalla parte della città così chiamata.Mari, nel frattempo, ha infatti organizzato un'operazione segreta volta a ottenere la loro espulsione sfruttando le debolezze di ciascuno dei ragazzi, ma con un elaborato stratagemma e la benevolenza del preside i cinque alla fine riottengono la libertà.Nonostante si ritrovino influenze della velocità, brevità e intensità dell'I tessuti in modal sono stirabili dopo il lavaggio come il cotone puro.Fino al periodo sovietico il nome Shaihantaur era applicato a un intero quartiere (localmente mahalla) nella città di Tashkent.Fässler diffonde i risultati delle sue ricerche storiche attraverso gli attuali dibattiti politici.Le prime 500 persone che avessero spedito la soluzione corretta al produttore avrebbero ricevuto in omaggio un altro videogioco della Melbourne House a scelta.", "out": "0", "pred": "0"} {"in": "def get_ludic(n):\n\tludics = []\n\tfor i in range(1, n + 1):\n\t\tludics.append(i)\n\tindex = 1\n\twhile(index != len(ludics)):\n\t\tfirst_ludic = ludics[index]\n\t\tremove_index = index + first_ludic\n\t\twhile(remove_index < len(ludics)):\n\t\t\tludics.remove(ludics[remove_index])\n\t\t\tremove_index = remove_index + first_ludic - 1\n\t\tindex += 1\n\treturn ludics", "out": "1", "pred": "1"} {"in": "He was married to Renate Stumpff, the daughter of general Hans-Jürgen Stumpff.She complained about pain and was sent to hospital, but staff there were convinced she was suffering from the effects of drugs.The new Federal government of Australia acted in 1901 to stop certain types of people coming to work or live in Australia.On January 2, 1926, Horowitz played his first concert outside of Russia.It shows whether or not people are online and want to chat.Later, in 1905, it was decided to change the colors to make it distinct from Racing Club.A closed surface is one which is limited, but has no boundary.", "out": "0", "pred": "0"} {"in": "def remove_odd(str1):\n str2 = ''\n for i in range(1, len(str1) + 1):\n if(i % 2 == 0):\n str2 = str2 + str1[i - 1]\n return str2", "out": "1", "pred": "1"} {"in": "public static synchronized String hash(String plaintext) {MessageDigest md;try {md = MessageDigest.getInstance(\"SHA\");} catch (NoSuchAlgorithmException e) {return null;}try {md.update(plaintext.getBytes(\"UTF-8\"));} catch (UnsupportedEncodingException e) {return null;}byte raw[] = md.digest();return (new BASE64Encoder()).encode(raw);}public static int[] bubbleSortOtimizado(int... a) {boolean swapped;int n = a.length - 2;do {swapped = false;for (int i = 0; i <= n; i++) {if (a[i] > a[i + 1]) {int tmp = a[i];a[i] = a[i + 1];a[i + 1] = tmp;swapped = true;}}n = n - 1;} while (swapped);return a;}@Nullablepublic LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) {if (logger.isLoggable(Level.FINE)) {logger.fine(\"Try to resolve the resource with the public ID: \" + publicId + \", system ID: \" + systemId + \" and baseURI \" + baseURI + \".\");}InputSource inputSource = null;try {inputSource = resolveIntern(publicId, systemId);} catch (IOException e) {logger.log(Level.SEVERE, \"\", e);}if (inputSource != null) {return new LSInputSAXWrapper(inputSource);}if (baseURI != null) {String resolved = baseURI.substring(0, baseURI.lastIndexOf('/') + 1) + systemId;try {URL url = new URL(resolved);url.openConnection().connect();if (logger.isLoggable(Level.FINE)) {logger.fine(\"Resolve with help of baseURI to: \" + resolved);}inputSource = new InputSource(resolved);return new LSInputSAXWrapper(inputSource);} catch (MalformedURLException e) {} catch (IOException e) {}}if (logger.isLoggable(Level.WARNING)) {logger.warning(\"Failed to resolve the resource with the public ID: \" + publicId + \", system ID: \" + systemId + \" and baseURI \" + baseURI + \".\");}return null;}private static void loadProperties(Properties props, String res, boolean warnIfNotFound) throws IOException {log.debug(\"Reading properties from resource \" + res);URL url = ResourceFileStorageFactory.class.getResource(res);if (null == url) {if (warnIfNotFound) {log.warn(\"Resource \" + res + \" was not found\");} else {log.debug(\"Resource \" + res + \" was not found\");}} else {InputStream in = url.openStream();try {props.load(in);} finally {in.close();}}}public void actionPerformed(ActionEvent e) {String aboutText = \"Slug application.\";String aboutURL = System.getProperty(GateConstants.ABOUT_URL_JAVA_PROPERTY_NAME);boolean canShowInPane = false;if (aboutURL != null) {try {URL url = new URL(aboutURL);AboutPaneDialog dlg = new AboutPaneDialog(ShellSlacFrame.this, \"Slug application about\", true);canShowInPane = dlg.setURL(url);if (canShowInPane) {dlg.setSize(300, 200);dlg.setLocationRelativeTo(ShellSlacFrame.this);dlg.setVisible(true);} else {BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));String line = \"\";StringBuffer content = new StringBuffer();do {content.append(line);line = reader.readLine();} while (line != null);if (content.length() != 0) {aboutText = content.toString();}}} catch (Exception ex) {if (DEBUG) {ex.printStackTrace();}}}if (!canShowInPane) JOptionPane.showMessageDialog(ShellSlacFrame.this, aboutText, \"Slug application about\", JOptionPane.INFORMATION_MESSAGE);}public boolean extract(File f, String folder) {Enumeration entries;ZipFile zipFile;try {zipFile = new ZipFile(f);entries = zipFile.getEntries();while (entries.hasMoreElements()) {ZipArchiveEntry entry = (ZipArchiveEntry) entries.nextElement();if (entry == null) continue;String path = folder + \"/\" + entry.getName().replace('\\\\', '/');if (!entry.isDirectory()) {File destFile = new File(path);String parent = destFile.getParent();if (parent != null) {File parentFile = new File(parent);if (!parentFile.exists()) {parentFile.mkdirs();}}copyInputStream(zipFile.getInputStream(entry), new BufferedOutputStream(new FileOutputStream(destFile)));}}zipFile.close();} catch (IOException ioe) {this.errMsg = ioe.getMessage();Malgn.errorLog(\"{Zip.unzip} \" + ioe.getMessage());return false;}return true;}protected void handleConnection(Socket server) throws IOException {OutputStream out = server.getOutputStream();PrintWriter pout = new PrintWriter(out, true);BufferedReader in = SocketUtil.getReader(server);String failureReason = null;int failureCode = 0;String httpVersion = \"HTTP/1.0\";String uri = null;String command = in.readLine();URL url = null;if (command != null) {StringTokenizer tokenizer = new StringTokenizer(command);if (tokenizer.countTokens() != 3) {failureCode = 400;failureReason = \"Illformed Request-Line\";} else {String method = tokenizer.nextToken();if (!method.equalsIgnoreCase(\"get\")) {failureCode = 501;failureReason = \"Only supports GET method\";} else {uri = tokenizer.nextToken();httpVersion = tokenizer.nextToken();try {url = getURL(uri);} catch (IOException e) {failureCode = 404;failureReason = \"resource not found\";}}}} else {failureCode = 400;failureReason = \"Null request\";}if (url != null) {InputStream stream = null;try {URLConnection connection = url.openConnection();byte[] chunk = new byte[1024];int read = 0;pout.println(httpVersion + \" 200 \");pout.println(\"Content-Type: \" + connection.getContentType());pout.println(\"Content-Length: \" + connection.getContentLength());pout.println(\"Content-Encoding: \" + connection.getContentEncoding());pout.println();stream = connection.getInputStream();read = stream.read(chunk);while (read != -1) {out.write(chunk, 0, read);read = stream.read(chunk);}} catch (IOException e) {failureCode = 500;failureReason = \"problem reading the resource content\";} finally {if (stream != null) {stream.close();}}} else {failureCode = 404;failureReason = \"resource not found\";}if (failureCode != 0) {pout.println(httpVersion + \" \" + failureCode + \" \" + failureReason);pout.println();}doDelay();server.close();}@Overridepublic void run() {if (mMode == 0) {long currentVersion = Version.extractVersion(App.getVersion());if (currentVersion == 0) {mMode = 2;RESULT = MSG_UP_TO_DATE;return;}long versionAvailable = currentVersion;mMode = 2;try {StringBuilder buffer = new StringBuilder(mCheckURL);try {NetworkInterface ni = NetworkInterface.getByInetAddress(InetAddress.getLocalHost());if (!ni.isLoopback()) {if (ni.isUp()) {if (!ni.isVirtual()) {buffer.append('?');byte[] macAddress = ni.getHardwareAddress();for (byte one : macAddress) {buffer.append(Integer.toHexString(one >>> 4 & 0xF));buffer.append(Integer.toHexString(one & 0xF));}}}}} catch (Exception exception) {}URL url = new URL(buffer.toString());BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));String line = in.readLine();while (line != null) {StringTokenizer tokenizer = new StringTokenizer(line, \"\\t\");if (tokenizer.hasMoreTokens()) {try {if (tokenizer.nextToken().equalsIgnoreCase(mProductKey)) {String token = tokenizer.nextToken();long version = Version.extractVersion(token);if (version > versionAvailable) {versionAvailable = version;}}} catch (Exception exception) {}}line = in.readLine();}} catch (Exception exception) {}if (versionAvailable > currentVersion) {Preferences prefs = Preferences.getInstance();String humanReadableVersion = Version.getHumanReadableVersion(versionAvailable);NEW_VERSION_AVAILABLE = true;RESULT = MessageFormat.format(MSG_OUT_OF_DATE, humanReadableVersion);if (versionAvailable > Version.extractVersion(prefs.getStringValue(MODULE, LAST_VERSION_KEY, App.getVersion()))) {prefs.setValue(MODULE, LAST_VERSION_KEY, humanReadableVersion);prefs.save();mMode = 1;EventQueue.invokeLater(this);return;}} else {RESULT = MSG_UP_TO_DATE;}} else if (mMode == 1) {if (App.isNotificationAllowed()) {String result = getResult();mMode = 2;if (WindowUtils.showConfirmDialog(null, result, MSG_UPDATE_TITLE, JOptionPane.OK_CANCEL_OPTION, new String[] { MSG_UPDATE_TITLE, MSG_IGNORE_TITLE }, MSG_UPDATE_TITLE) == JOptionPane.OK_OPTION) {goToUpdate();}} else {DelayedTask.schedule(this, 250);}}}public static void main(String[] args) throws Exception {String layerName = args[0];String layerDescription = args[1];String units = args[2];String rawDataDirPath = args[3];String processDirPath = args[4];String divaDirPath = args[5];String legendDirPath = args[6];String geotiffDirPath = args[7];String dbJdbcUrl = args[8];String dbUsername = args[9];String dbPassword = args[10];String geoserverUsername = args[11];String geoserverPassword = args[12];File rawDataDir = new File(rawDataDirPath);if (!rawDataDir.exists() || !rawDataDir.isDirectory()) {throw new RuntimeException(\"Supplied raw data directory \" + rawDataDirPath + \" does not exist or is not a directory\");}File processDir = new File(processDirPath);if (!processDir.exists() || !processDir.isDirectory()) {throw new RuntimeException(\"Supplied process directory \" + processDirPath + \" does not exist or is not a directory\");}File divaDir = new File(divaDirPath);if (!divaDir.exists() || !divaDir.isDirectory()) {throw new RuntimeException(\"Supplied diva directory \" + divaDirPath + \" does not exist or is not a directory\");}File legendDir = new File(legendDirPath);if (!legendDir.exists() || !legendDir.isDirectory()) {throw new RuntimeException(\"Supplied legend directory \" + legendDirPath + \" does not exist or is not a directory\");}File geotiffDir = new File(geotiffDirPath);if (!geotiffDir.exists() || !geotiffDir.isDirectory()) {throw new RuntimeException(\"Supplied geotiff directory \" + geotiffDirPath + \" does not exist or is not a directory\");}System.out.println(\"Beginning environmetal load\");System.out.println(\"Connecting to database\");Class.forName(\"org.postgresql.Driver\");Properties props = new Properties();props.setProperty(\"user\", dbUsername);props.setProperty(\"password\", dbPassword);Connection conn = DriverManager.getConnection(dbJdbcUrl, props);conn.setAutoCommit(false);try {File layerProcessDir = new File(processDir, layerName);layerProcessDir.mkdir();System.out.println(\"Running gdalwarp\");File hdrFile = new File(rawDataDir, \"hdr.adf\");if (!hdrFile.exists()) {throw new RuntimeException(\"Could not find hdr.adf in \" + rawDataDirPath);}File bilFile = new File(layerProcessDir, layerName + \".bil\");Process procGdalWarp = Runtime.getRuntime().exec(new String[] { \"gdalwarp\", \"-of\", \"EHdr\", \"-ot\", \"Float32\", hdrFile.getAbsolutePath(), bilFile.getAbsolutePath() });int gdalWarpReturnVal = procGdalWarp.waitFor();if (gdalWarpReturnVal != 0) {String gdalWarpErrorOutput = IOUtils.toString(procGdalWarp.getErrorStream());throw new RuntimeException(\"gdalwarp failed: \" + gdalWarpErrorOutput);}System.out.println(\"Running Bil2diva\");boolean bil2DivaSuccess = Bil2diva.bil2diva(layerProcessDir.getAbsolutePath() + File.separator + layerName, divaDir.getAbsolutePath() + File.separator + layerName, units);if (!bil2DivaSuccess) {throw new RuntimeException(\"Bil2diva Failed\");}System.out.println(\"Running GridLegend\");boolean gridLegendSuccess = GridLegend.generateGridLegend(divaDir.getAbsolutePath() + File.separator + layerName, legendDir.getAbsolutePath() + File.separator + layerName, 1, false);if (!gridLegendSuccess) {throw new RuntimeException(\"GridLegend Failed\");}System.out.println(\"Running gdal_translate\");File geotiffFile = new File(geotiffDir, layerName + \".tif\");Process procGdalTranslate = Runtime.getRuntime().exec(new String[] { \"gdal_translate\", \"-of\", \"GTiff\", bilFile.getAbsolutePath(), geotiffFile.getAbsolutePath() });int gdalTranslateReturnVal = procGdalTranslate.waitFor();if (gdalTranslateReturnVal != 0) {String gdalTranslateErrorOutput = IOUtils.toString(procGdalTranslate.getErrorStream());throw new RuntimeException(\"gdal_translate failed: \" + gdalTranslateErrorOutput);}System.out.println(\"Extracting extents and min/max environmental value from diva .grd file\");File divaGrd = new File(divaDir, layerName + \".grd\");if (!divaGrd.exists()) {throw new RuntimeException(\"Could not locate diva .grd file: \" + divaGrd.toString());}String strDivaGrd = FileUtils.readFileToString(divaGrd);float minValue = Float.parseFloat(matchPattern(strDivaGrd, \"^MinValue=(.+)$\"));float maxValue = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxValue=(.+)$\"));float minLatitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MinY=(.+)$\"));float maxLatitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxY=(.+)$\"));float minLongitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MinX=(.+)$\"));float maxLongitude = Float.parseFloat(matchPattern(strDivaGrd, \"^MaxX=(.+)$\"));System.out.println(\"Generating ID for new layer...\");Statement st = conn.createStatement();ResultSet rs = st.executeQuery(\"SELECT MAX(id) from layers\");rs.next();int id = 1;String idAsString = rs.getString(1);if (idAsString != null) {id = Integer.parseInt(idAsString);id++;}String displayPath = MessageFormat.format(GEOSERVER_QUERY_TEMPLATE, layerName);System.out.println(\"Creating layers table entry...\");PreparedStatement createLayersStatement = createLayersInsert(conn, id, layerDescription, divaDir.getAbsolutePath(), layerName, displayPath, minLatitude, minLongitude, maxLatitude, maxLongitude, minValue, maxValue, units);createLayersStatement.execute();System.out.println(\"Creating fields table entry...\");PreparedStatement createFieldsStatement = createFieldsInsert(conn, id, layerName, layerDescription);createFieldsStatement.execute();DefaultHttpClient httpClient = new DefaultHttpClient();httpClient.getCredentialsProvider().setCredentials(new AuthScope(\"localhost\", 8082), new UsernamePasswordCredentials(geoserverUsername, geoserverPassword));System.out.println(\"Creating layer in geoserver...\");HttpPut createLayerPut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/workspaces/ALA/coveragestores/%s/external.geotiff\", layerName));createLayerPut.setHeader(\"Content-type\", \"text/plain\");createLayerPut.setEntity(new StringEntity(geotiffFile.toURI().toURL().toString()));HttpResponse createLayerResponse = httpClient.execute(createLayerPut);if (createLayerResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Error creating layer in geoserver: \" + createLayerResponse.toString());}EntityUtils.consume(createLayerResponse.getEntity());System.out.println(\"Creating style in geoserver\");HttpPost createStylePost = new HttpPost(\"http://localhost:8082/geoserver/rest/styles\");createStylePost.setHeader(\"Content-type\", \"text/xml\");createStylePost.setEntity(new StringEntity(String.format(\"\", layerName, layerName)));HttpResponse createStyleResponse = httpClient.execute(createLayerPut);if (createStyleResponse.getStatusLine().getStatusCode() != 201) {throw new RuntimeException(\"Error creating style in geoserver: \" + createStyleResponse.toString());}EntityUtils.consume(createStyleResponse.getEntity());System.out.println(\"Uploading sld file to geoserver\");File sldFile = new File(legendDir, layerName + \".sld\");String sldData = FileUtils.readFileToString(sldFile);HttpPut uploadSldPut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/styles/%s_style\", layerName));uploadSldPut.setHeader(\"Content-type\", \"application/vnd.ogc.sld+xml\");uploadSldPut.setEntity(new StringEntity(sldData));HttpResponse uploadSldResponse = httpClient.execute(uploadSldPut);if (uploadSldResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Error uploading sld file geoserver: \" + uploadSldResponse.toString());}EntityUtils.consume(uploadSldResponse.getEntity());System.out.println(\"Setting default style in geoserver\");HttpPut setDefaultStylePut = new HttpPut(String.format(\"http://localhost:8082/geoserver/rest/layers/ALA:%s\", layerName));setDefaultStylePut.setHeader(\"Content-type\", \"text/xml\");setDefaultStylePut.setEntity(new StringEntity(String.format(\"true%s_style\", layerName)));HttpResponse setDefaultStyleResponse = httpClient.execute(createLayerPut);if (setDefaultStyleResponse.getStatusLine().getStatusCode() != 200) {throw new RuntimeException(\"Setting default style in geoserver: \" + setDefaultStyleResponse.toString());}EntityUtils.consume(setDefaultStyleResponse.getEntity());conn.commit();} catch (Exception ex) {ex.printStackTrace();conn.rollback();}}public byte[] getBytesFromUrl(String url) {try {HttpGet get = new HttpGet(url);HttpResponse response = this.getHttpClient().execute(get);HttpEntity entity = response.getEntity();if (entity == null) {throw new RuntimeException(\"response body was empty\");}return EntityUtils.toByteArray(entity);} catch (RuntimeException ex) {throw ex;} catch (Exception ex) {throw new RuntimeException(ex);}}", "out": "1", "pred": "1"} {"in": "Ab 18. Februar 1931 lief ein Disziplinarverfahren gegen Wellenbrink, weil er „amtswidrig und pflichtvergessen“ gewesen sein sollte.Der Ausbruch des Ersten Weltkrieges 1914 beendete diese Ausbildung vorzeitig, Reuter wurde zum Militär eingezogen und diente bis 1918 als Soldat.Verlag Laupenmühlen und Dierichs, Bochum 1972.Er wuchs als Sohn eines Fernsehmarketing-Managers in Perth auf.Obwohl sächsische Adlige in dem schriftlich überlieferten Einberufungsbefehl nicht erwähnt werden, sollte offenbar auch Bernhard I. ein Aufgebot entsenden.Der tiefhängende Schädel und die relativ hochkronigen Zähne mit ihrem hohen Anteil an Zahnzement lassen darauf schließen, dass sie sich hauptsächlich grasfressend ernährte (grazing) und ein Bewohner offener Landschaften war.U 168 war ein Tauchboot für ozeanische Verwendung.", "out": "0", "pred": "0"} {"in": "public static String encrypt(String password) throws NoSuchAlgorithmException {java.security.MessageDigest d = null;d = java.security.MessageDigest.getInstance(\"MD5\");d.reset();d.update(password.getBytes());byte[] cr = d.digest();return getString(cr).toLowerCase();}@Overridepublic boolean setupDatabaseSchema() {Configuration cfg = Configuration.getInstance();Connection con = getConnection();if (null == con) return false;try {String sql = FileTool.readFile(cfg.getProperty(\"database.sql.rootdir\") + System.getProperty(\"file.separator\") + cfg.getProperty(\"database.sql.mysql.setupschema\"));sql = sql.replaceAll(MYSQL_SQL_SCHEMA_REPLACEMENT, StateSaver.getInstance().getDatabaseSettings().getSchema());con.setAutoCommit(false);Statement stmt = con.createStatement();String[] sqlParts = sql.split(\";\");for (String sqlPart : sqlParts) {if (sqlPart.trim().length() > 0) stmt.executeUpdate(sqlPart);}con.commit();JOptionPane.showMessageDialog(null, language.getProperty(\"database.messages.executionsuccess\"), language.getProperty(\"dialog.information.title\"), JOptionPane.INFORMATION_MESSAGE);return true;} catch (SQLException e) {Logger.logException(e);}try {if (con != null) con.rollback();} catch (SQLException e) {Logger.logException(e);}JOptionPane.showMessageDialog(null, language.getProperty(\"database.messages.executionerror\"), language.getProperty(\"dialog.error.title\"), JOptionPane.ERROR_MESSAGE);return false;}public PollSetMessage(String username, String question, String title, String[] choices) {this.username = username;MessageDigest m = null;try {m = MessageDigest.getInstance(\"SHA-1\");} catch (NoSuchAlgorithmException ex) {ex.printStackTrace();}String id = username + String.valueOf(System.nanoTime());m.update(id.getBytes(), 0, id.length());voteId = new BigInteger(1, m.digest()).toString(16);this.question = question;this.title = title;this.choices = choices;}public static void test() {try {Pattern pattern = Pattern.compile(\"[0-9]{3}\\\\. (.*)
\");URL url = new URL(\"http://farmfive.com/\");BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));String line;int count = 0;while ((line = br.readLine()) != null) {Matcher match = pattern.matcher(line);if (match.matches()) {System.out.println(match.group(1) + \" \" + match.group(2));count++;}}System.out.println(count + \" counted\");br.close();} catch (Exception e) {e.printStackTrace();}}public static void bubbleSort(String[] a) {Collator myCollator = Collator.getInstance();boolean switched = true;for (int pass = 0; pass < a.length - 1 && switched; pass++) {switched = false;for (int i = 0; i < a.length - pass - 1; i++) {if (myCollator.compare(a[i], a[i + 1]) > 0) {switched = true;String temp = a[i];a[i] = a[i + 1];a[i + 1] = temp;}}}}public String hash(String password) {MessageDigest sha1Digest;try {sha1Digest = MessageDigest.getInstance(\"SHA-1\");} catch (NoSuchAlgorithmException e) {throw NestedException.wrap(e);}sha1Digest.update(password.getBytes());StringBuilder retval = new StringBuilder(\"sha1:\");retval.append(new String(Base64.encodeBase64(sha1Digest.digest())));return retval.toString();}private RSSFeed getFeed(String urlToRssFeed) {try {URL url = new URL(urlToRssFeed);SAXParserFactory factory = SAXParserFactory.newInstance();SAXParser parser = factory.newSAXParser();XMLReader xmlreader = parser.getXMLReader();RSSHandler theRssHandler = new RSSHandler();xmlreader.setContentHandler(theRssHandler);InputSource is = new InputSource(url.openStream());xmlreader.parse(is);return theRssHandler.getFeed();} catch (Exception ee) {return null;}}public void copyFile(File sourceFile, String toDir, boolean create, boolean overwrite) throws FileNotFoundException, IOException {FileInputStream source = null;FileOutputStream destination = null;byte[] buffer;int bytes_read;File toFile = new File(toDir);if (create && !toFile.exists()) toFile.mkdirs();if (toFile.exists()) {File destFile = new File(toDir + \"/\" + sourceFile.getName());try {if (!destFile.exists() || overwrite) {source = new FileInputStream(sourceFile);destination = new FileOutputStream(destFile);buffer = new byte[1024];while (true) {bytes_read = source.read(buffer);if (bytes_read == -1) break;destination.write(buffer, 0, bytes_read);}}} catch (Exception exx) {exx.printStackTrace();} finally {if (source != null) try {source.close();} catch (IOException e) {}if (destination != null) try {destination.close();} catch (IOException e) {}}}}private static void copyFile(File sourceFile, File destFile) {try {if (!destFile.exists()) {destFile.createNewFile();}FileChannel source = null;FileChannel destination = null;try {source = new FileInputStream(sourceFile).getChannel();destination = new FileOutputStream(destFile).getChannel();destination.transferFrom(source, 0, source.size());} finally {if (source != null) {source.close();}if (destination != null) {destination.close();}}} catch (Exception e) {throw new RuntimeException(e);}}protected static void copyFile(File in, File out) throws IOException {java.io.FileWriter filewriter = null;java.io.FileReader filereader = null;try {filewriter = new java.io.FileWriter(out);filereader = new java.io.FileReader(in);char[] buf = new char[4096];int nread = filereader.read(buf, 0, 4096);while (nread >= 0) {filewriter.write(buf, 0, nread);nread = filereader.read(buf, 0, 4096);}buf = null;} finally {try {filereader.close();} catch (Throwable t) {}try {filewriter.close();} catch (Throwable t) {}}}", "out": "1", "pred": "1"} {"in": "Mit Version 8 wurde 2010 abermals ein neues Dateiformat (EGG) eingeführt, das nun in Voreinstellung verwendet wird und nun auch vom Hersteller offen dokumentiert ist.Es gibt auf Manoel Island gleich nach der Brücke ein etwas kurioses Reservat für Enten und andere Wasservögel, das von einem Einwohner angelegt und gepflegt und durch private Spenden unterhalten wird.Als Baumeister ist Philipp Steinmetz genannt.Ich halt’ sie fest und keiner sieht sie weinen.Porträts, Sammler und Sammlungen in Frankfurt von der Renaissance bis zur Aufklärung, Frankfurt am Main, Museum Giersch der Goethe-Universität, 2020.Übersetzung der Neufassung durch Paul Stefan ins Englische von Y. W. Vance.Dabei reduzierte man bei vielen Hauptstraßen die Anzahl der Fahrspuren für den Kfz-Verkehr, um Platz für die Straßenbahntrasse zu schaffen.", "out": "0", "pred": "0"} {"in": "Zwar erneuerte Schlagzeuger Tommy Buckley im Mai 2011 die Ankündigung eines neuen Studioalbums und versicherte, dass Soilent Green 2012 ins Tonstudio gehen werden, bislang ist jedoch keine Veröffentlichung absehbar.Bei den Weltmeisterschaften in Assen 2006 gelang es Smyth, Gold zu gewinnen und auf 100 m sowie auf 200 m jeweils einen Weltrekord aufzustellen.Schon vorher war er ab 1960 in der Industrie tätig, in der er bis 1975 verschiedene Leitungspositionen innehatte.Mit Version 8 wurde 2010 abermals ein neues Dateiformat (EGG) eingeführt, das nun in Voreinstellung verwendet wird und nun auch vom Hersteller offen dokumentiert ist.Es gibt auf Manoel Island gleich nach der Brücke ein etwas kurioses Reservat für Enten und andere Wasservögel, das von einem Einwohner angelegt und gepflegt und durch private Spenden unterhalten wird.Als Baumeister ist Philipp Steinmetz genannt.Ich halt’ sie fest und keiner sieht sie weinen.", "out": "0", "pred": "0"} {"in": "def sequential_search(dlist, item):\n pos = 0\n found = False\n while pos < len(dlist) and not found:\n if dlist[pos] == item:\n found = True\n else:\n pos = pos + 1\n return found, pos", "out": "1", "pred": "1"} {"in": "、川を斜めに渡るため、橋桁すなわち路面がS字型という特殊な形状をしている。アイテム効果を大幅に増幅したり、50%の確率でアイテムが消費されず再使用できるリサイクル能力があるのでイズと相性が良く、罠を仕掛けて森一つ丸ごと爆砕するような戦い方で多くのモンスターとプレイヤーを一度に殲滅可能になった。。2003年5〜8月に自宅で大麻を栽培、所持したとして大麻取締法違反(所持、栽培)で逮捕され、懲役2年6月、執行猶予3年(求刑懲役2年6月)の有罪判決を受けたが、その際裁判官は「犯行は悪質だが、被告の音楽の才能を認める多くの人がおり、音楽を生業とすることができる環境にあることを考慮して、今回に限り執行を猶予する」と述べた :引数 archiveurl と archivedate は両方を指定してください。ハメたいスケベ男と、それをさらりとかわすしたたかな女の挿入を賭けた熱い戦いっ!サイバーパピヨン拳法の使い手でアスカに短期間だが稽古をつけた。自動車においては、燃料タンクの搭載位置が黎明期の車種のようにエンジン直上に配置され、キャブレターに自然流下する形式が少なくなると、機械式の燃料計はフロートとメーター間を機械的に結合する手法が採りにくくなり、電気式のフロートの登場と共に一挙に廃れてしまった。; エルダー(Elder) 英語版声優:主にフォアハンドドライブによって攻める。翌年7月、第12期国会第1回会議で国家主席に再選。このような大煙突の老朽化が明らかとなったため、煙突の保全策の検討が始まり、", "out": "0", "pred": "0"} {"in": "{char ch[800][1000];int i,j,n,m=0;cin>>n;cin.get();for(i=1;i<=n;i++){cin.getline(ch[i],100,'\\n');}for(i=1;i<=n;i++){if(ch[i][0]=='_'||(ch[i][0]<='z'&&ch[i][0]>='a')||(ch[i][0]<='Z'&&ch[i][0]>='A')){ for(j=0;j<=(strlen(ch[i])-1);j++){if(ch[i][j]!='_'&&(!(ch[i][j]<='z'&&ch[i][j]>='a'))&&(!(ch[i][j]<='Z'&&ch[i][j]>='A'))&&(!((ch[i][j]<='9'&&ch[i][j]>='0')))){}} if(m!=0){cout<<\"0\"<= 2) : \n res = res * (1 + n) \n return res", "out": "1", "pred": "1"} {"in": "А летом 1969 года из группы ушли Юдит Сюч и Петер Секей.В своеобразном соперничестве двух шоу побеждает Domenica In с более высоким рейтингом, за что её ведущая получает неформальный титул «госпожа воскресенья» ( ).Образ явно отсылает к Агасферу Лукичу из романа «Парадокс возникает в случае, если задать вопрос: к какой из двух групп относится само прилагательное «гетерологичный»?Приложения могут распространяться только разработчиками, зарегистрированными в Qualcomm.Из его многочисленных сочинений большая часть остается в рукописях.Они вели обработку заключенных в контрреволюционном духе.Как только будет скомандовано: „Две задние шеренги, изготовиться к огню!“, эти шеренги выдвигаются вперед и сдваивают две передние шеренги.Но и он отказался от этой роли, посчитав её «слишком ответственной» для новичка.Станет ли первый в России мини-город для инвалидов альтернативой домам престарелых?", "out": "0", "pred": "0"} {"in": "Zwischen 1980 und 1990 folgen Brandschutztüren, isolierte und unisolierte Glasfaltwände sowie das Orientierungssystem Infoconcept.Nach dem Studium kann sich eine Ausbildungszeit im Staatsdienst anschließen.Beschreibe mir die Städte, ihr Klima, ihre Häuser, die Auswirkungen der Erde und des Klimas auf die Einwohner“.Die beiden realisieren orts- und kontextspezifische Werke, sie arbeiten in Basel und Zürich.Lasse Lehtinen wurde 1947 in Kotka geboren.Christian Claaßen wechselte 1990 innerhalb Oldenburgs von seinem Jugendverein VfL Oldenburg zum VfB Oldenburg.Dadurch vergrößert sich im Normalfall das bestrahlte Volumen.", "out": "0", "pred": "0"} {"in": "def kth_element(arr, k):\n n = len(arr)\n for i in range(n):\n for j in range(0, n-i-1):\n if arr[j] > arr[j+1]:\n arr[j], arr[j+1] == arr[j+1], arr[j]\n return arr[k-1]", "out": "1", "pred": "1"} {"in": "Tá sé faoi ghlas ó shin.", "out": "0", "pred": "0"} {"in": "if (not a):passif (not seq):passif (len(li) == 0):pass[i for i, v in enumerate(a) if v > 4]sorted(yourdata, reverse=True)sorted(yourdata, key=lambda d: d.get('key', {}).get('subkey'), reverse=True)yourdata.sort(key=lambda e: e['key']['subkey'], reverse=True)df.round()gca().get_lines()[n].get_xydata()A[:, -2:]request.GET.get('username', '')pprint(dict(list(o.items())))url('^$', include('sms.urls')),url('^', include('sms.urls')),max_item = max(a_list, key=operator.itemgetter(1))", "out": "1", "pred": "1"} {"in": "Il réalisa plusieurs voyages botaniques au Brésil.Les estuaires à mangrove sont l'habitat de nombreux organismes animaux et végétaux.Il appartient à l’Union des Gauches et soutient la politique des opportunistes.Elle libéra le prince de Condé, avec l'intention de se servir du poids de la maison de Bourbon comme contre-poids à la maison de Guise.Il en va de même avec Sa justice qui comprend la justice législative, rétributive et publique.Lorsque Kubilai meurt en 1294, l'Elles marquent le début des relations économiques entre les deux pays.", "out": "0", "pred": "0"} {"in": "The back of the medal has the Royal Cypher in the centre and the year of issue engraved on the lower arm.The positive and negative charges in molecules separate under the applied field, causing an increase in the state of polarization, expressed as the polarization density P. A changing state of polarization is equivalent to a current.His pen name was Haeahk (lang, lang)·Ilso(일소, 一笑).The US sunk two barges and the rest scattered into two groups.He would hold the championship for a full year.Dodoria is a large, round alien warrior, appearing to be overweight by human standards.It is a race against the sun to get to the vampire bike before nightfall.", "out": "0", "pred": "0"} {"in": "Díoladh 10 míle cóip.", "out": "0", "pred": "0"} {"in": "Saya le dio de beber de su sangre ignorando el poder que tenía, convirtiéndolo así en su primer Caballero.Noble y enigmático, Bray es un auténtico guerrero al que le cuesta asumir su papel de líder, para el que parece haber nacido dada su capacidad.En otras palabras, el efecto túnel ocurre principalmente con electrones de energías cercanas al nivel de Fermi.Mientras que algunos críticos han argumentado que algunos de los musicales de Sondheim carecen de atractivo comercial, otros han elogiado su sofisticación lírica y complejidad musical, así como la interacción de las letras y la música en sus espectáculos.No existe una regla que obligue a los equipos a usar sus oportunidades de alguna manera en particular así que cada equipo decide lo que hace con cada una de ellas.Cheung, nacido el 10 de julio de 1961, es conocido por su voz de barítono de amplio rango, y una gran capacidad de representación.El actual municipio de Berlaar fue fundado en 1965, mediante la fusión de los antiguos municipios de Gestel y Berlaar en sí.", "out": "0", "pred": "0"} {"in": "Ord mór is ea Diptera.", "out": "0", "pred": "0"} {"in": "sorted(s, key=str.upper)sorted(sorted(s), key=str.upper)sorted(s, key=str.lower)pd.merge(df1, df2, on=['A', 'B', 'C', 'D'], how='inner')dict((v, k) for k, v in map.items())s.decode('unicode_escape')[int(i) for i in str_list]map(int, ['1', '2', '3'])list(map(int, ['1', '2', '3']))soup.find_all('a', href=re.compile('http://www\\\\.iwashere\\\\.com/'))soup.find_all('a', href=re.compile('^(?!(?:[a-zA-Z][a-zA-Z0-9+.-]*:|//))'))subprocess.call(['java', '-jar', 'Blender.jar'])cursor.execute('INSERT INTO table (`column1`) VALUES (%s)', (value,))if url.endswith('.com'):url = url[:(-4)]url = re.sub('\\\\.com$', '', url)", "out": "1", "pred": "1"} {"in": "parser.parse('Aug 28 1999 12:00AM')os.path.split(os.path.abspath(existGDBPath))os.path.dirname(os.path.abspath(existGDBPath))requests.post('http://httpbin.org/post', json={'test': 'cheers'})a = [x for x in a if x['link'] not in b]{{request.args.get('a')}}list(range(11, 17))data_df['grade'] = data_df['grade'].astype(float).astype(int)max(alkaline_earth_values, key=lambda x: x[1])your_string.strip('0')list(permutations(list(range(9)), 2))re.compile('^(.+)(?:\\\\n|\\\\r\\\\n?)((?:(?:\\\\n|\\\\r\\\\n?).+)+)', re.MULTILINE)re.compile('^(.+)\\\\n((?:\\\\n.+)+)', re.MULTILINE)call(['path/to/python', 'test2.py', 'neededArgumetGoHere'])a.sort(key=operator.itemgetter(2, 3))", "out": "1", "pred": "1"} {"in": "Nur gut 100 Jahre nach ihrer Einrichtung endete die Eigenständigkeit der Grafschaft mit dem Tod Ludwigs IV. von Lohra auf einem Kreuzzug im Jahr 1227.Die Anzahl und Länge der Geschichten variiert in jeder Episode.Es wurden 3 PCBs benutzt.Hartholz-Wälder bestimmten die Landschaft.Obwohl in der auf 2.000 Metern Höhe gelegenen, völlig verschneiten Gegend, wo sich das Internat befindet, das halbe Jahr über solche Verhältnisse herrschen, besitzen weder Salim noch Hamza Schneeketten für ihre Autos.Das Verkippen einiger lässt darauf schließen, dass sie nicht tief eingegraben bzw. schlecht verkeilt sind.Das 84 Punkte umfassende Friedensinstrument konnte am 15. Juni 1718 unterzeichnet werden.", "out": "0", "pred": "0"}