isnt the area of triangle for == 4?
5
#########
#---###
#-###
###
#
or is your output right?
Search found 8 matches
- Fri Aug 01, 2003 8:43 pm
- Forum: Volume 5 (500-599)
- Topic: 585 - Triangles
- Replies: 16
- Views: 7880
- Thu Jun 19, 2003 9:33 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10041 - Vito's Family
- Replies: 90
- Views: 44494
input/output cases
Hi Hisoka, my program is is OK with the sample input that you've putted here, can you send me some more i/o cases so I can test my program? I keep getting wa.
My algorithm work as follows: first I set a vector with the street numbers and get the total sum of these numbers, in the case of your input ...
My algorithm work as follows: first I set a vector with the street numbers and get the total sum of these numbers, in the case of your input ...
- Tue Jun 17, 2003 4:43 pm
- Forum: Volume 3 (300-399)
- Topic: 327 - Evaluating Simple C Expressions
- Replies: 19
- Views: 10596
line by itself and will contain no more than 80 characters.
OK. Ive spent a lot of time trying to solve this problem.
After more than a week I decided to make the vector were I was reading the input bigger (5512 position, instead of 100 initialy). That made me get an accepted.
But in the problem specification it is really clear "Each of the expressions ...
After more than a week I decided to make the vector were I was reading the input bigger (5512 position, instead of 100 initialy). That made me get an accepted.
But in the problem specification it is really clear "Each of the expressions ...
- Sun Jun 08, 2003 5:30 am
- Forum: Volume 101 (10100-10199)
- Topic: 10142 - Australian Voting
- Replies: 82
- Views: 45658
10142 - Australian Voting - WA
Im getting wrong answear in the 10142. Can anyone give me some testcases so I can try them with my algorithm.
here is the source that Im using (its loooooooong, I thing no one is going to read it, but am going to put it here anyway ;)
[cpp]
#include <iostream>
#include <cctype>
#include <cstdlib ...
here is the source that Im using (its loooooooong, I thing no one is going to read it, but am going to put it here anyway ;)
[cpp]
#include <iostream>
#include <cctype>
#include <cstdlib ...
- Sat Jun 07, 2003 7:11 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10033 - Interpreter
- Replies: 88
- Views: 39287
- Sat Jun 07, 2003 3:11 am
- Forum: Volume 100 (10000-10099)
- Topic: 10033 - Interpreter
- Replies: 88
- Views: 39287
- Wed Apr 09, 2003 3:54 am
- Forum: Volume 104 (10400-10499)
- Topic: 10424 - Love Calculator
- Replies: 137
- Views: 59832
- Mon Jun 03, 2002 8:35 pm
- Forum: Volume 7 (700-799)
- Topic: 793 - Network Connections
- Replies: 102
- Views: 47628
793 - Network Connections
Hi, Im trying to send the folowing code, but I am geting wrong answear, I cant find where Im wrong... Im using quickfind algorithm, can anyone help?
[c]
"@BEGIN_OF_SOURCE_CODE"
/* @JUDGE_ID: xxxxxx 793 C */
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
typedef unsigned long mytype ...
[c]
"@BEGIN_OF_SOURCE_CODE"
/* @JUDGE_ID: xxxxxx 793 C */
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
typedef unsigned long mytype ...