Search found 5 matches

by imnew
Thu Mar 09, 2006 8:13 pm
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 13329

yes, that is true.....
but i want to find the reason for run time error............
anyway, thanks..........
by imnew
Thu Mar 09, 2006 6:34 pm
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 13329

there is no division operation (except by a constant: 3) in my code (i think)
by imnew
Sun Mar 05, 2006 1:20 am
Forum: Volume 109 (10900-10999)
Topic: 10973 - Triangle Counting
Replies: 31
Views: 13329

10973 - Triangle Counting

can anyone tell me why am i getting RE? I cant figure it out :( #include <cstdio> #include <vector> #define MAX 3002 using namespace std; int f1[MAX], f2[MAX]; int e[MAX][2]; vector<int> a[MAX]; int main() { int i, j, s, t, n, m, test; long long count; scanf("%d", &test); while(test--) { scanf("%d %...
by imnew
Sun Feb 12, 2006 9:57 am
Forum: Volume 8 (800-899)
Topic: 804 - Petri Net Simulation
Replies: 9
Views: 6455

How to make it fast?

People are solving this within a pretty small time limit........................I could get no better idea than brute force simulation.........Any idea?
by imnew
Sun Feb 12, 2006 6:40 am
Forum: Volume 109 (10900-10999)
Topic: 10994 - Simple Addition
Replies: 41
Views: 15538

---thanks.....got it.....
what is the result for
p = 1, q = 2147483647
p = 100000, q = 200000
Thanks in advance.....

Go to advanced search