Saturday, April 29, 2017

UVA ONLINE JUDGE 488

UVA online JUDGE 

PROBLEM:488

(TRIANGLE WAVE)

PROBLEM LINK:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=429

  1.  

    Solution:

      #include<bits/stdc++.h>  using namespace std; int main()

    {

UVA ONLINE JUDGE PROBLEM 11636

UVA ONLINE JUDGE  

PROBLEM 11636

Hello World!
 
Solution:
#include<bits/stdc++.h>
using namespace std;
int main()
{
    ios::sync_with_stdio(false);
    int n,j;

Friday, April 28, 2017

C Programming Course - 01


How to print?


Today we will learn how to print a program in C language. At first of the code , we have to write a header file. 

#include<stdio.h>

    here 'stdio' means 'Standers Input and Output. And ' .h ' says that it is a header file.
After that, we've to write,

int main()

     that means , from here the main program is going to be started. Then just write a second bracket and there write your program. 

UVA ONLINE JUDGE (PROBLEM: 11577)

UVA ONLINE JUDGE

(PROBLEM: 11577)



Solution::

#include<bits/stdc++.h>
using namespace std;
int
freq[30],t;
int main()
{

Monday, April 03, 2017

NCCF 2017






Registration for NCCF 2017

ICT Division of Bangladesh Government is organizing the National Children's Coding Fest 2017 (NCCF 2017) where the students aged between 5-12 years will participate. Considering the age and experience the competition will be based on SCRATCH only ; which is easy to do through a computer or smartphone. The deadline for Registration and Project Submission is April 12, 2017. We welcome you all to take part in NCCF 2017 towards building a true Digital Nation.


Codeforces 556A ( Case of Zeros and Ones )




Codeforces 556A
Case of Zeros and Ones



Problem Link:
http://codeforces.com/problemset/problem/556/A

UVa online judge  problem:11854
(EGYPT)


Problem link:
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2954

Solution:

#include<stdio.h>
int main()
{

LightOJ Problem:1022 (circle in square)

LightOJ Problem :1022

Circle in Squqre


Problem link:
 http://lightoj.com/login_main.php?url=volume_showproblem.php?problem=1022

solution:

#include<stdio.h>
#include<math.h>

UVA:100(3N+1)

                    UVA ONLINE JUDGE
                       Problem:100(3N+1)



Problem link:
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36

Solution:


#include<bits/stdc++.h>
using namespace std;

int main()
{