結果
問題 |
No.188 HAPPY DAY
|
ユーザー |
![]() |
提出日時 | 2017-03-17 15:47:57 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 29,824 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-31 01:26:41 |
合計ジャッジ時間 | 577 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
#include<stdio.h> int main(){ int month[13]={0,31,28,21,30,31,30,31,31,30,31,30,31}; int i,j,count; count = 0; for(i=1;i<13;i++){ for(j=1;j<month[i];j++){ if(j/10+j%10==i) count++; } } printf("%d\n",count); return 0; }