結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー くれちーくれちー
提出日時 2018-08-25 01:36:50
言語 C
(gcc 12.3.0)
結果
MLE  
実行時間 -
コード長 315 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 28,116 KB
実行使用メモリ 812,944 KB
最終ジャッジ日時 2023-09-05 23:04:33
合計ジャッジ時間 4,011 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 MLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#define N 50
#define M 5000000

volatile int *hoge;

void stuff() {
  hoge = (int *)calloc(N, sizeof(int));
  for (int i = 2; i < N; ++i) {
    hoge[i] = hoge[i - 1] + hoge[i - 2];
  }
}

int main() {
  for (int i = 0; i < M; ++i) {
    stuff();
  }
  puts("0");
  return 0;
}
0