結果

問題 No.2545 Divide by 3
ユーザー koba-e964koba-e964
提出日時 2023-12-11 10:58:09
言語 Rust
(1.77.0)
結果
WA  
実行時間 -
コード長 829 bytes
コンパイル時間 1,266 ms
コンパイル使用メモリ 148,120 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2023-12-11 10:58:11
合計ジャッジ時間 1,149 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

fn main() {
    println!("111");

    // A[4] = 5x
    println!("plus 5 1 1");
    println!("plus 5 5 5");
    println!("plus 4 1 5");

    // A[4] = 0x55 * x
    println!("plus 4 5 5");
    println!("plus 5 5 5");
    println!("plus 5 5 5");
    println!("plus 5 5 5");
    println!("plus 4 4 5");

    // A[4] = 0x5555 * x
    println!("plus 4 5 5");
    for _ in 1..8 {
        println!("plus 5 5 5");
        println!("plus 5 5 5");
        println!("plus 5 5 5");
    }
    println!("plus 4 4 5");

    // A[4] = 0x55555555 * x
    println!("plus 4 5 5");
    for _ in 1..16 {
        println!("plus 5 5 5");
        println!("plus 5 5 5");
        println!("plus 5 5 5");
    }
    println!("plus 4 4 5");

    // A[3] = 0x55555556 * x
    println!("plus 3 4 1");

    for _ in 0..32 {
        println!("div 3 3");
    }
}
0