結果

問題 No.188 HAPPY DAY
ユーザー hamray
提出日時 2017-11-15 10:54:35
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 450 bytes
コンパイル時間 843 ms
コンパイル使用メモリ 72,576 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-31 06:05:52
合計ジャッジ時間 1,309 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 1
権限があれば一括ダウンロードができます

ソースコード

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