Search found 10 matches

by tnaires
Wed Aug 10, 2011 1:13 am
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 72691

Re: 10267 - WA

Well... Still WA.

Does anybody have any test case? Sorry for bothering.
by tnaires
Wed Jul 27, 2011 10:29 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 72691

10267 - WA

Good evening! I'm getting WA in this problem, here's my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #define CMD_LENGTH 50 #define ARG_LENGTH 5 #define DELIMITERS " \n" #define TABLE_SIZE 250 #define DEFAULT_COLOR 'O' #define FILENAME_LENGTH 12 typedef struct _table { c...
by tnaires
Sat Apr 30, 2005 2:26 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 44650

Hi Antonio!
The code also recognizes words with only one letter. But, numbers should be considered?
Greetings.
by tnaires
Thu Apr 28, 2005 1:47 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 44650

tnaires wrote:()... it don't have (...)
It doesn't, sorry!
Greetings
by tnaires
Thu Apr 28, 2005 1:43 pm
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 44650

Yes, I did. If you see my code, you'll know that it don't have the problem appointed by misof. But thanks, anyway.
by tnaires
Thu Apr 28, 2005 2:29 am
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 44650

10815, WA

Hi everyone :D I'm trying hard to solve the 10815, but I'm having nightmares with WAs :( Here's my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #define DELIMITATORS " \n\'\"\\|.,;:?!()[]{}+-*=_&%$#@<>/" typedef struct list { char p[201]; struct list *next; } *L...
by tnaires
Mon Mar 14, 2005 7:24 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 59351

Re: p488

WR wrote:Print a blank line even after the last output.
Thanks man! I got AC!!
But I really don't understand it...
The problem says that "There is a blank line after each separate waveform, excluding the last one."
I'd never know of this...
by tnaires
Wed Mar 09, 2005 2:11 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 59351

Hello again. shamin, I finally understood what you said. I saw the output of the program: (blank line) (blank line) (blank line) (blank line) (blank line) results I refreshed my code, using your tips: #include <stdio.h> #include <stdlib.h> int main() { int num_casos, amp, freq, i, j, k, l; scanf(&qu...
by tnaires
Tue Mar 08, 2005 1:37 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 59351

Hi, shamim. Thanks for attention. Your tip didn't work... I'm still with a PE. You told me things that left me confused: You are first taking all the inputs and then give all the outputs. This is unnecessary and in some problems you will not be able to do so because of the memory contraints.. But in...
by tnaires
Mon Mar 07, 2005 8:05 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 59351

488 - accepted, but PE

Hi everybody, Here is my code for problem 488: #include <stdio.h> #include <stdlib.h> int main() { int n_cases, *amp, *freq, i, j, k, l; scanf("%d", &n_cases); printf("\n"); amp = (int *) calloc(n_cases, sizeof(int)); freq = (int *) calloc(n_cases, sizeof(int)); for (i = 0; i...

Go to advanced search