結果

問題 No.299 蟻本が読めない
ユーザー dai11dai11
提出日時 2017-07-21 09:35:26
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 231 bytes
コンパイル時間 1,660 ms
コンパイル使用メモリ 156,640 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 03:27:50
合計ジャッジ時間 2,300 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main(int, char**)’:
main.cpp:8:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |   scanf("%lld",&N);   //第何版の入力
      |   ~~~~~^~~~~~~~~~~

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(int argc, char **argv)
{
  long long N;        //第何版
  scanf("%lld",&N);   //第何版の入力
  
  N = N - 1;          
  
  printf("%lld\n",316+52*N);

  return 0;
}
0