我有一個謂詞,其目的是打印出哪個國家面積最大(一個邊界最大=最大面積)。這是我的謂詞的樣子: /* If I write get_country(X, 'Europe'). then all the countries in Europe
that isn't bordering a sea gets printed out.
However as you can see I am creat
我在SWI Prolog上創建了一個簡單的數據庫。我的任務是根據生產計劃來計算每個部門的工作時間。我差不多完成了,但我不知道如何總結我的結果。至於現在我得到這樣的事情 部門數量 B 20 Ç50 下30 我怎麼能轉換到這個? B 20 C 80 我的代碼https://gist.github.com/senioroman4uk/d19fe00848889a84434b