結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2025-03-27 09:27:40 |
言語 | C (gcc 13.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 344 bytes |
コンパイル時間 | 542 ms |
コンパイル使用メモリ | 25,216 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-27 09:27:41 |
合計ジャッジ時間 | 637 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 1 |
ソースコード
#include <stdio.h>void main(void){const int dayList[12] = {31,28,31,30,31,30,31,31,30,31,30,31};int count = 0;for(int i = 1 ; i <= 12 ; i++){for(int j = 1 ; j <= dayList[i-1] ; j++ ){if(i != j/10+j%10){continue;}count++;}}printf("%d",count);}