Ad
  • Custom User Avatar

    I found it

  • Custom User Avatar

    can someone explain me what does this mean : "When called, the Lift will stop at a floor even if it is full, although unless somebody gets off nobody else can get on!"
    I dont get it

  • Custom User Avatar

    @hobovsky Thank you!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I am using .erase from vector

  • Custom User Avatar

    I get this error message although my code works correctly on vs:

    UndefinedBehaviorSanitizer:DEADLYSIGNAL ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000008 (pc 0x000000425762 bp 0x000000000000 sp 0x7ffd80757280 T1) ==1==The signal is caused by a READ memory access. ==1==Hint: address points to the zero page. ==1==WARNING: invalid path to external symbolizer! ==1==WARNING: Failed to use and restart external symbolizer! #0 0x425761 (/workspace/test+0x425761) #1 0x42597b (/workspace/test+0x42597b) #2 0x4286a4 (/workspace/test+0x4286a4) #3 0x426cfe (/workspace/test+0x426cfe) #4 0x426843 (/workspace/test+0x426843) #5 0x42647b (/workspace/test+0x42647b) #6 0x42f045 (/workspace/test+0x42f045) #7 0x425b2d (/workspace/test+0x425b2d) #8 0x7fdd659bfbf6 (/lib/x86_64-linux-gnu/libc.so.6+0x21bf6) #9 0x404709 (/workspace/test+0x404709)

    UndefinedBehaviorSanitizer can not provide additional info. ==1==ABORTING

  • Custom User Avatar
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    it removes a (") from the end I do not understand

  • Custom User Avatar

    Cpp. Why is this happening:
    Expected: equal to "uuycxdvcpxqwrbmwxjbdtirudovwasjy405"
    Actual: "uuycxdvcpxqwrbmwxjbdtirudovwasjy405

  • Custom User Avatar

    Ohh. Sorry my fault not kata issue i was confused...

  • Custom User Avatar

    C++. While in VS22 I take the rigth results here in random tests it gives me other results.
    for example:
    Expected: equal to 49085499
    Actual: 50973523
    But in VS22 I take 50973523 for the same input

  • Custom User Avatar

    Thanks

  • Custom User Avatar

    Yes the code works in two tests in a row in one run...
    The result for the second test
    In codewars:
    Expected: equal to "1:ooo/1:uuu/2:sss/=:nnn/1:ii/2:aa/2:dd/2:ee/=:gg"
    Actual: "2:eeeeeee/2:ssss/1:ooo/1:uuu/2:aaa/2:hhh/=:nnn/=:rrr/1:ii/2:dd/2:yy/=:gg/=:tt"
    In VS22:
    "1:ooo/1:uuu/2:sss/=:nnn/1:ii/2:aa/2:dd/2:ee/=:gg" (The correct one)

  • Loading more items...