結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2019-10-20 16:48:32 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 408 ms |
コンパイル使用メモリ | 54,192 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-07-02 17:27:50 |
合計ジャッジ時間 | 741 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include <iostream>using namespace std;int ans;int main(){for(int i=1;i<=12;i++){for(int j=1;j<=30;j++){if(i==j/10+(j%10))ans++;}}cout<<ans<<endl;return 0;}