书上的代码交上去Runtime Error,故按照自己的思路重写了
#includeusing namespace std;int main(){#ifndef ONLINE_JUDGE freopen("in.txt","r",stdin); freopen("out.txt","w",stdout);#endif int t, cnt = 0; while(scanf("%d", &t), t!=0) { map team; queue qu; map
本文共 946 字,大约阅读时间需要 3 分钟。
书上的代码交上去Runtime Error,故按照自己的思路重写了
#includeusing namespace std;int main(){#ifndef ONLINE_JUDGE freopen("in.txt","r",stdin); freopen("out.txt","w",stdout);#endif int t, cnt = 0; while(scanf("%d", &t), t!=0) { map team; queue qu; map
转载于:https://www.cnblogs.com/kunsoft/p/5312786.html