{"height":"190","author_url":"https://blog.hatena.ne.jp/bouzuya/","type":"rich","published":"2023-04-05 23:01:20","provider_url":"https://hatena.blog","width":"100%","url":"https://bouzuya.hatenablog.com/entry/2023/04/05/230120","title":"ABC157 \u306e B \u3092\u89e3\u3044\u305f","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2023%2F04%2F05%2F230120\" title=\"ABC157 \u306e B \u3092\u89e3\u3044\u305f - bouzuya.hatenablog.com\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://bouzuya.hatenablog.com/","categories":[],"blog_title":"bouzuya.hatenablog.com","author_name":"bouzuya","provider_name":"Hatena Blog","version":"1.0","image_url":null,"description":"ABC157 \u306e B - Bingo \u3092\u89e3\u3044\u305f\u3002 https://atcoder.jp/contests/abc157/submissions/40354718 \u8aad\u307f\u4e0a\u3052\u3089\u308c\u305f\u756a\u53f7\u304c\u5b58\u5728\u3059\u308c\u3070\u305d\u306e\u4f4d\u7f6e\u3092 true \u306b\u3057\u3066\u304a\u304f \u6700\u5f8c\u306b\u884c\u30fb\u5217\u30fb\u30ca\u30ca\u30e1\u3067 use proconio::input; fn main() { input! { a: [[usize; 3]; 3], n: usize, b: [usize; n], } let mut c = vec![vec![false; 3]; 3]; for b_i in b { for j in 0..3 { for k in 0..3 { if\u2026"}