結果

問題 No.810 割った余りの個数
ユーザー a5ob7r
提出日時 2019-04-12 21:31:00
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 322 bytes
コンパイル時間 839 ms
コンパイル使用メモリ 55,632 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 17:18:27
合計ジャッジ時間 1,765 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

/* https://yukicoder.me/problems/no/810 */

#include <iostream>
#include <vector>

/* {{{ Variables */
int L, R, M;
/* }}} */

int main(int argc, char *argv[])
{
  /* {{{ Input */
  std::cin >> L >> R >> M;
  /* }}} */

  /* {{{ Output */
  int tmp = (R-L+1)%M;
  std::cout << tmp << std::endl;
  /* }}} */

  return 0;
}
0