七夕,1314520的传奇
#include<cstdio>
int main()
{
printf("%o%x%d%x",1,31,45,20);
}
一个暑假,大家学会了什么?
我学会了,我打破杯子时,我第一反应是按Ctrl+Z撤销
弱弱问一句,这是bdfs吗?
struct type
{
int x;
int y;
};
queue<type> q;
void bdfs(int x,int y)
{
q.push({x+1,y});
q.push({x,y+1});
q.push({x-1,y});
q.push({x,y-1});
while(!q.empty())
{
bdfs(q.front().x,q.front().y);
q.pop();
}
return;
}