結果

問題 No.1423 Triangle of Multiples
ユーザー rogi52rogi52
提出日時 2022-09-27 06:20:30
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 325 bytes
コンパイル時間 1,919 ms
コンパイル使用メモリ 201,128 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-02 00:49:45
合計ジャッジ時間 2,707 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:2:35: warning: 'T' is used uninitialized [-Wuninitialized]
    2 | #define rep(i,n) for(int i = 0; i < (n); i++)
      |                                   ^
main.cpp:10:9: note: 'T' was declared here
   10 |     int T;
      |         ^

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(0);
    
    int T;
    rep(_,T) {
        ll a,b,c; cin >> a >> b >> c;
        ll x = a * b * c;
        cout << x << " " << x << " " << x << "\n";
    }
}
0