結果

問題 No.1423 Triangle of Multiples
ユーザー HobskeyHobskey
提出日時 2021-03-12 21:23:39
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 674 bytes
コンパイル時間 644 ms
コンパイル使用メモリ 70,352 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-22 12:01:52
合計ジャッジ時間 1,287 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,812 KB
testcase_01 AC 2 ms
6,940 KB
testcase_02 AC 20 ms
6,944 KB
testcase_03 AC 15 ms
6,944 KB
testcase_04 AC 15 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _CRT_SECURE_NO_WARNINGS
#define fast ios::sync_with_stdio(false); cin.tie(0)
#define foru(i, k, n) for (int i = k; i < n; i++)
#define ford(i, k, n) for (int i = k; i >= n; i--)
#define pb push_back
#define mp make_pair

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <list>


using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;

using namespace std;

void solve() {
	ll a, b, c;
	cin >> a >> b >> c;
	cout << a * b*c << ' ' << a * b*c << ' ' << a * b*c;
}

int main() {
	fast;
	int t;
	cin >> t;
	while (t--) {
		solve(); if (t)cout << '\n';
	}
	return 0;
}
0