結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
torith
|
| 提出日時 | 2017-03-18 21:42:57 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 432 bytes |
| コンパイル時間 | 1,224 ms |
| コンパイル使用メモリ | 159,224 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-31 01:27:07 |
| 合計ジャッジ時間 | 1,610 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
/*
* 188.cpp
*/
//include files
#include<bits/stdc++.h>
using namespace std;
//DEFINE CONSTANT
//DEFINE PROTOTYPE
int main(){
int count=0;
for(int month=1 ; month <=12 ;month++){
for(int days=10 ; days <= 31 ; days++){
if(month == 2 && days > 28) break;
if(((month == 4)||(month == 6)||(month == 9)||(month == 11))&&(month ==31)) break;
if(month == days/10 + days%10) count++;
}
}
cout << count <<endl;
}
torith