結果

問題 No.188 HAPPY DAY
ユーザー kotorigasatorikotorigasatori
提出日時 2019-04-15 10:08:06
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 402 bytes
コンパイル時間 627 ms
コンパイル使用メモリ 63,704 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-22 05:12:56
合計ジャッジ時間 948 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
#include<string>
#include<numeric>
#include<algorithm>
using namespace std;
int main()
{
    int ans = 0;
    for(int j=1;j<13;j++)
     for(int i=1;i<32;i++){
if(i == 31 && j == 2 || j == 4 || j == 6 || j == 9 || j == 11)continue;
if(j == i / 10 + i % 10)ans++;
     }
     cout << ans << endl;
     return 0;
}
0