Created
January 28, 2013 23:42
-
-
Save gogsbread/4660371 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
class Solution | |
{ | |
//Get N | |
// Read N sequences into an array | |
// scan N array | |
//read q | |
// read each operation and perform action. | |
// query(AP) | |
//Divide until you solve to the minimum number 2 | |
//Conquer | |
//take the difference | |
//combine | |
//check if difference is 0. output that as const and note the level as k | |
//Update(AP) | |
//Update the values of p by adding v. | |
//Multiply(Array) | |
// Loop thru the sequence | |
// output G' | |
//Power(Array) | |
//loop thru the sequence | |
//power each number | |
//output F' | |
// if bucket contains n-2 then c++ | |
//if bucket contains n+2 then c++ | |
// add number to bucket. | |
// 5 2 | |
// 1 5 3 4 2 | |
static void Main() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment