版本比较
NOIP2025 JS 迷惑行为大赏
正文
增加 24 行删除 24 行
123456 行未改动121314151617181920490 行未改动全部展开511512513514515516517518519333 行未改动全部展开85385485585685785885986086186286386440 行未改动905906907908909910911912913965 行未改动全部展开18791880188118821883188418851886188718881889189018911,493 行未改动全部展开3385338633873388338933903391339233934 行未改动33983399340034013402340334043405340633 行未改动3440344134423443344434453446344734481,888 行未改动全部展开533753385339534053415342534353445345461 行未改动全部展开58075808580958105811581258135814581557 行未改动58735874587558765877587858795880588117 行未改动589959005901590259035904590559065907342 行未改动全部展开62506251625262536254625562566257625862596260626162626263626427 行未改动6292629362946295629662976298629963006301630263036304246 行未改动全部展开**警告:本文过长,源码共有 $136\,631$ 个字符,可能会导致您的浏览器卡顿,请谨慎点开,本人不对此负责。****免责声明:以下代码不代表作者本人观点**。# 统计数据6 行未改动- `void` 在 $1\,097$ 份代码中出现了共 $2\,475$ 次。- `#define int long long` 在 $744$ 份代码中出现了共 $744$ 次。- `#define int ll` 在 $11$ 份代码中出现了共 $11$ 次。- `freopen` 在 $2\,524$ 份代码中出现了共 $5\,130$ 次。- `freopen` 在 $37$ 份代码中出现了共 $75$ 次。- `cin` 在 $1\,708$ 份代码中出现了共 $5\,835$ 次。- `cout` 在 $1\,916$ 份代码中出现了共 $5\,393$ 次。- `cerr` 在 $122$ 份代码中出现了共 $295$ 次。- `scanf` 在 $523$ 份代码中出现了共 $1\,472$ 次。490 行未改动全部展开[sale.cpp] **计数太难了!**```cpp* 显然不能阿。** 被数数题狙击了。*/```333 行未改动全部展开[sale.cpp] **我 爱 数 数**```cpp lines=9-9//thers must be sth like [i | ] or [i | ]// [j]|[k] [j]|[ k ][ l ]...// m and a[j]+a[k]<a[i] m without limits//then try all i,j//for i,b[i] must be choosen before with weight 1/2//for i,c[i] can be choosen before with weight 1//else n-b[i]-c[i]-1 is where k from,but unsure whether a[j]+a[k]<a[i]//hard to find who j is.if did,we need to search num of k:a[k]<a[i]-a[j],O(n^2log)?seems right,n=5e340 行未改动freopen("tree.in","r".stdin);freopen("tree.out","w",stdout);ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);return 0;}```965 行未改动全部展开```cpp//? 75pts maybe/*maiyatangwhite rabbit naitanghuameitangcanxiangIRON_LOTUS*/```[query.cpp] **对 $2^{32}$ 取模**1,493 行未改动全部展开//8:31 start now//quintus(called hz) can say goodbye for 4 years,and return to our computer room lonely//"All will say good bye to hz,only hz will AK IOI"//so,see you tomorrow```[sale.cpp] **最后一舞**4 行未改动//it's so good that it's C(n,m)//I have no jiu now//however let me have a try//there's still 3.5h//hp--//i hear the pao cao music,that made me full of hp//wait,zhe bu shi da xue ma???33 行未改动```cpp// AFO// I know I don't have the ability to get the award,// but I always try to make my dream true.// Well,this information told me that I am truly a feiwu.// Goodbye,National Olympics Information,// and goodbye to the earlier years I payed for it.// 20+10+0+0=301,888 行未改动全部展开#include<bits/stdc++.h>using namesapace std;signed main(){return 0;}```461 行未改动全部展开//but on the other hand,it's not that bad//I've learnt oi for just two years,and (maybe) I still have time//someone is eating bread,I can smell it//I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry//long time ago,Ray's dog was out hunting while Ray was guarding the house.//The dog was running in the woods when it hear Ray barking loudly.//Quickly the dog went back home,it saw nothing weird.When he saw his dog,Ray greeted it with a big smile on his face.57 行未改动*/freopen("tree.in","r",stdin);freopen("tree.out","w",stdout);return 0;}```## JS-067817 行未改动[candy.cpp] **满分!**```cpp//8:56 100pts//all example AC```[sale.cpp] **记得开 long long**342 行未改动全部展开C C F N N N O O II P PC C FFFFF N N N O O II PPPPPC C F N N N O O II PCCCCC CCCCC F N NN OOOO IIII P222 000 222 55555 RRRR PPPP + + ! !2 2 0 0 2 2 5 R R P P + + ! !2 0 0 0 2 5555 RRRR PPPP +++++ +++++ ! !2 0 0 2 5 R R P + +22222 000 22222 5555 R R P + + ! !2025 NOIP RP+=infJS-0718G9 ju ruo, luogu: QiuOutlook27 行未改动10:22 hao xiang you dian dong le, shi shi (yi yu shuang guan (bushi) )10:39 finish V1, but WA10:58 debug finished, but WA again (hong wen le)11:05 six six six, guo ran tan xin yao zheng ming, zheng que xing zha le11:07 gan jue ke yi bao li, but pts may low, bu shi wo lan ;( !(11:12 T4 bu hui every day11:15 maybe segment_tree + binary_search + hundereds of mills bao li ?11:32 xie wan seg_tree fa xian hao xiang bu yong11:36 suan le jiu xie bao li ba11:50 quan WA le... bu xiang programming le, tong fang da lao orz12:20 review, but more bugs246 行未改动全部展开123456 行未改动121314151617181920490 行未改动全部展开511512513514515516517518519333 行未改动全部展开85385485585685785885986086186286386440 行未改动905906907908909910911912913965 行未改动全部展开18791880188118821883188418851886188718881889189018911,493 行未改动全部展开3385338633873388338933903391339233934 行未改动33983399340034013402340334043405340633 行未改动3440344134423443344434453446344734481,888 行未改动全部展开533753385339534053415342534353445345461 行未改动全部展开58075808580958105811581258135814581557 行未改动58735874587558765877587858795880588117 行未改动589959005901590259035904590559065907342 行未改动全部展开62506251625262536254625562566257625862596260626162626263626427 行未改动6292629362946295629662976298629963006301630263036304246 行未改动全部展开**警告:本文过长,源码共有 $136\,631$ 个字符,可能会导致浏览器卡顿,请谨慎点开,本人不对此负责。****免责声明:以下代码不代表作者本人观点**。# 统计数据6 行未改动- `void` 在 $1\,097$ 份代码中出现了共 $2\,475$ 次。- `#define int long long` 在 $744$ 份代码中出现了共 $744$ 次。- `#define int ll` 在 $11$ 份代码中出现了共 $11$ 次。- `freopen` 在 $2\,524$ 份代码中出现了共 $5\,130$ 次。- `//freopen` 在 $37$ 份代码中出现了共 $75$ 次。- `cin` 在 $1\,708$ 份代码中出现了共 $5\,835$ 次。- `cout` 在 $1\,916$ 份代码中出现了共 $5\,393$ 次。- `cerr` 在 $122$ 份代码中出现了共 $295$ 次。- `scanf` 在 $523$ 份代码中出现了共 $1\,472$ 次。490 行未改动全部展开[sale.cpp] **计数太难了!**```cpp* 显然不能阿。** 被数数题狙击了。*/```333 行未改动全部展开[sale.cpp] **我 爱 数 数**```cpp lines=9-9//thers must be sth like [i | ] or [i | ]// [j]|[k] [j]|[ k ][ l ]...// m and a[j]+a[k]<a[i] m without limits//then try all i,j//for i,b[i] must be choosen before with weight 1/2//for i,c[i] can be choosen before with weight 1//else n-b[i]-c[i]-1 is where k from,but unsure whether a[j]+a[k]<a[i]//hard to find who j is.if did,we need to search num of k:a[k]<a[i]-a[j],O(n^2log)?seems right,n=5e340 行未改动freopen("tree.in","r".stdin);freopen("tree.out","w",stdout);ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);return 0;}```965 行未改动全部展开```cpp//? 75pts maybe/*maiyatangwhite rabbit naitanghuameitangcanxiangIRON_LOTUS*/```[query.cpp] **对 $2^{32}$ 取模**1,493 行未改动全部展开//8:31 start now//quintus(called hz) can say goodbye for 4 years,and return to our computer room lonely//"All will say good bye to hz,only hz will AK IOI"//so,see you tomorrow```[sale.cpp] **最后一舞**4 行未改动//it's so good that it's C(n,m)//I have no jiu now//however let me have a try//there's still 3.5h//hp--//i hear the pao cao music,that made me full of hp//wait,zhe bu shi da xue ma???33 行未改动```cpp// AFO// I know I don't have the ability to get the award,// but I always try to make my dream true.// Well,this information told me that I am truly a feiwu.// Goodbye,National Olympics Information,// and goodbye to the earlier years I payed for it.// 20+10+0+0=301,888 行未改动全部展开#include<bits/stdc++.h>using namesapace std;signed main(){return 0;}```461 行未改动全部展开//but on the other hand,it's not that bad//I've learnt oi for just two years,and (maybe) I still have time//someone is eating bread,I can smell it//I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry I'm hungry//long time ago,Ray's dog was out hunting while Ray was guarding the house.//The dog was running in the woods when it hear Ray barking loudly.//Quickly the dog went back home,it saw nothing weird.When he saw his dog,Ray greeted it with a big smile on his face.57 行未改动*/freopen("tree.in","r",stdin);freopen("tree.out","w",stdout);return 0;}```## JS-067817 行未改动[candy.cpp] **满分!**```cpp//8:56 100pts//all example AC```[sale.cpp] **记得开 long long**342 行未改动全部展开C C F N N N O O II P PC C FFFFF N N N O O II PPPPPC C F N N N O O II PCCCCC CCCCC F N NN OOOO IIII P222 000 222 55555 RRRR PPPP + + ! !2 2 0 0 2 2 5 R R P P + + ! !2 0 0 0 2 5555 RRRR PPPP +++++ +++++ ! !2 0 0 2 5 R R P + +22222 000 22222 5555 R R P + + ! !2025 NOIP RP+=infJS-0718G9 ju ruo, luogu: QiuOutlook27 行未改动10:22 hao xiang you dian dong le, shi shi (yi yu shuang guan (bushi) )10:39 finish V1, but WA10:58 debug finished, but WA again (hong wen le)11:05 six six six, guo ran tan xin yao zheng ming, zheng que xing zha le11:07 gan jue ke yi bao li, but pts may low, bu shi wo lan ;( !(11:12 T4 bu hui every day11:15 maybe segment_tree + binary_search + hundereds of mills bao li ?11:32 xie wan seg_tree fa xian hao xiang bu yong11:36 suan le jiu xie bao li ba11:50 quan WA le... bu xiang programming le, tong fang da lao orz12:20 review, but more bugs246 行未改动全部展开