結果
問題 | No.188 HAPPY DAY |
ユーザー |
|
提出日時 | 2020-10-04 08:00:22 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 415 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 67,524 KB |
最終ジャッジ日時 | 2025-01-15 02:19:46 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include<iostream>using namespace std;int main(){int t=0,x=0;for(int i = 0; i < 12;i++){switch(t){case 2:t=28;break;case 4:case 6:case 9:case 11:t = 30;break;default:t = 31;break;}for(int j = 0; j < t; j++){if(i == (j/10)+(j%10))x++;}}cout << x << endl;return 0;}