結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2019-04-15 10:08:06 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 402 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 63,664 KB |
実行使用メモリ | 6,812 KB |
最終ジャッジ日時 | 2024-09-22 06:28:26 |
合計ジャッジ時間 | 832 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#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;}