結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー くれちーくれちー
提出日時 2018-08-25 01:32:57
言語 C
(gcc 12.3.0)
結果
TLE  
実行時間 -
コード長 337 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 28,104 KB
実行使用メモリ 126,740 KB
最終ジャッジ日時 2023-09-05 23:00:18
合計ジャッジ時間 20,381 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#define N 30
#define M 1000000

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();
  }
  system("sleep 3s");
  puts("0");
  return 0;
}
0