結果
問題 | No.1656 Recuperation |
ユーザー | ccc |
提出日時 | 2022-07-27 18:32:05 |
言語 | C# (.NET 8.0.203) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 356 bytes |
コンパイル時間 | 9,630 ms |
コンパイル使用メモリ | 145,428 KB |
実行使用メモリ | 165,284 KB |
最終ジャッジ日時 | 2023-09-24 07:26:37 |
合計ジャッジ時間 | 8,278 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 52 ms
28,804 KB |
testcase_01 | AC | 52 ms
28,880 KB |
testcase_02 | AC | 53 ms
28,840 KB |
testcase_03 | AC | 53 ms
165,284 KB |
コンパイルメッセージ
Determining projects to restore... Restored /home/judge/data/code/main.csproj (in 160 ms). .NET 向け Microsoft (R) Build Engine バージョン 17.0.0-preview-21470-01+cb055d28f Copyright (C) Microsoft Corporation.All rights reserved. プレビュー版の .NET を使用しています。https://aka.ms/dotnet-core-preview をご覧ください main -> /home/judge/data/code/bin/Release/net6.0/main.dll main -> /home/judge/data/code/bin/Release/net6.0/publish/
ソースコード
using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { var cnt = int.Parse(Console.ReadLine()); for (int i = 0; i < cnt; i++) { var x = Console.ReadLine().Split().Select(int.Parse).ToArray(); Console.WriteLine(x[1] + (x[0] * x[1])); } } }