結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
00Asage00
|
| 提出日時 | 2017-01-22 19:32:46 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 806 ms |
| コンパイル使用メモリ | 87,664 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-04 12:40:02 |
| 合計ジャッジ時間 | 1,074 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
00Asage00