Codeforces Round #379 (Div. 2), problem: (A) Anton and Danik Solution in C/C++

Hey guys I just tried the Anton and Danik problem , hope you might like my solution feel free to comment better solution .

#include
using namespace std;
int main()
{
int n, a, d, i;
string s;

cin>>n>>s;
a=0;
d=0;
for(i=0; id)
cout<<"Anton"<a)
cout<<"Danik"<

(Visited 369 times, 1 visits today)

About the Author:

Taniv Ashraf

Leave A Comment