結果
問題 | No.188 HAPPY DAY |
ユーザー |
![]() |
提出日時 | 2019-07-19 21:39:27 |
言語 | Nim (2.0.2) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 2,532 ms |
コンパイル使用メモリ | 67,204 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-07-02 05:52:04 |
合計ジャッジ時間 | 2,913 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(1, 17) Warning: imported and not used: 'strutils' [UnusedImport]
ソースコード
import sequtils,strutils var cnt = 0 for m in 1..12: for d in 1..31: if m in @[2,4,6,9,11] and d == 31: break if d mod 10 + d div 10 == m: cnt += 1 echo cnt