結果
| 問題 | No.188 HAPPY DAY | 
| コンテスト | |
| ユーザー |  00Asage00 | 
| 提出日時 | 2017-01-22 19:32:46 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 1 ms / 1,000 ms | 
| コード長 | 366 bytes | 
| コンパイル時間 | 602 ms | 
| コンパイル使用メモリ | 63,400 KB | 
| 実行使用メモリ | 6,816 KB | 
| 最終ジャッジ日時 | 2024-12-31 01:17:47 | 
| 合計ジャッジ時間 | 1,014 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 | 
ソースコード
#include "iostream"
#include "cmath"
#include "algorithm"
#include "string"
#include "vector"
using namespace std;
int s = 0;
void output() {
	cout << s << endl;
}
int main() {
	int a, b;
	for (int i = 0; i < 13; i++) {
		for (int j = 0; j < 30; j++) {
			a = j / 10;
			b = j - (10 * a);
			if (i == a + b) {
				s += 1;
			}
		}
	}
	output();
	return 0;
}
            
            
            
        