結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2017-01-29 01:57:26 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 571 ms |
コンパイル使用メモリ | 56,968 KB |
実行使用メモリ | 6,816 KB |
最終ジャッジ日時 | 2024-12-31 01:18:23 |
合計ジャッジ時間 | 1,016 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include <iostream> #include <algorithm> #include <string> using namespace std; int main() { int a, cnt=0, b; for(int i=1;i<13;i++){ for(int j=1;j<31;j++){ a = j /10; b = j - (a*10); if(i == a+b){ cnt++; } } } cout << cnt << endl; return 0; }