結果

問題 No.188 HAPPY DAY
ユーザー hamrayhamray
提出日時 2017-11-15 10:54:35
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 450 bytes
コンパイル時間 677 ms
コンパイル使用メモリ 71,556 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-08-30 01:31:40
合計ジャッジ時間 1,193 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#include<iostream>
#include<iomanip>
#include<cmath>
#include<string>
#include<algorithm>
#include<vector>
#include<math.h>
#include<stack>
using namespace std;
int main(){
    int cnt = 0;
    for(int i = 0; i < 12; i++){
        for(int j = 1; j <= 11; j++){
            for(int k = 1; k <=11; k++){
                if(i+1 == j+k){
                    cnt++;
                }
            }
        }
    }
    cout << cnt << endl;
    return 0;
}
0