結果

問題 No.2545 Divide by 3
ユーザー maksimmaksim
提出日時 2023-11-24 21:59:14
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 542 bytes
コンパイル時間 1,728 ms
コンパイル使用メモリ 167,132 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-11-24 21:59:17
合計ジャッジ時間 3,113 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
#define int long long
#define app push_back
#ifndef LOCAL
#define endl '\n'
#endif // LOCAL
int32_t main()
{
    ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    cout<<303<<endl;
    cout<<"plus "<<1<<' '<<1<<' '<<2<<endl;
    cout<<"div "<<2<<' '<<2<<endl;
    for(int i=0;i<100;++i)
    {
        cout<<"plus "<<2<<' '<<1<<' '<<2<<endl;
        cout<<"div "<<2<<' '<<2<<endl;
        cout<<"div "<<2<<' '<<2<<endl;
    }
    cout<<"plus "<<3<<' '<<2<<' '<<3<<endl;
    return 0;
}
0