版本比较
福建省J组迷惑行为
正文
增加 29 行删除 29 行
9 行未改动1011121314151617141516171819192021222323 行未改动4748495051515253545513 行未改动6970717273737475767778787980818214 行未改动97989910010110110210310410534 行未改动14014114214314414414514614714881 行未改动23023123223323423423523623723623723823924024124 行未改动26626726826927027027127227327414 行未改动28929029129229329329429529629729729829930030130230330430530630730730830931031125 行未改动3373383393403413413423433443456 行未改动35235335435535635635735835936014 行未改动37537637737837937938038138238330 行未改动41441541641741841841942042042142242342475 行未改动5005015025035045045055065075082 行未改动51151251351451551551651751851952052152252352452552552652752852919 行未改动549550551552553553554555556557259 行未改动全部展开8178188198208218218228238248258268278288298308308318328338348358358368378388394 行未改动9 行未改动#include<bits/stdc++.h>using namespace std;
/*我知道每年洛谷上都有CSP-J/S代码整活, 所以请把我这份代码推上去。 qwq !!!!!!!!!!!! 用户名:Cli****hi 我知道每年洛谷上都有CSP-J/S代码整活,所以请把我这份代码推上去。 qwq!!!!!!!!!!!!用户名:Cli****hi
附:这次的大样例好不规范 附:这次的大样例好不规范*/
long long t,m,a,b,c,delta;23 行未改动 else if(b==0&&c==0){ printf("0"); } else if(delta==0){ //有理数 //有理数 if(a*(-b)>0){ long long k1 = abs(b),k2 = 2*abs(a); long long g = gcd(max(k1,k2),min(k1,k2)); if(k1%k2==0){13 行未改动 else{ printf("%lld/%lld",k1/g,k2/g); } } //无理数 //无理数 } else if(delta>0){
long long tp = sqrt(delta); //带更号 //带更号 if(tp*tp!=delta){ //处理delta long long dc = 1; for(int i = 2;i*i<delta;i++){14 行未改动 } else{ printf("%lld/%lld",k1/g,k2/g); } } } else if(a*(-b)<0){ printf("-"); long long k1 = abs(b),k2 = 2*abs(a); pp = k1;34 行未改动// else if(a<0){ //-delta// } } //不带更号 //不带更号 else if(tp*tp==delta){ if(a>0){ long long kk = tp-b; if(kk==0){81 行未改动//祝自己rp+=400//支持CCF//洛谷号:__Cby___//codeforces号:cby_//加油! //加油!//想来这段时间也付出了不少//希望CCF给我一个能证明我水平的分数!!! //11:52检查完文件 //希望CCF给我一个能证明我水平的分数!!!//11:52检查完文件```
FJ-J01585在每一个程序里都在宣团。
24 行未改动 cout<<s; return 0;}//欢迎加入摸鱼团队 !!!//我们在洛谷50312团队等您! //我们在洛谷50312团队等您!```
FJ-J00044在bus里面默写了《Dive back in time》的歌词。
14 行未改动CCF你这么出题真的会让人得寸进尺啊啊啊啊既没有捆绑测试,也没有多组数据关键是还有输出-1就对的测试点!!!!!哇偶活这么大第一次看到CCF这么善良 活这么大第一次看到CCF这么善良*//*无聊到默写歌词的到底还有谁?!《Dive back in time》 《Dive back in time》It didn't take too long to realizeSomething has change in the back of my mindYour eyesThere ain't no where left to hide behindTime no longer flew like it wasWhen the flash froze everything beforeWithout youI don't know if I can take this road~
Chase you to the end of world Chase you to the end of worldJust to say your name once moreIf I had only get it right before
Every minutes that I delback in time25 行未改动Dive...Dive back in timeDive...
I don't you feel sory I don't you feel soryI love where I going nowCause I about to lose myCause I about to lose myCause I about to lose my mind6 行未改动Come back from the dive back in timeDive...Dive back in timeDive...*/ */```
FJ-J00028在uqe里把freopen注释掉了,骗分失败(
14 行未改动 int lll=c/a; cout<<sqrt(lll); } }
} return 0;}```30 行未改动FJ-J00267在代码里写下了“玩原玩的”......
```cpp//好好好你这么写是吧。//体现出金钱的珍贵和自驾路途的遥远,衬托出社会底层人民(指小苞)的艰辛(指旅个游都要这么省钱)和脑子不好使(指不会算总费用让我们来算)。 //体现出金钱的珍贵和自驾路途的遥远,衬托出社会底层人民(指小苞)的艰辛(指旅个游都要这么省钱)和脑子不好使(指不会算总费用让我们来算)。//小苞 = 魈宝(警觉)//玩原玩的 //玩原玩的#include<bits/stdc++.h>using namespace std;int n,d,j;int v[100010],a[100010],cmin=100010;75 行未改动 if(n==3) cout<<3<<" "<<3; if(n==2) cout<<2<<" "<<2; if(n==1) cout<<1<<" "<<1; if(n==9) cout<<5<<" "<<4;
if(n==18) cout<<7<<" "<<1; if(n==10) cout<<5<<" "<<6; if(n==17) cout<<7<<" "<<1; if(n==16) cout<<6<<" "<<6;2 行未改动 if(n==13) cout<<6<<" "<<6; if(n==12) cout<<6<<" "<<6; if(n==11) cout<<5<<" "<<2; if(n==19) cout<<7<<" "<<1;
return 0;}```
FJ-J00420在apple和road中将freopen注释了。
```cpp#include<bits/stdc++.h>using namespace std;vector<vector<int>> a; vector<vector<int>> a;int main(){// freopen(" apple.in","r",stdin);// freopen(" apple.out","w",stdout); int n,ans=0;cin>>n;19 行未改动 int v;cin>>v; } int c=rand(1,1000000); cout<<c;} }```
FJ-J00551没有写freopen。
259 行未改动全部展开 break; } } //2.求得费用与加的油量 if(flag==false)//上一轮选择没有选到合适的目标,直接前往第n个站点 if(flag==false)//上一轮选择没有选到合适的目标,直接前往第n个站点 { ans=ans+(floor((double)(b[n]-b[pt])/((double)d)))*a[pt];// cout<<floor((double)(b[n]-b[pt])/((double)d))*a[pt]<<endl; break; } else { //1.计算油量 ll plfue=ceil((double)(b[newpt]-b[pt])/((double)d)); ll plfue=ceil((double)(b[newpt]-b[pt])/((double)d)); fuel+=plfue;//"加油" //2.计算价格 ans+=plfue*a[pt]; //3.进行迭代// fuel-=ceil((double)(b[newpt]-b[pt])/((double)d)); // fuel-=ceil((double)(b[newpt]-b[pt])/((double)d)); pt=newpt;//到达指定站点 } } cout<<ans<<endl;4 行未改动