AcWing 670. 动物
原题链接
简单
作者:
呆jio不
,
2024-11-07 15:17:31
,
所有人可见
,
阅读 1
#include<iostream>
using namespace std;
int main(){
string a,b,c;
cin>>a>>b>>c;
if(a=="vertebrado"&&b=="ave"&&c=="carnivoro") cout<<"aguia";
else if(a=="vertebrado"&&b=="ave"&&c=="onivoro") cout<<"pomba";
else if(a=="vertebrado"&&b=="mamifero"&&c=="onivoro") cout<<"homem";
else if(a=="vertebrado"&&b=="mamifero"&&c=="herbivoro") cout<<"vaca";
else if(a=="invertebrado"&&b=="inseto"&&c=="hematofago") cout<<"pulga";
else if(a=="invertebrado"&&b=="inseto"&&c=="herbivoro") cout<<"lagarta";
else if(a=="invertebrado"&&b=="anelideo"&&c=="hematofago") cout<<"sanguessuga";
else if(a=="invertebrado"&&b=="anelideo"&&c=="onivoro") cout<<"minhoca";
return 0;
}