NOIP 2025 TJ 迷惑行为大赏
本次天津共有
免责声明:以下代码不代表作者本人观点。
示例
以下是一个代码展示格式的示例。
TJ-0000
(以上为选手的准考证号。)
[candy.cpp/sale.cpp] 你 被 骗 了
(以上表示以下代码段出现在了哪些程序中,和作者对其的评价。)
//freopen("input.txt","r",stdin);
(以上表示代码片段。)
选手
选手按照准考证号顺序排序。
TJ-0003
[sale.cpp] int mian()是这样的
int mian()
{
cin>>n>>m;
for(int i=1;i<=n;i++)
cin>>a[i];
ans=0;
dfs(1);
cout<<ans<<"\n";
return 0;
}
此份代码依旧通过了编译。
TJ-0004
[candy文件夹下] 我该在哪里停留?我问我自己
TJ-0011
[query.cpp] CCF我爱你
while(1)cout<<"CCF I love You.";
TJ-0022
[candy.cpp] 面向样例编程
freopen("candy6.in" , "r" , stdin);
freopen("candy6.out", "w" , stdout);
挂100分(官方数据)。
TJ-0023
[query.cpp] 拼音用户
//666zenmehaiyougaojingduwobuwanle
翻译:666怎么还要高精度,我不玩了
其实他没有注意到可以自然溢出。
TJ-0028
[candy.cpp] 退役人
/*
This is my last competition in OI.
I started learning it from Junior One.
And I will AFO on 2025/11/29, no matter how good or bad I've done.
I will graduate from senior high soon.
I used to be a contestant in Jiangsu Province.
I am a graduate from Nanjing Foreign Language School.
After being admitted by the Young Gifted Program of Xi'an Jiaotong University, I went to Tianjin Nankai High School for my first year's course.
Life here is very interesting. I met many kind people, who offered me support.
After NOIP 2025, I will be an XCPCer instead of an OIer.
With regrets and grief.
I love OI.
I love computer science.
I think I will be a computer programmer in the future.
I have made a lot of friends with OI.
zzk2010(My junior high school classmate, currently studying in Middle School Affiliated to Nanjing Normal University), piggy123(Also my junior high school classmate,who studies in Nanjing Foreign Language School now) are my best friends in junior high.
I wish you RP++.
I hope you can enter the provincial team of Jinagsu Province.
And... I miss the joy and happiness in Nanjing Foreign Language School.
I miss my friends.
I hope that we can all be someone great one day.
NOIP 2023 JS-0269
NOIP 2025 TJ-0028
Different provinces, but similar determination.
OI
from 2022/7/6 to 2025/11/29
Farewell.
XSS_Worm (luogu uid 704330)
Junior High 2022-2025 Nanjing Foreign Language School
Senior High 2025-2026 Tianjin Nankai High School
University 2025-2031 Xi'an Jiaotong University
*/
[query.cpp] OI,再见
/*
再见,OI。
感谢你三年的陪伴。
我们,有缘再见。
*/
TJ-0031
[query.cpp] 所以我放弃了输出
int main()
{
//freopen(".in","r",stdin);freopen(".out","w",stdout);
LL m;
scanf("%lld",&m);
cout << ksm(m);
return 0;
}
TJ-0042
[query.cpp] 我爱CCF
//Tags: I Love CCF, CCF, NOIP, CSP
TJ-0045
[query.cpp] 面向样例编程
freopen("query4.in", "r", stdin);
freopen("query.out", "w", stdout);
TJ-0052
[candy.cpp] 人事已尽,天命难违!
//人事已尽,天命难违。
//NOIP2025 RP++!
[tree.cpp] 递归真的是太好用了你知道吗。
//递归真是太好用了你知道吗。
...
//我对这道题有点思路了,但是我没时间写完它了。
TJ-0053
[tree.cpp] 这对吗?是我理解的吗?
int wyt_isgei;
TJ-0059
[tree.cpp] 所以我放弃了输出
/*freopen("tree.in", " r", stdin);
freopen("tree.out", "w", stdout);*/
TJ-0065
[candy.cpp] 题解人
// 分析一手
// 看到这道题第一眼直接就是完全背包
// 但是往下一看数据,m<=1e18
// 证明完全背包一定不行,因为dp时间复杂度一定至少为O(n),但是这个数据连O(n)都过不了
// 另辟蹊径使用优先队列+贪心,注意需要先把first们算上,然后直接除
// 时间复杂度可以直接简化为O(1)左右(其实不是O(1)但是很够用了,至少循环体部分和m没关系所以应该能过)
// p.s. 蒟蒻to写个O(1)还得加cout调试(逃),代码实在太烂惹
// 我也不知道这个代码有木有问题,应该没有吧(祈祷ing
// 反正7个数据点过了
// TLE MLE RE肯定不会有
// ccf补药卡我代码
[sale.cpp] 跪求评测姬
// 根本不会啊烙铁
// 跪求评测姬给我性质A那个点的4分
TJ-0066
[sale.cpp]
int pow2[1001] = {1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,75497471,150994942,301989884,603979768,209715183,419430366,838860732,679477111,360709869,721419738,444595123,889190246,780136139,562027925,125811497,251622994,503245988,8247623,16495246,32990492,65980984,131961968,263923936,527847872,57451391,114902782,229805564,459611128,919222256,840200159,682155965,366067577,732135154,466025955,932051910,865859467,733474581,468704809,937409618,876574883,754905413,511566473,24888593,49777186,99554372,199108744,398217488,796434976,594625599,191006845,382013690,764027380,529810407,61376461,122752922,245505844,491011688,982023376,965802399,933360445,868476537,738708721,479173089,958346178,918448003,838651653,679058953,359873553,719747106,441249859,882499718,766755083,535265813,72287273,144574546,289149092,578298184,158352015,316704030,633408060,268571767,537143534,76042715,152085430,304170860,608341720,218439087,436878174,873756348,749268343,500292333,2340313,4680626,9361252,18722504,37445008,74890016,149780032,299560064,599120128,199995903,399991806,799983612,601722871,205201389,410402778,820805556,643366759,288489165,576978330,155712307,311424614,622849228,247454103,494908206,989816412,981388471,964532589,930820825,863397297,728550241,458856129,917712258,837180163,676115973,353987593,707975186,417706019,835412038,672579723,346915093,693830186,389416019,778832038,559419723,120595093,241190186,482380372,964760744,931277135,864309917,730375481,462506609,925013218,851782083,705319813,412395273,824790546,651336739,304429125,608858250,219472147,438944294,877888588,757532823,516821293,35398233,70796466,141592932,283185864,566371728,134499103,268998206,537996412,77748471,155496942,310993884,621987768,245731183,491462366,982924732,967605111,936965869,875687385,753130417,508016481,17788609,35577218,71154436,142308872,284617744,569235488,140226623,280453246,560906492,123568631,247137262,494274524,988549048,978853743,959463133,920681913,843119473,687994593,377744833,755489666,512734979,27225605,54451210,108902420,217804840,435609680,871219360,744194367,490144381,980288762,962333171,926421989,854599625,710954897,423665441,847330882,696417411,394590469,789180938,580117523,161990693,323981386,647962772,297681191,595362382,192480411,384960822,769921644,541598935,84953517,169907034,339814068,679628136,361011919,722023838,445803323,891606646,784968939,571693525,145142697,290285394,580570788,162897223,325794446,651588892,304933431,609866862,221489371,442978742,885957484,773670615,549096877,99949401,199898802,399797604,799595208,600946063,203647773,407295546,814591092,630937831,263631309,527262618,56280883,112561766,225123532,450247064,900494128,802743903,607243453,216242553,432485106,864970212,731696071,465147789,930295578,862346803,726449253,454654153,909308306,820372259,642500165,286755977,573511954,148779555,297559110,595118220,191992087,383984174,767968348,537692343,77140333,154280666,308561332,617122664,236000975,472001950,944003900,889763447,781282541,564320729,130397105,260794210,521588420,44932487,89864974,179729948,359459896,718919792,439595231,879190462,760136571,522028789,45813225,91626450,183252900,366505800,733011600,467778847,935557694,872871035,747497717,496751081,993502162,988759971,979275589,960306825,922369297,846494241,694744129,391243905,782487810,566731267,135218181,270436362,540872724,83501095,167002190,334004380,668008760,337773167,675546334,352848315,705696630,413148907,826297814,654351275,310458197,620916394,243588435,487176870,974353740,950463127,902681901,807119449,615994545,233744737,467489474,934978948,871713543,745182733,492121113,984242226,970240099,942235845,886227337,774210321,550176289,102108225,204216450,408432900,816865800,635487247,272730141,545460282,92676211,185352422,370704844,741409688,484575023,969150046,940055739,881867125,765489897,532735441,67226529,134453058,268906116,537812232,77380111,154760222,309520444,619040888,239837423,479674846,959349692,920455031,842665709,687087065,375929777,751859554,505474755,12705157,25410314,50820628,101641256,203282512,406565024,813130048,628015743,257787133,515574266,32904179,65808358,131616716,263233432,526466864,54689375,109378750,218757500,437515000,875030000,751815647,505386941,12529529,25059058,50118116,100236232,200472464,400944928,801889856,605535359,212826365,425652730,851305460,704366567,410488781,820977562,643710771,289177189,578354378,158464403,316928806,633857612,269470871,538941742,79639131,159278262,318556524,637113048,275981743,551963486,105682619,211365238,422730476,845460952,692677551,387110749,774221498,550198643,102152933,204305866,408611732,817223464,636202575,274160797,548321594,98398835,196797670,393595340,787190680,576137007,154029661,308059322,616118644,233992935,467985870,935971740,873699127,749153901,500063449,1882545,3765090,7530180,15060360,30120720,60241440,120482880,240965760,481931520,963863040,929481727,860719101,723193849,448143345,896286690,794329027,590413701,182583049,365166098,730332196,462420039,924840078,851435803,704627253,411010153,822020306,645796259,293348165,586696330,175148307,350296614,700593228,402942103,805884206,613524059,228803765,457607530,915215060,832185767,666127181,334010009,668020018,337795683,675591366,352938379,705876758,413509163,827018326,655792299,313340245,626680490,255116627,510233254,22222155,44444310,88888620,177777240,355554480,711108960,423973567,847947134,697649915,397055477,794110954,589977555,181710757,363421514,726843028,455441703,910883406,823522459,648800565,299356777,598713554,199182755,398365510,796731020,595217687,192191021,384382042,768764084,539283815,80323277,160646554,321293108,642586216,286928079,573856158,149467963,298935926,597871852,197499351,394998702,789997404,581750455,165256557,330513114,661026228,323808103,647616206,296988059,593976118,189707883,379415766,758831532,519418711,40593069,81186138,162372276,324744552,649489104,300733855,601467710,204691067,409382134,818764268,639284183,280324013,560648026,123051699,246103398,492206796,984413592,970582831,942921309,887598265,776952177,555660001,113075649,226151298,452302596,904605192,810966031,623687709,249131065,498262130,996524260,994804167,991363981,984483609,970722865,943201377,888158401,778072449,557900545,117556737,235113474,470226948,940453896,882663439,767082525,535920697,73597041,147194082,294388164,588776328,179308303,358616606,717233212,436222071,872444142,746643931,495043509,990087018,981929683,965615013,932985673,867726993,737209633,476174913,952349826,906455299,814666245,631088137,263931921,527863842,57483331,114966662,229933324,459866648,919733296,841222239,684200125,370155897,740311794,482379235,964758470,931272587,864300821,730357289,462470225,924940450,851636547,705028741,411813129,823626258,649008163,299771973,599543946,200843539,401687078,803374156,608503959,218763565,437527130,875054260,751864167,505483981,12723609,25447218,50894436,101788872,203577744,407155488,814310976,630377599,262510845,525021690,51799027,103598054,207196108,414392216,828784432,659324511,320404669,640809338,283374323,566748646,135252939,270505878,541011756,83779159,167558318,335116636,670233272,342222191,684444382,370644411,741288822,484333291,968666582,939088811,879933269,761622185,525000017,51755681,103511362,207022724,414045448,828090896,657937439,317630525,635261050,272277747,544555494,90866635,181733270,363466540,726933080,455621807,911243614,824242875,650241397,302238441,604476882,210709411,421418822,842837644,687430935,376617517,753235034,508225715,18207077,36414154,72828308,145656616,291313232,582626464,167008575,334017150,668034300,337824247,675648494,353052635,706105270,413966187,827932374,657620395,316996437,633992874,269741395,539482790,80721227,161442454,322884908,645769816,293295279,586590558,174936763,349873526,699747052,401249751,802499502,606754651,215264949,430529898,861059796,723875239,449506125,899012250,799780147,601315941,204387529,408775058,817550116,636855879,275467405,550934810,103625267,207250534,414501068,829002136,659759919,321275485,642550970,286857587,573715174,149185995,298371990,596743980,195243607,390487214,780974428,563704503,129164653,258329306,516658612,35072871,70145742,140291484,280582968,561165936,124087519,248175038,496350076,992700152,987155951,976067549,953890745,909537137,820829921,643415489,288586625,577173250,156102147,312204294,624408588,250572823,501145646,4046939,8093878,16187756,32375512,64751024,129502048,259004096,518008192,37772031,75544062,151088124,302176248,604352496,210460639,420921278,841842556,685440759,372637165,745274330,492304307,984608614,970972875,943701397,889158441,780072529,561900705,125557057,251114114,502228228,6212103,12424206,24848412,49696824,99393648,198787296,397574592,795149184,592054015,185863677,371727354,743454708,488665063,977330126,956415899,914587445,830930537,663616721,328989089,657978178,317712003,635424006,272603659,545207318,92170283,184340566,368681132,737362264,476480175,952960350,907676347,817108341,635972329,273700305,547400610,96556867,193113734,386227468,772454936,546665519,95086685,190173370,380346740,760693480,523142607,48040861,96081722,192163444,384326888,768653776,539063199,79882045,159764090,319528180,639056360,279868367,559736734,121229115,242458230,484916460,969832920,941421487,884598621,770952889,543661425,89078497,178156994,356313988,712627976,427011599,854023198,709802043,421359733,842719466,687194579,376144805,752289610,506334867,14425381,28850762,57701524,115403048,230806096,461612192,923224384,848204415,698164477,398084601,796169202,594094051,189943749,379887498,759774996,521305639,44366925,88733850,177467700,354935400,709870800,421497247,842994494,687744635,377244917,754489834,510735315,23226277};
TJ-0071
[candy.cpp] 表白人
bool cmp(ILoveLrh tq,ILoveLrh qt){
return tq.c<qt.c;
}
bool pmc(ILoveLrh tq,ILoveLrh qt){
return tq.x<qt.x;
}
[sale.cpp] 依旧LRH
bool cmp(LrhYYDS tq,LrhYYDS qt){
if(tq.s==qt.s)return tq.sa>qt.sa;
else return tq.s>qt.s;
}
int ILoveLrh(){
TJ-0074
[candy.cpp] 114514是这样的
long long mn=1145141919810;
...
if(ttt>114514){
break;
}
TJ-0082
[sale.cpp] 我知道你很努力地骗分,但
if(c==0)
{
if(t==1)
{
cout << 6;
}
else if(t==1000)
{
cout <<"23\n32\n30\n23\n...";
}
TJ-0094
[candy.cpp] imt类型是这样的
for(imt i=0;i<n;i++){
此份代码编译错误。
TJ-0099
[candy.cpp/sale.cpp/tree.cpp/query.cpp] 我就是喜欢include
#include <iostream>
#include <bits/stdc++.h>
#include <cstdio>
TJ-0103
[candy.cpp] 想上迷惑行为大赏是吧,我满足你
//晋太元中,武陵人捕鱼为业,缘溪行,忘路之远近,忽逢桃花林。夹岸数百步,中无杂树。
//芳草鲜美,落英缤纷,渔人甚异之,复前行欲穷其林,林尽水源,便得一山。山有小口,
//仿佛若有光,便舍船。从口入,初极狭,才通人,复行数十步豁然开朗,土地平旷,屋舍俨然。
//有良田美池桑竹之属,阡陌交通鸡犬相闻,男女衣着悉如外人,黄发垂髫并怡然自乐。
//见渔人,乃大惊,村中闻有此人,闲来问询,自云先世避秦时乱,率旗子邑人来此绝境。
//不复出焉,遂与外人间隔,问今是何世,乃不知有汉,无论魏晋,渔人一一为具言所闻。
//后面忘了,好几年没默过了,我要上大赏。
TJ-0115
[sale.cpp] orz 评测机
// stosto pingceji orzorz
...
// i hate counting