正文
增加 2 行删除 2 行
108 行未改动全部展开109110111112113114115116117118108 行未改动全部展开int q;cin >> q;for (int i = 1, x; i <= q; ++i) {cin >> x;if (mx[x] < INF) cout << mx[x] << endl;else cout << -1 << endl;}return 0;}```108 行未改动全部展开109110111112113114115116117118108 行未改动全部展开int q;cin >> q;for (int i = 1, x; i <= q; ++i) {cin >> x;if (mx[x] < INF) cout << mx[x] << endl;else cout << -1 << endl;}return 0;}```