結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-25 23:13:39 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 153 ms / 2,000 ms |
コード長 | 606 bytes |
コンパイル時間 | 7,930 ms |
コンパイル使用メモリ | 169,460 KB |
実行使用メモリ | 194,132 KB |
最終ジャッジ日時 | 2025-01-25 23:14:26 |
合計ジャッジ時間 | 11,991 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (103 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { int N, M; { int[] vs = Console.ReadLine().Split().Select(_ => int.Parse(_)).ToArray(); N = vs[0]; M = vs[1]; } int ans = 0; for (int i = 0; i < N; i++) { string[] vs = Console.ReadLine().Split(); string s = vs[0]; int r = int.Parse(vs[1]); if (r >= 1200 && s.Substring(0, 4) != "oooo") ans++; } Console.WriteLine(ans); } }