L1-092 進化論 分數 10

Frodnx發表於2024-08-23
// 1'58"
#include <iostream>
using namespace std;
int main()
{
    int n;
    cin >> n;
    for(int i = 1; i <= n; ++ i)
    {
        int a, b, c;
        cin >> a >> b >> c;
        if(c == a * b) cout << "Lv Yan\n";
        else if(c == a + b) cout << "Tu Dou\n";
        else cout << "zhe du shi sha ya!\n";
    }
    return 0;
}

相關文章