結果
| 問題 |
No.1415 100の倍数かつ正整数(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-24 21:06:35 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 332 bytes |
| コンパイル時間 | 700 ms |
| コンパイル使用メモリ | 102,272 KB |
| 実行使用メモリ | 18,816 KB |
| 最終ジャッジ日時 | 2024-11-26 23:23:01 |
| 合計ジャッジ時間 | 1,869 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class Paiza
{
static void Main()
{
string N = Console.ReadLine();
double NN = double.Parse(N);
if(NN > 0)
{
double NNN = NN / 100;
Console.WriteLine(Math.Floor(NNN));
}
else
{
Console.WriteLine(0);
}
}
}