結果

問題 No.373 かけ算と割った余り
ユーザー Kurichan0806Kurichan0806
提出日時 2017-12-07 18:22:01
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 386 bytes
コンパイル時間 699 ms
コンパイル使用メモリ 81,400 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-05-06 19:27:14
合計ジャッジ時間 1,075 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 2 ms
5,376 KB
testcase_03 WA -
testcase_04 AC 2 ms
5,376 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:18:19: warning: 'a' is used uninitialized [-Wuninitialized]
   18 |         cout << a * b % d * c % d << endl;
      |                 ~~^~~
main.cpp:16:13: note: 'a' was declared here
   16 |         lli a, b, c, d;
      |             ^
main.cpp:18:19: warning: 'b' is used uninitialized [-Wuninitialized]
   18 |         cout << a * b % d * c % d << endl;
      |                 ~~^~~
main.cpp:16:16: note: 'b' was declared here
   16 |         lli a, b, c, d;
      |                ^
main.cpp:18:23: warning: 'd' is used uninitialized [-Wuninitialized]
   18 |         cout << a * b % d * c % d << endl;
      |                 ~~~~~~^~~
main.cpp:16:22: note: 'd' was declared here
   16 |         lli a, b, c, d;
      |                      ^
main.cpp:18:27: warning: 'c' is used uninitialized [-Wuninitialized]
   18 |         cout << a * b % d * c % d << endl;
      |                 ~~~~~~~~~~^~~
main.cpp:16:19: note: 'c' was declared here
   16 |         lli a, b, c, d;
      |                   ^

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <iomanip>
#include <cmath>
#include <functional>
using namespace std;
#define diff(x,y) ((x > y) ? (x - y) : (y - x))
#define us(x) ((x > 0) ? x : x * -1)
#define change(x) (x ? false : true)
#define lli long long int


int main() {
	lli a, b, c, d;
	
	cout << a * b % d * c % d << endl;
	return 0;
}
0