Codeforces Round #416 (Div. 2), problem: (A) Vladik and Courtesy Solution in C/C++

By |2017-07-24T17:18:07+00:00July 24th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include<bits/stdc++.h> using namespace std; int main() { long a,b; cin>>a>>b; a=sqrt(a); if(a*(a+1)>b)cout<<"Valera"; else cout<<"Vladik"; }