結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2019-05-13 13:41:12 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 445 ms |
コンパイル使用メモリ | 59,764 KB |
実行使用メモリ | 6,812 KB |
最終ジャッジ日時 | 2024-07-07 14:07:53 |
合計ジャッジ時間 | 796 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include <iostream>#include<string>#include<algorithm>#include<vector>using namespace std;int main(){int ans=0;for(int i=1;i<=12;i++){for(int j=1;j<=31;j++){if(i==2||4||6||9||11){if(j==30)break;}if(i==j/10+j%10){ans++;}}}cout<<ans<<endl;return 0;}