Search found 8 matches

by habibiamin
Wed Nov 10, 2004 12:51 pm
Forum: Volume 100 (10000-10099)
Topic: 10027 - Language Cardinality
Replies: 16
Views: 5693

10027 Why TLE ??? HELP PLZ

Please help me... I don't know why TLE ??? in 10027
:oops:
[pascal]
//http://acm.uva.es/problemset/v100/10027.html
program Q10027;

type
Grammer=record
Src,Des:String;
end;

var
GRAMS:array [1..100] of Grammer;
LWords:Array [1..1000] of string;
lines,GRAMSCNT:integer;
Language:string;
WCnt ...
by habibiamin
Tue Nov 09, 2004 1:09 pm
Forum: Volume 100 (10000-10099)
Topic: 10023 - Square root
Replies: 121
Views: 45477

10023 Why WA??? but before AC

I got AC before with this code... But now it cause WA ...!!!!
Can anybody tell me ... Why ??? :roll:
[cpp]
#include <iostream.h>
#include <stdio.h>
#include <math.h>
int main(){
int j,i;
long double n,root;
cin>>j;
for(i=0;i<j;i++)
{
cin>>n;
root=sqrtl(n);
if(i<j-1)
cout<<(unsigned ...
by habibiamin
Sun Oct 24, 2004 7:36 am
Forum: Volume 4 (400-499)
Topic: 448 - OOPS!
Replies: 18
Views: 8368

448 Why OLE

Can any one help me ??? Why OLE ??? 448

[cpp]
//Assembler
#include<stdio.h>

enum Mode {Register,Absoulate,PCRelative,Constant};

struct Operand
{
int Value;
Mode OprMod;
};

class HexOperand
{
private:
int Digits[5]; // 4 Digits
Operand ResultOpr;
public:
void ReadOperand()
{
char c;
for ...
by habibiamin
Wed Oct 20, 2004 9:34 am
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 18087

Thanks

Thank you...I got AC ! :D
by habibiamin
Tue Oct 19, 2004 2:21 pm
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 18087

443 Can any body tell why WA ???

I got WA .. but I don't know why??? :o
Please help me ... !!!
Thanks... :wink:

[cpp]
//http://acm.uva.es/p/v4/443.html
#include <iostream.h>
unsigned long int humbles[5843];
int humble;

void AddtoList(unsigned long int No)
{
int j,i=humble;
humble++;
for(;i>=1;i--)
{
if(No>humbles ...
by habibiamin
Sun Oct 17, 2004 12:21 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152918

Thanks dear sohel...

I do your suggestion and get WA :oops: ...I'll try to get AC

bye :wink:
by habibiamin
Sat Oct 16, 2004 10:57 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 49105

530 Why TLE (Help Please)

This is my solution for 530. But I don't know why its TLE :oops:
Please help me !
Thanks
[cpp]
#include<stdio.h>
long long int gcd(long long int p,long long int q)
{
long long int temp;
while(q)
{
temp=p;
p=q;
q=temp%q;
}
return p;
}
int main()
{
long long int n,k;
long long int t,a,b ...
by habibiamin
Sat Oct 16, 2004 10:54 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 152918

10038 Why RTE (Runtime Error)

This is my solution for problem 10038 {Jolly Jumpers}
but I don't know why RTE :oops:
Please help me !
Thanks
[cpp]
//http://acm.uva.es/p/v100/10038.html
#include<stdio.h>
int main()
{
long long int Jolly[3000];
long long int Sequence[3001];
long long int n,i,j,minus;
while(scanf("%lld",&n)==1 ...

Go to advanced search