結果
問題 | No.9005 実行時間/使用メモリテスト(テスト用) |
ユーザー | eitaho |
提出日時 | 2015-03-27 16:16:43 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
MLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 690 bytes |
コンパイル時間 | 2,934 ms |
コンパイル使用メモリ | 107,568 KB |
実行使用メモリ | 102,256 KB |
最終ジャッジ日時 | 2023-09-11 10:42:48 |
合計ジャッジ時間 | 8,539 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | MLE | - |
testcase_01 | MLE | - |
testcase_02 | MLE | - |
testcase_03 | MLE | - |
testcase_04 | MLE | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.IO; using System.Linq; using System.Text; using System.Collections.Generic; using System.Diagnostics; using Enu = System.Linq.Enumerable; class Program { static readonly int Size = (int)2e7; static readonly Random random = new Random(0); int[] A = new int[Size]; public void Solve() { DoSomething(); for (int i = 0; i < Size; i++) A[i] = 0; DoSomething(); Console.WriteLine(0); } public bool DoSomething() { for (int i = 0; i < Size; i++) A[i] = random.Next(); return A[random.Next(Size)] == 0; } } class Entry { static void Main() { new Program().Solve(); } }