C, C++, JAVA, HTML, CSS Tutorials, Codes, Ebooks and Software Download Zone
Ad
Home
Business
Internet
Market
Stock
Downloads
Dvd
Games
Software
Office
Parent Category
Child Category 1
Sub Child Category 1
Sub Child Category 2
Sub Child Category 3
Child Category 2
Child Category 3
Child Category 4
Featured
Health
Childcare
Doctors
Uncategorized
Thursday, March 21, 2013
Uva 11936 - The Lazy Lumberjacks, programing problem from Uva
Thursday, March 21, 2013
No comments
Problem ID - 11936,
Problem Name - The Lazy Lumberjacks
Problem Description is Here
#include <stdio.h>
int main()
{
int a, b, c, i, k, j, t;
while(scanf("%d", &t)==1)
{
for(i=0; i<t; i++)
{
scanf("%d %d %d", &a, &b, &c);
if(a+b>c && b+c>a && c+a>b)
printf("OK\n");
else
printf("Wrong!!\n");
}
}
return 0;
}
Email This
BlogThis!
Share to X
Share to Facebook
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
Social Profiles
Popular
Tags
Blog Archives
Binary Search
Searching is very important in data structure. Here is the code of Binary Search....... #include <stdio.h> int main() { i...
Mozilla Firefox Shortcut Keys
Mozilla Firefox is taking the place of IE. It is getting popularity because of its functionality and user friendly options. Most of us ...
Drawing Face by using Java Applet
import java.awt.*; import javax.swing.*; public class Face extends JApplet { public void paint(Graphics g) {
Uva 10370 - Above Average, easy programing problem from Uva
Problem ID - 10370, Problem Name - Above Average Problem Description is Here #include<stdio.h> main() { int test, n, i...
Conversion from Binary to Decimal
Sometimes we need to convert a binary number into decimal number. The following code will help to convert a number from binary to decimal...
Fibonacci Sequence in C
Fibonacci Sequence in C The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ............. The next numbe...
Uva 11479 - Is this the easiest problem ?, programing from Uva
Problem ID - 11479, Problem Name - Is this the easiest problem ? Read the Problem Description #include <stdio.h> int main(...
Prime Numbers by Sieve Algorithm
Check whether the sum of all printed prime numbers are equal to the given input or not ? Sample Input: 5 Sample Output: ...
Dropped your phone in water? Things to do.........
Dropped your phone in water? Things to do...... It has happened to the best of us: accidentally dropping a smartphone in water and ...
Get IP Address of a Computer by C Program
IP address of a computer can be shown by using C program. It easier than other methods. Let's use it....... #include<stdlib.h>
Powered by
Blogger
.
Followers
Blog Archive
►
2015
(2)
►
April
(1)
►
March
(1)
►
2014
(5)
►
November
(5)
▼
2013
(26)
►
September
(3)
►
August
(5)
►
July
(7)
▼
March
(8)
Uva 11479 - Is this the easiest problem ?, program...
Uva 11936 - The Lazy Lumberjacks, programing probl...
Uva 10370 - Above Average, easy programing problem...
Uva 10035 - Primary Arithmetic, so easy than other...
Fibonacci Sequence in C
Uva 11172 - Relational Operators
Binary Search
Make a pattern of Pyramid by using C programming...
►
February
(3)
Blog Archive
►
2015
(2)
►
April
(1)
►
March
(1)
►
2014
(5)
►
November
(5)
▼
2013
(26)
►
September
(3)
►
August
(5)
►
July
(7)
▼
March
(8)
Uva 11479 - Is this the easiest problem ?, program...
Uva 11936 - The Lazy Lumberjacks, programing probl...
Uva 10370 - Above Average, easy programing problem...
Uva 10035 - Primary Arithmetic, so easy than other...
Fibonacci Sequence in C
Uva 11172 - Relational Operators
Binary Search
Make a pattern of Pyramid by using C programming...
►
February
(3)
0 comments:
Post a Comment