I changed my code and got AC(P.E)!
Thanks a lot!!!
Search found 9 matches
- Sun Feb 27, 2005 5:35 am
- Forum: Volume 104 (10400-10499)
- Topic: 10443 - Rock
- Replies: 26
- Views: 8318
- Sat Feb 26, 2005 8:56 am
- Forum: Volume 104 (10400-10499)
- Topic: 10443 - Rock
- Replies: 26
- Views: 8318
10443 WA
hi!
I have tried some input in http://online-judge.uva.es/board/viewto ... ight=10443
My output is right.
I don't know why I got WA.
Thanks!!
I have tried some input in http://online-judge.uva.es/board/viewto ... ight=10443
My output is right.
I don't know why I got WA.
Code: Select all
cutted
- Tue Aug 03, 2004 5:18 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43698
- Tue Aug 03, 2004 8:22 am
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101696
- Mon Aug 02, 2004 12:28 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10035 - Primary Arithmetic
- Replies: 328
- Views: 101696
10035 WA in C
Hi
I don't know why I got WA.
Please give me some tips.
Thanks!!
This is my code.
[c]
#include <stdio.h>
#define max 1000
main()
{
long N1[max], N2[max];
long fator1[max], fator2[max], tmp;
long aux1[max], aux2[max];
int i, j;
int amount, min[max], d1, d2;
for ( i = 0 ; i < max ; i ...
I don't know why I got WA.
Please give me some tips.
Thanks!!
This is my code.
[c]
#include <stdio.h>
#define max 1000
main()
{
long N1[max], N2[max];
long fator1[max], fator2[max], tmp;
long aux1[max], aux2[max];
int i, j;
int amount, min[max], d1, d2;
for ( i = 0 ; i < max ; i ...
- Mon Jul 26, 2004 9:14 am
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43698
- Mon Jul 26, 2004 8:37 am
- Forum: Volume 100 (10000-10099)
- Topic: 10018 - Reverse and Add
- Replies: 169
- Views: 43698
10018 WA in C
Hi
I read all topics about this problem.
I use unsigned long int, and use "%lu" in printf and scanf.
I try inputs below.
Input
2
2
99
Output
1 4
6 79497
When I input 4000000000, my computer just running.
It didn't have any ouput.
I have tried use long long, but I don't know what it means.
I ...
I read all topics about this problem.
I use unsigned long int, and use "%lu" in printf and scanf.
I try inputs below.
Input
2
2
99
Output
1 4
6 79497
When I input 4000000000, my computer just running.
It didn't have any ouput.
I have tried use long long, but I don't know what it means.
I ...
- Tue Jul 20, 2004 7:25 am
- Forum: Volume 4 (400-499)
- Topic: 458 - The Decoder
- Replies: 71
- Views: 27239
Thanks!
Thanks abishek!
I got AC.
I got AC.
- Tue Jul 20, 2004 5:57 am
- Forum: Volume 4 (400-499)
- Topic: 458 - The Decoder
- Replies: 71
- Views: 27239
458 in C WA
Hi everyone.
I don't know why always take WA.
Please give me some hints.
Thanks!
[c]
#define max 1000
#include <stdio.h>
main()
{
int i;
char pwd[max];
while ( fgets(pwd, max, stdin) )
{
for ( i = 0 ; i < max ; i++ )
{
if ( pwd == '\0')
break;
pwd = pwd - 7;
printf("%c", pwd ...
I don't know why always take WA.
Please give me some hints.
Thanks!
[c]
#define max 1000
#include <stdio.h>
main()
{
int i;
char pwd[max];
while ( fgets(pwd, max, stdin) )
{
for ( i = 0 ; i < max ; i++ )
{
if ( pwd == '\0')
break;
pwd = pwd - 7;
printf("%c", pwd ...