結果
問題 | No.746 7の倍数 |
ユーザー |
![]() |
提出日時 | 2019-01-20 18:09:30 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 262 bytes |
コンパイル時間 | 868 ms |
コンパイル使用メモリ | 108,980 KB |
実行使用メモリ | 28,364 KB |
最終ジャッジ日時 | 2024-09-13 19:54:48 |
合計ジャッジ時間 | 2,594 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | WA * 20 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;namespace abc{class ex{static void Main(string[] args){var x = Math.Pow(10, double.Parse(Console.ReadLine()));var a = Math.Floor(x / 7d);Console.WriteLine(a / x);}}}