結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-21 16:24:43 |
| 言語 | PHP (843.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 1,801 ms |
| コンパイル使用メモリ | 32,148 KB |
| 実行使用メモリ | 32,276 KB |
| 最終ジャッジ日時 | 2024-09-19 14:30:49 |
| 合計ジャッジ時間 | 2,322 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
# coding: utf-8
# Your code here!
lastDay = [31,28,31,30,31,30,31,31,30,31,30,31]
ct = 0
for i in range(1,13):
for j in range(1,lastDay[i-1]+1):
temp1 = i
temp2 = (j // 10) + (j % 10)
if temp1 == temp2:
ct += 1
print(ct)