結果
問題 | No.188 HAPPY DAY |
ユーザー |
|
提出日時 | 2024-10-18 09:39:37 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 437 bytes |
コンパイル時間 | 6,201 ms |
コンパイル使用メモリ | 80,264 KB |
実行使用メモリ | 6,816 KB |
最終ジャッジ日時 | 2024-10-18 09:39:44 |
合計ジャッジ時間 | 1,579 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include <iostream> using namespace std; #define rep(i,n) for(int i=1;i<n;i++) int main(void){ int ans = 0; rep(i,13) { rep(j,32) { if(i == 4 && j == 31); else { int plus = (j / 10); plus += j % 10; if(i == plus){ ans++; } } } } cout << ans << endl; }