結果
問題 | No.46 はじめのn歩 |
ユーザー | Mail_Tegami |
提出日時 | 2022-10-02 21:50:41 |
言語 | C# (.NET 8.0.203) |
結果 |
WA
|
実行時間 | - |
コード長 | 338 bytes |
コンパイル時間 | 14,010 ms |
コンパイル使用メモリ | 147,276 KB |
実行使用メモリ | 161,064 KB |
最終ジャッジ日時 | 2023-08-26 19:30:38 |
合計ジャッジ時間 | 12,069 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 45 ms
27,704 KB |
testcase_01 | WA | - |
testcase_02 | AC | 45 ms
27,852 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 45 ms
27,868 KB |
testcase_07 | WA | - |
testcase_08 | AC | 45 ms
27,844 KB |
testcase_09 | AC | 44 ms
161,064 KB |
コンパイルメッセージ
Determining projects to restore... Restored /home/judge/data/code/main.csproj (in 119 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; public class Program { static void Main() { string s = Console.ReadLine(); string[] t = s.Split(' '); int a = int.Parse(t[0]); int b = int.Parse(t[1]); int result = b/a; if(a*result >b) result++; Console.WriteLine(result); } }