結果
| 問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
| ユーザー |
eitaho
|
| 提出日時 | 2015-03-27 16:26:09 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
MLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 894 bytes |
| コンパイル時間 | 687 ms |
| コンパイル使用メモリ | 107,344 KB |
| 実行使用メモリ | 133,500 KB |
| 最終ジャッジ日時 | 2024-06-29 01:26:31 |
| 合計ジャッジ時間 | 6,991 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | MLE * 5 |
コンパイルメッセージ
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 Size1 = (int)20000, Size2 = (int)1000;
static readonly Random random = new Random(0);
int[][] A = new int[Size1][];
public void Solve()
{
for (int i = 0; i < A.Length; i++) A[i] = new int[Size2];
DoSomething();
for (int i = 0; i < A.Length; i++) Array.Clear(A[i], 0, A[i].Length);
DoSomething();
Console.WriteLine(0);
}
public bool DoSomething()
{
for (int r = 0; r < A.Length; r++)
for (int c = 0; c < A[r].Length; c++)
A[r][c] = random.Next();
return A[random.Next(Size1)][random.Next(Size2)] == 0;
}
}
class Entry { static void Main() { new Program().Solve(); } }
eitaho