eolymp
bolt
Try our new interface for solving problems
Problems

The Way Home

published at 1/4/24, 8:20:48 pm

include <iostream>

using namespace std;

int main() { int n; cin>>n; cout<<"Poor"<<" "<<"Ia";

return 0;

}

published at 1/8/24, 3:21:23 pm

include<bits/stdc++.h>

define ll long long

using namespace std; int main() { ll n,k,t,v,a,b; cin>>n>>k>>t>>v>>a>>b; ll vaxt=n*(n+1)/2; ll umimi_vaxt=a+k*n; double c=sqrt((aa)+(bb)); double lazim_vaxt=c/v; if(lazim_vaxt<=t and vaxt<=t) { cout<<"Good night Ia"; } else { cout<<"Poor Ia"; } } //this code gives 80% please help me