結果
問題 | No.700 LOVE |
ユーザー |
![]() |
提出日時 | 2018-08-11 17:10:53 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 366 bytes |
コンパイル時間 | 4,152 ms |
コンパイル使用メモリ | 66,048 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-22 23:29:01 |
合計ジャッジ時間 | 4,959 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 39) Warning: Use the new 'sugar' module instead; future is deprecated [Deprecated] /home/judge/data/code/Main.nim(1, 47) Warning: imported and not used: 'math' [UnusedImport] /home/judge/data/code/Main.nim(1, 39) Warning: imported and not used: 'future' [UnusedImport] /home/judge/data/code/Main.nim(1, 28) Warning: imported and not used: 'algorithm' [UnusedImport]
ソースコード
import strutils, sequtils, algorithm, future, math{.warning[SmallLshouldNotBeUsed]: off.}converter toChar(x: int): char = chr(x)converter toInt(x: char): int = ord(x)when isMainModule:varinput = stdin.readline.split.map(parseint)n = input[0]for _ in 0..<n:if find(stdin.readline, "LOVE") >= 0:echo("YES")quit()echo("NO")