Cod sursa(job #2523839)

Utilizator Consti.001FMI Dranca Constantin Consti.001 Data 14 ianuarie 2020 19:55:50
Problema Factorial Scor 0
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.75 kb
patient_has_cough

sick_for_at_least_2_days

temp_more_than_38

patient_has_infection

patient_has_pneumonia

patient_has_fever

patient_has_infection


(patient_has_cough  and  patient_has_infection) -> patient_has_pneumonia

[patient_has_pneumonia, n(patient_has_cough), n(patient_has_infection)]


(temp_more_than_38) -> patient_has_fever

[patient_has_fever, n(temp_more_than_38)]


(sick_for_at_least_2_days  and  patient_has_fever) -> patient_has_infection

[patient_has_infection, n(sick_for_at_least_2_days), n(patient_has_fever)]


KB:
[[patient_has_pneumonia, n(patient_has_cough), n(patient_has_infection)], [patient_has_fever, n(temp_more_than_38)], [patient_has_infection, n(sick_for_at_least_2_days), n(patient_has_fever)]]