結果
問題 | No.388 階段 (1) |
ユーザー | yui-tar |
提出日時 | 2021-03-24 19:47:52 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 1,997 ms |
コンパイル使用メモリ | 101,584 KB |
実行使用メモリ | 24,984 KB |
最終ジャッジ日時 | 2023-08-17 22:32:07 |
合計ジャッジ時間 | 3,843 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 58 ms
20,804 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 58 ms
20,716 KB |
testcase_05 | AC | 57 ms
22,888 KB |
testcase_06 | AC | 57 ms
20,596 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 57 ms
20,712 KB |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Sample { public static void Main() { string str = Console.ReadLine(); string[] st = str.Split(" "); int a = int.Parse(st[0]); int b = int.Parse(st[1]); if (a % b == 0) { Console.WriteLine(a / b + 1); } else { Console.WriteLine(a / b + 2); } } }