結果
| 問題 |
No.128 お年玉(1)
|
| コンテスト | |
| ユーザー |
soi09476291
|
| 提出日時 | 2019-11-11 18:29:49 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 459 bytes |
| コンパイル時間 | 1,784 ms |
| コンパイル使用メモリ | 109,164 KB |
| 実行使用メモリ | 25,664 KB |
| 最終ジャッジ日時 | 2024-10-01 11:10:33 |
| 合計ジャッジ時間 | 3,239 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 5 RE * 16 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace ConsoleApp11
{
class Program
{
static void Main(string[] args)
{
long x = 0;
long N = int.Parse(Console.ReadLine());
long M = int.Parse(Console.ReadLine());
x = N / M;
if(x < 1000)
{
Console.WriteLine(0);
}
else
{
Console.WriteLine(x);
}
}
}
}
soi09476291