結果

問題 No.1423 Triangle of Multiples
ユーザー rogi52rogi52
提出日時 2022-09-27 06:22:21
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 325 bytes
コンパイル時間 2,028 ms
コンパイル使用メモリ 197,128 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-08-24 03:36:48
合計ジャッジ時間 2,601 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内:
main.cpp:2:35: 警告: ‘T’ is used uninitialized [-Wuninitialized]
    2 | #define rep(i,n) for(int i = 0; i < (n); i++)
      |                                   ^
main.cpp:10:9: 備考: ‘T’ はここで定義されています
   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 << endl;
    }
}
0