結果
| 問題 | No.1656 Recuperation |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-08 11:12:59 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 2,000 ms |
| コード長 | 544 bytes |
| 記録 | |
| コンパイル時間 | 8,021 ms |
| コンパイル使用メモリ | 171,072 KB |
| 実行使用メモリ | 187,656 KB |
| 最終ジャッジ日時 | 2025-12-08 11:13:09 |
| 合計ジャッジ時間 | 8,871 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /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/
ソースコード
class Program
{
static void Main(string[] args)
{
int total = int.Parse(Console.ReadLine()!);
List<int> ansList = new List<int>();
for (int i = 0; i < total; i++)
{
string[] input = Console.ReadLine()!.Split(' ');
int increase = int.Parse(input[0]);
int days = int.Parse(input[1]);
ansList.Add(increase * days + days);
}
for (int i = 0;i < ansList.Count;i++)
{
Console.WriteLine(ansList[i]);
}
}
}