Search found 7 matches

by Enayet Kabir
Thu Jun 14, 2012 10:09 pm
Forum: Volume 106 (10600-10699)
Topic: 10696 - f91
Replies: 21
Views: 9647

UVA Problem ID :10696(Why I am getting Presentation error?)

Here is my source code: ========================= #include<stdio.h> long N,result; long int Mc(long int ); int main() { while(scanf("%ld",&N)==1) { if(N==0) break; else { result=Mc(N); printf("f91(%ld) = %ld\n",N,result); } } return 0; } long Mc(long int N) { if(N>=101) return (N-10); else return (M...
by Enayet Kabir
Tue Jun 12, 2012 1:28 am
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 42932

UVA Problem ID :623(Why i am getting Time Limit Excedded? ?)

#include <vector> #include <list> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <...
by Enayet Kabir
Tue Jun 12, 2012 1:25 am
Forum: Volume 104 (10400-10499)
Topic: 10494 - If We Were a Child Again
Replies: 55
Views: 17001

Re: UVA Problem ID :10494(Why i am getting Runtime Error ?)

Thanks for your tips. I have got Ac.
by Enayet Kabir
Sat Jun 09, 2012 1:55 pm
Forum: Volume 104 (10400-10499)
Topic: 10494 - If We Were a Child Again
Replies: 55
Views: 17001

UVA Problem ID :10494(Why i am getting Runtime Error ?)

Error: Runtime Error Please help anyone.. ===========Here is my code ============= package pr; import java.io.*; import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigInteger nm1,nm2; String s; Scanner sc=new Scanner(System.in); while(sc.has...
by Enayet Kabir
Wed Jun 06, 2012 9:54 pm
Forum: Volume 107 (10700-10799)
Topic: 10773 - Back to Intermediate Math
Replies: 41
Views: 16749

Re: please help me why i am getting WA for my code ?

What is this sir? Already i have solved this problem . why u give my i/p and o/p ?
by Enayet Kabir
Tue Jun 05, 2012 4:10 am
Forum: Volume 107 (10700-10799)
Topic: 10773 - Back to Intermediate Math
Replies: 41
Views: 16749

Re: please help me why i am getting WA for my code ?

Problem Number : Uva id:10773(Back to Intermediate math)
by Enayet Kabir
Mon Jun 04, 2012 3:42 pm
Forum: Volume 107 (10700-10799)
Topic: 10773 - Back to Intermediate Math
Replies: 41
Views: 16749

please help me why i am getting WA for my code ?

UVA Problem ID :10773(Back to Intermediate Math) please help anyone... #include<iostream> #include<cmath> #include<cstring> #include<cstdio> using namespace std; int main() { int t,i; double d,u,v,td,t1,t2; while(scanf("%d",&t)==1) { for(i=1;i<=t;i++) { scanf("%lf%lf%lf",&d,&v,&u); if(u==0 || v>=u |...

Go to advanced search