随笔分类 -  模拟

Codeforces 2 A. Winner
摘要:题意: 最终获得分数最大的情况下,求最先达到最大分数的人。 C#10 .net6代码 int n = int.Parse(Console.ReadLine()!); Dictionary<string, int> dict = new(); List<Tuple<string, int>> list 阅读全文

posted @ 2022-12-06 16:15 luobo67 阅读(14) 评论(0) 推荐(0)

Codeforces 1 B. Spreadsheets
摘要:题意: EXCEL 单元格位置表示方法相互转化 R23C55 <=> RC23 思路 AAA <=> 26 ^ 2 + 26 + 1 用到知识点: 正则表达式匹配 字符串反转 字符串出现位置 C# 10 .net6 代码 using System.Text; using System.Text.Re 阅读全文

posted @ 2022-12-05 18:23 luobo67 阅读(28) 评论(0) 推荐(0)

导航