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
Insertion Sort
Insertion Sort by using C Program #include<stdio.h> int main() { int i, j, s, temp, a[100]; printf("Enter total element...
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...
Shut down the PC by using C
Now you can shut down your pc by a C code. It is nothing but a simple code. So, let's see.......... #include<stdio.h> #includ...
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...
Drawing Face by using Java Applet
import java.awt.*; import javax.swing.*; public class Face extends JApplet { public void paint(Graphics g) {
Uva 11172 - Relational Operators
This is a problem from UVa Online Judge. Problem ID - 11172, Problem Name - Relational Operators. http://uva.onlinejudge.org/index.php?...
Making a Virus by Using Notepad or other Text Editor
Disable Keyboard by Batch File Programming What is Batch File Programming ? Batch file programming is the native programmin...
Free Virus Scanner -- Antivirus Software
Is your Computer infected ? HouseCall software can quickly identify and fix a wide range of threats including viruses, worms, Trojans, and...
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...
Coin Distribution Problem
Coin Distribution by Using C Program Problem:- Suppose, You have 100 coins which need to be distributed among 3 beggars A, B,...
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)
Gagdet
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