学oi的日子里,在机房中发生过什么令你捧腹大笑的事情?

发布时间:
2024-10-05 06:01
阅读量:
0

那次我吃饭比较快,回机房后,我与朋友闲聊。

朋友:你写过博弈论吗?

我(新手):没。咋滴了?

朋友:听说有道题,只要是奇数输出 ,不是输出 就行,要不咋们俩自己选一道博弈论,比比谁骗得分多,好否?

我:彳亍。

他瞎写完后,喜提 分。

我找了洛谷P4136,写了以下屎山:

#include<bits/stdc++.h> using namespace std; bool aa[100][100]; int main(){ int a; while(cin>>a and a!=0) { (a%2==0)? cout<<"Alice":cout<<"Bob"; cout<<endl; } return 0; }

获得 分,当时同学懵逼的表情我这辈子都忘不了!

END