2021年9月7日

1067 试密码 (20 point(s))

摘要: // 13 points #include <bits/stdc++.h> using namespace std; int main() { string pass, check; int N; cin >> pass >> N; while(cin >> check){ if(check == 阅读全文

posted @ 2021-09-07 17:48 Atl212 阅读(51) 评论(0) 推荐(0)

1066 图像过滤 (15 point(s))

摘要: #include <bits/stdc++.h> using namespace std; int main() { int m, n, a, b, grey; cin >> m >> n >> a >> b >> grey; // 读取 int pic[m][n]; for(int i = 0; 阅读全文

posted @ 2021-09-07 12:38 Atl212 阅读(33) 评论(0) 推荐(0)

1065 单身狗 (25 point(s))

摘要: #include <bits/stdc++.h> using namespace std; int main() { // N 夫妻/伴侣的对数 ID 号 5 位数字 // M 派对的总人数 M 位客人的 ID int n, m; map<string, string> couples; set<s 阅读全文

posted @ 2021-09-07 12:13 Atl212 阅读(69) 评论(0) 推荐(0)

1064 朋友数 (20 point(s))

摘要: #include <bits/stdc++.h> using namespace std; int main() { int n, tmp, a, b, c, d, first = 0; set<int> fri; cin >> n; while(n--){ cin >> tmp; a = tmp 阅读全文

posted @ 2021-09-07 08:12 Atl212 阅读(33) 评论(0) 推荐(0)

1063 计算谱半径 (20 point(s))

摘要: #include <bits/stdc++.h> using namespace std; int main() { float n, max = 0, a, b; cin >> n; while(n--){ cin >> a >> b; if(max < a * a + b * b) max = 阅读全文

posted @ 2021-09-07 08:00 Atl212 阅读(62) 评论(0) 推荐(0)

导航