Search found 2 matches

by alofa
Thu Oct 10, 2013 1:50 am
Forum: Volume 113 (11300-11399)
Topic: 11365 - Copying DNA
Replies: 12
Views: 7440

Re: 11365 - Copying DNA

why is the following test case returning 5.

Code: Select all

1
ACGT
AAACTTCAAAA
by alofa
Mon Sep 30, 2013 12:58 am
Forum: Volume 6 (600-699)
Topic: 681 - Convex Hull Finding
Replies: 60
Views: 30718

681 - Convex Hull Finding

Why is this generating a runtime error, I have checked it character by character

#include<iostream>
#include<algorithm>
#include<vector>

using namespace std;
#define SQR(n) (n)*(n)

struct Point{
int x, y;
Point(int a = 0, int b = 0) : x(a), y(b){}
static Point comp;
int operator - (Point p ...

Go to advanced search