結果

問題 No.249 N言っちゃダメゲーム (2)
コンテスト
ユーザー alpha_virginis
提出日時 2015-08-21 15:43:10
言語 C++11
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 478 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 389 ms
コンパイル使用メモリ 62,912 KB
最終ジャッジ日時 2026-04-02 03:42:23
合計ジャッジ時間 3,293 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp:10:14: error: 'int_fast32_t' in namespace 'std' does not name a type
   10 | typedef std::int_fast32_t  s32;
      |              ^~~~~~~~~~~~
main.cpp:11:14: error: 'uint_fast32_t' in namespace 'std' does not name a type
   11 | typedef std::uint_fast32_t u32;
      |              ^~~~~~~~~~~~~
main.cpp:9:1: note: 'std::uint_fast32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    8 | #include <string.h>
  +++ |+#include <cstdint>
    9 | 
main.cpp:12:14: error: 'int_fast64_t' in namespace 'std' does not name a type
   12 | typedef std::int_fast64_t  s64;
      |              ^~~~~~~~~~~~
main.cpp:13:14: error: 'uint_fast64_t' in namespace 'std' does not name a type
   13 | typedef std::uint_fast64_t u64;
      |              ^~~~~~~~~~~~~
main.cpp:13:9: note: 'std::uint_fast64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   13 | typedef std::uint_fast64_t u64;
      |         ^~~

ソースコード

diff #
raw source code

//#include <bits/stdc++.h>
//#include <cstdint>
//#include <sys/time.h>
#include <vector>
#include <string>
#include <iostream>
#include <stdio.h>
#include <string.h>

typedef std::int_fast32_t  s32;
typedef std::uint_fast32_t u32;
typedef std::int_fast64_t  s64;
typedef std::uint_fast64_t u64;

const unsigned long mod = 1000000007;

int main() {

  int N, K;
  
  for(int i = 0; i < 1000; ++i) {
    std::cin >> N >> K;
  }

  std::cout << 500 << std::endl;
  
  return 0;
}
0