結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-18 18:45:25 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 478 bytes |
| コンパイル時間 | 482 ms |
| コンパイル使用メモリ | 64,044 KB |
| 実行使用メモリ | 6,812 KB |
| 最終ジャッジ日時 | 2024-06-27 04:31:13 |
| 合計ジャッジ時間 | 834 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int n = 0;
for(int m = 1; m <= 12; m++){
for(int fd = 0; fd <= 3; fd++){
for(int ld = 0; ld <= 9; ld++){
if(fd >= 3 && fd > 0){
fd = 4;
ld = 10;
continue;
}
if(fd + ld == m){
n++;
}
}
}
}
cout << n << endl;
return 0;
}