結果

問題 No.299 蟻本が読めない
ユーザー umashikaumashika
提出日時 2016-01-29 11:34:26
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 20,272 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-21 16:34:39
合計ジャッジ時間 560 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:11: warning: unknown conversion type character ‘\xef’ in format [-Wformat=]
    6 |   scanf("%lu",&n);
      |           ^
main.c:6:9: warning: too many arguments for format [-Wformat-extra-args]
    6 |   scanf("%lu",&n);
      |         ^~~~~~
main.c:6:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |   scanf("%lu",&n);
      |   ^~~~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
int main(void)
{
  unsigned long int n;
  unsigned long int pages;
  scanf("%lu",&n);
  pages=316+52*(n-1);
  printf("%lu\n",pages);
  return 0;
}

0