結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
heno239
|
| 提出日時 | 2024-02-05 17:13:19 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 50 ms / 2,000 ms |
| コード長 | 693 bytes |
| コンパイル時間 | 8,160 ms |
| コンパイル使用メモリ | 165,412 KB |
| 実行使用メモリ | 180,388 KB |
| 最終ジャッジ日時 | 2024-09-28 11:38:16 |
| 合計ジャッジ時間 | 9,027 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (96 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System.Collections;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal class Program
{
private const long mod = 998244353;
public static List<string> ss = new List<string>(["watermelon", "beachball", "shrinebell"]);
public static void Main(string[] args)
{
var s = Console.ReadLine();
var t = Console.ReadLine();
ss.ForEach(x =>
{
if (s != x && t != x) Console.WriteLine(x);
});
}
public static List<int> mkar(int n, int val)
{
List<int> res = new List<int>(n);
for(int i=0;i<n;i++)res.Add(val);
return res;
}
}
heno239