Search found 1 match

by The Class
Mon May 31, 2004 2:06 pm
Forum: Volume 106 (10600-10699)
Topic: 10655 - Contemplation - Algebra
Replies: 42
Views: 11430

Why make it so complex?!

What's wrong with this one, it gives WA! [cpp] #include <iostream> #include <complex> #include <cmath> #include <stdio.h> using namespace std; int main() { long pi = 0, qi = 0, ni = 0; while (scanf("%d %d %d", &pi, &qi, &ni) > 2) { double p = pi; double q = qi; double n = ni; c...

Go to advanced search