[Haskell] Having trouble with module not found and weird submissions's result

Revision en1, by MiracleInLife, 2022-08-14 16:27:56

Hello everyone, can you guys help me solve this trouble please?

My story is I'm was doing this problem by using Haskell.

At first, with my submission #168264592, it got compiler error. I think because the current GHC version I use is 8.10.7, meanwhile codeforces's GHC version is 8.10.1 so it does not have module 'Data.HashMap.Strict'.

So I switch to use Data.Map.Strict which codeforces'GHC suggests, however my submission #168266690 got wrong answers. Here's the weird part: My results and the jury's result is the same, so I do not know why I got it wrong??

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MiracleInLife 2022-08-14 16:27:56 887 Initial revision (published)