提出 #75452076


ソースコード 拡げる

#include <bits/stdc++.h>
using namespace std;

int main() 
{
    int a;
    a = 162;
    int cent[7] = {};
    for(int i = 0; i < 3; i++){
        for(int j = 0; j < 6; j++){
            int x;
            cin >> x;
            if(x >=4 && x<=6)cent[x]++;
        }
        
    }
    cout << (double)(cent[4]*cent[5]*cent[6]) / a << endl;
}

提出情報

提出日時
問題 B - 456
ユーザ naka0713
言語 C++23 (GCC 15.2.0)
得点 0
コード長 360 Byte
結果 WA
実行時間 1 ms
メモリ 3872 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 0 / 200
結果
WA × 2
WA × 14
セット名 テストケース
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, sample_01.txt, sample_02.txt
ケース名 結果 実行時間 メモリ
random_01.txt WA 1 ms 3716 KiB
random_02.txt WA 1 ms 3752 KiB
random_03.txt WA 1 ms 3648 KiB
random_04.txt WA 1 ms 3716 KiB
random_05.txt WA 1 ms 3668 KiB
random_06.txt WA 1 ms 3640 KiB
random_07.txt WA 1 ms 3740 KiB
random_08.txt WA 1 ms 3640 KiB
random_09.txt WA 1 ms 3872 KiB
random_10.txt WA 1 ms 3752 KiB
random_11.txt WA 1 ms 3648 KiB
random_12.txt WA 1 ms 3648 KiB
sample_01.txt WA 1 ms 3800 KiB
sample_02.txt WA 1 ms 3748 KiB