Search found 23 matches: 11455

Searched query: 11455

by lighted
Fri Mar 10, 2017 2:32 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold my quadrangle

Your code doesn't pass input on uDebug. https://www.udebug.com/UVa/11455

Among 666 cases on uDebug 598th case is

Code: Select all

1
87 7 116 22
Judge doesn't contain such input.
by mirukukafe
Sun Oct 16, 2016 4:31 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold my quadrangle

why WA ? help :|

#include<stdio.h>

int main(){
int t,a,b,c,d,temp;

scanf("%d", &t); getchar();
for(int i=0;i<t;i++){
scanf("%d %d %d %d", &a,&b,&c,&d); getchar();
if((a>b && a>c && a>d)){
temp=d+b+c;
if(a<temp){
printf("quadrangle\n");
}
else{
printf("banana\n");
}
}
else if(b>a ...
by ssavi
Fri Nov 21, 2014 2:58 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold my quadrangle

Got Ac./
by lighted
Fri Oct 03, 2014 11:35 am
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold my quadrangle

I submitted my accepted program with checking zeroes and making infinite loop in that case. Got accepted again. Input don't contain zeroes. :)
by Zyaad Jaunnoo
Thu Oct 02, 2014 5:45 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: beware???-11455 - Behold My Quadrangle

BEWARE!!!!!!!!!!!!!1

INPUT MAY CONTAIN 0;
ALTHOUGH PROBLEM STATEMENT SAYS
For each test case, there is a line with four positive integer numbers
I WASTE AT LEAST 10 SUBMISSION FOR THIS REASON.

I don't think there are test cases with a side = 0, but there is no harm checking it afterall.
I ...
by dibery
Sun Feb 16, 2014 7:55 pm
Forum: Volume 6 (600-699)
Topic: 672 - Gangsters
Replies: 0
Views: 37893

672 - Gangsters

... 3 36 12165
6673 10385 9470
40 51 26
9 27 27
6 25 6774
887 3660 3808 1680 75 4325
260 235 13 256 193 111
12 18 7 19 4 3
8 8 16015
425 933 6322 11455 9657 13640 2441 4661
296 160 253 248 270 70 29 69
7 8 4 1 2 5 1 8
1 36 12708
314
195
11
4 41 22792
5909 1675 11726 1621
6 92 131 56
3 30 16 ...
by reza_cse08
Fri Nov 22, 2013 8:34 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

reza_cse08 wrote:First sort the value then check it.
"Do not think think about the property (a+b+c)>d(for this problem) only check (a+b+c)>=d. although it can not make a quadrangle"

For this problem the uvatoolkit also give the wrong answer.
by reza_cse08
Fri Nov 22, 2013 8:34 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

First sort the value then check it.
"Do not think think about the property (a+b+c)>d(for this problem) only check (a+b+c)>=d. although it can not make a quadrangle"

For this problem the uvatoolkit also give the wrong answer.
by shuvokr
Mon Feb 18, 2013 8:31 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

use unsigned long long int
by dewsworld
Sat Nov 27, 2010 9:23 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

Any idea why I've got WA on this
#include <iostream>
#include <cstdio>
using namespace std ;

int main()
{
// freopen("in.txt", "r", stdin ) ;

int a,b,c,d ;
int noTest ;
int max ;

cin >> noTest ;

while( noTest-- )
{
cin >> a >> b >> c >> d ;

max = a ;
if( max < b ) max = b ;
if( max ...
by sms.islam
Thu Nov 12, 2009 9:13 am
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

"It is possible to make an quadrangle when sum of its 3 side is equal to other side. when it is sorted"

so how it will be quadrangle

10 8 7 6

please explain.
by phy
Tue Aug 11, 2009 3:22 am
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

It is possible to make an quadrangle when sum of its 3 side is equal to other side.

And Beware of the fact that the lengths are not in sorted order!

It isn't!!!

How to make a quadrangle when the sum of 3 sides is equal to the other side????????? It's a line!!! not a poligon!
We called this a ...
by x140l31
Wed Jul 15, 2009 1:31 am
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

Enzam wrote:It is possible to make an quadrangle when sum of its 3 side is equal to other side.

And Beware of the fact that the lengths are not in sorted order!
It isn't!!!

How to make a quadrangle when the sum of 3 sides is equal to the other side????????? It's a line!!! not a poligon!
by allenlam
Tue Jun 30, 2009 6:06 am
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

Re: 11455 - Behold My Quadrangle

After a few times of runtime error, I think the testing data of this problem is badly formatted, and the description is badly written.

Don't trust the description and the sample input format.

When it says the first line contains something it can mean the first line is blank.
When it says there is ...
by sazzadcsedu
Fri Feb 20, 2009 9:59 pm
Forum: Volume 114 (11400-11499)
Topic: 11455 - Behold my quadrangle
Replies: 21
Views: 29096

beware???-11455 - Behold My Quadrangle

BEWARE!!!!!!!!!!!!!1

INPUT MAY CONTAIN 0;
ALTHOUGH PROBLEM STATEMENT SAYS
For each test case, there is a line with four positive integer numbers
I WASTE AT LEAST 10 SUBMISSION FOR THIS REASON.

Go to advanced search