摘要: 2315. 统计星号 题解: 按题意模拟 class Solution { public int countAsterisks(String s) { int n = s.length(); int res = 0; // 是否不在竖线对之间 boolean flag = true; for (in 阅读全文
posted @ 2023-01-29 10:57 Eiffelzero 阅读(27) 评论(0) 推荐(0)