Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
413 B
3
Indexable
Never
// домашка про белку,орехи и естественный отбор.
#include <iostream>
using namespace std;
int main()
{
    int n;
    int m;
    int k;
    cin >> n;
    cin >> m;
    cin >> k;
    if (k > n * m)
    {
        cout << "The squirrel is unlikely to survive.";
    }
    if (k <= n * m) 
    {
        cout << "The squirrel survived.";
    }
    return 0;
}