Skip to content

Instantly share code, notes, and snippets.

View FandresenaJasmin's full-sized avatar
🏠
Working from home

Garabola FandresenaJasmin

🏠
Working from home
View GitHub Profile
@lucoram
lucoram / TzWccS3FindTheSum.java
Created June 7, 2020 23:15
Solution TzWccS3FindTheSum
// Nanadio code sady nanampy commentaire dia niresubmit dia lasa 2eme place :D
// Efa tapitra ny lalao vao ni-resubmit aho an!!
static int closest;
static int closestAbs;
static int target;
static int arrLen;
static int[] nums;
// Ny approche brute force dia manao ny combinaison ana somme rehetra anatin'ilay array
@puchka
puchka / main.cpp
Last active June 11, 2024 16:21
Weekly Coding Contest TechZara 2020 - week3 - day 1
#include <bits/stdc++.h>
using namespace std;
// Compute score
int score(vector<vector<char>> board) {
int h = board.size();
int w = board[0].size();
map<char, int> m;
m['R'] = 0;
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],