CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2160|Reply: 2

problem logic

[Copy link]
MohdMika This user has been deleted
Post time 12-3-2008 11:53 AM | Show all posts |Read mode
klu salah post mintak admin pindahkan..
di sebuah pulau terdapat 2 jenis manusia,iaitu knight and knave. Knight sentiasa bercakap benar manakala knave sentiasa bercakap bohong. Ketika berjalan di pulau tersebut,kamu terjumpa A & B. A berkata B adlah knight dan B pula berkata mereka berdua berbeza.
Soalannya:
A berkata sekurang-kurangnya seorang dr mereka adalah knight dan B tidak berkata apa2. mcm mna nk selesaikan mslh ini mnggunakan prolog.
Reply

Use magic Report


ADVERTISEMENT


Post time 12-3-2008 12:28 PM | Show all posts
macam dalam cite Cast Away pulak..

Reply

Use magic Report

Post time 12-3-2008 05:47 PM | Show all posts

Reply #1 MohdMika's post

kalau nak difikirkan apa yg ko taip nih memeningkan kepala .... so good luck utk ko ek
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

7-1-2025 07:12 AM GMT+8 , Processed in 0.074863 second(s), 17 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list