Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
121429 刘星辰liuxingchen 猫和老鼠 C++ 编译错误 0 0 MS 0 KB 553 2024-01-21 17:37:24

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int t; char c[20][20]; int tmp; struct point { int mx; int my; int cx; int cy; int num; }; void bfs(int mx,int my,int cx,int cy) { queue<point> q; } int cx; int cy; int mx; int my; int main() { cin>>t; while(t--) { for(int i=1;i<=10;i++) { for(int j=1;j<=10;j++) { cin>>c[i][j]; if(c[i][j]=='C') { cx=i; cy=j; } if(c[i][j]=='M') { mx=i; my=j; } } } tmp=bfs(mx,my,cx,cy); } return 0; }


测评信息: