Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I found it
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
@hobovsky Thank you!
This comment is hidden because it contains spoiler information about the solution
I am using .erase from vector
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
That was funny:)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it removes a (") from the end I do not understand
Cpp. Why is this happening:
Expected: equal to "uuycxdvcpxqwrbmwxjbdtirudovwasjy405"
Actual: "uuycxdvcpxqwrbmwxjbdtirudovwasjy405
Ohh. Sorry my fault not kata issue i was confused...
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
Thanks
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...