結果

問題 No.1423 Triangle of Multiples
ユーザー lynmisakuralynmisakura
提出日時 2020-12-30 22:57:37
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 445 bytes
コンパイル時間 2,287 ms
コンパイル使用メモリ 192,836 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-21 18:53:21
合計ジャッジ時間 3,033 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 17 ms
5,376 KB
testcase_03 AC 13 ms
5,376 KB
testcase_04 AC 12 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

// solution for yukicoder_5395
// author : lynmisakura
#include<bits/stdc++.h>
using namespace std;

using ll = long long;
#define REP(i,N) for(int (i) = 0;(i) < (N);(i)++)

void main2(){

  ll a,b,c;cin >> a >> b >> c;
  
  REP(i,3) cout << a*b*c << (i < 2 ? ' ' : '\n');
  cout << '\n';

}
int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  //cout << fixed << setprecision(20);

  int tt;cin >> tt;
  while(tt--) main2();
  return 0;
}
0