結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー | kmtrc130 |
提出日時 | 2019-03-15 16:00:15 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 67 ms / 1,000 ms |
コード長 | 345 bytes |
コンパイル時間 | 2,027 ms |
コンパイル使用メモリ | 100,920 KB |
実行使用メモリ | 24,868 KB |
最終ジャッジ日時 | 2023-09-14 12:22:04 |
合計ジャッジ時間 | 3,723 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 66 ms
24,680 KB |
testcase_01 | AC | 66 ms
24,868 KB |
testcase_02 | AC | 66 ms
20,660 KB |
testcase_03 | AC | 67 ms
22,872 KB |
testcase_04 | AC | 67 ms
22,952 KB |
testcase_05 | AC | 67 ms
22,864 KB |
testcase_06 | AC | 66 ms
22,784 KB |
testcase_07 | AC | 65 ms
20,728 KB |
testcase_08 | AC | 67 ms
24,784 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Text.RegularExpressions; class Program { public void Solve() { int N = int.Parse(Console.ReadLine()); Console.WriteLine("{0} {1}", Math.Ceiling((double)N / 2), Math.Floor((decimal)N / 2)); } static void Main() { var solver = new Program(); solver.Solve(); } }