Search found 2 matches

by Culter
Mon Jul 28, 2003 5:00 pm
Forum: Volume 102 (10200-10299)
Topic: 10221 - Satellites
Replies: 34
Views: 20320

10221 - Satelites

Problem is very easy, but there is always WA. Could anybody help me?
#include <iostream>
#include <string>
#include <cstdio>
#include <cmath>
#define pi 3.1415926535897932384626433832795
using namespace std;

int main() {
long double s,a,l,d;
string m;
while (cin >> s >> a >> m) {
s+=6440;
if ...
by Culter
Mon Jul 28, 2003 4:36 pm
Forum: Volume 4 (400-499)
Topic: 444 - Encoder and Decoder
Replies: 155
Views: 44463

RE:Why #444 WA?

Try input:

Code: Select all

32
My ACC program generates:

Code: Select all

A
and yours:

Code: Select all

W
but I haven't found mistake in your code.

Go to advanced search