結果
| 問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
| ユーザー |
ぴろず
|
| 提出日時 | 2015-02-16 23:46:45 |
| 言語 | Java (openjdk 23) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 471 bytes |
| コンパイル時間 | 1,988 ms |
| コンパイル使用メモリ | 74,568 KB |
| 実行使用メモリ | 448,004 KB |
| 最終ジャッジ日時 | 2024-06-23 20:49:53 |
| 合計ジャッジ時間 | 10,271 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 1 TLE * 1 MLE * 3 |
ソースコード
import java.util.Scanner;
public class Main {
static int[] sizeMB = {50,120,350,400,700};
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int m = sizeMB[n-1] * 1000 * 1000 / 4;
int[] largeArray = new int[m];
for(int i=0;i<m;i++) {
largeArray[i] = (int) (Math.random() * Integer.MAX_VALUE);
}
int xor = 0;
for(int i=0;i<m;i++) {
xor ^= largeArray[i];
}
System.out.println(xor); //WA
}
}
ぴろず