|
|
back to boardWA 3 Posted by FBI 9 Nov 2013 16:21 test 3 ??? help me please Re: WA 3 Posted by FBI 9 Nov 2013 16:55 Wrong A ! test 3 Re: WA 3 please can anyone tell me what is the test of 3. Re: WA 3 register user1 1 success: new user added register user2 2 success: new user added register user3 3 success: new user added logout user2 fail: already logged out login user1 3 fail: incorrect password login user2 2 success: user logged in logout user3 fail: already logged out note the last line Re: WA 3 Try this: 4 register a 1 register a 2 register a 3 register a 4 Re: WA 3 And that the last line is not so? Like everything correctly. Re: WA 3 Posted by BillSu 28 Apr 2014 12:22 It is easy. Just if else and use map, and define a new data structure, and there you go, all done. Re: WA 3 you may have problem with double login: register v 1 success: new user added login v 1 success: user logged in login v 1 fail: already logged in Re: WA 3 2 register x y register x y Out success: new user added fail: user already exists Re: WA 3 Posted by SLHUNG 14 Apr 2015 10:47 Try this! input: 3 register a 1 login a 1 login a 2 output: success: new user added success: user logged in fail: incorrect password NOTE! Login with wrong pw should output "fail: incorrect password" instead of "fail: already logged in". Re: WA 3 Great. I didn't notice that. Re: WA 3 Posted by wnik 26 Nov 2020 15:42 thx it is wery help full |
|
|