I was working on a native chat app for se/mse/so, but ditched it becuz technical reasons. It would really come in handy, every time I switch tabs chrome reloads the page ;-;
I m building a c++ coding to solve maximum clique problem. I'm using binary matrix adjancency to represent the graph. But when I test using the DIMACS-benchmark, my answer is far more different compare to the answer given. how can i improve my c++ coding?
int i,j,N,M,r,t,k,maxi,a,maximum,nCl...
I.e. I have a solution for sandboxing C# questions on SE, so I make other classes (Site_QuestionId) with a _Main(string[] args) method, called from my Main(string[] args) method.
I have written a simple implementation of the game Tic-Tac-Toe designed to allow "pluggable" player control, meaning I can easily swap out the controlling logic for players without modifying the game itself.
I have a few issues with my existing code:
I don't like the while loop for processing,...
I'm solve the maximum clique problem. I'm using binary matrix adjacency to represent the graph. But when I test using the DIMACS-benchmark, my answer is far more different compared to the answer given. How can I improve my C++ coding?
#include<iostream>
#include<fstream>
#define n 500
using nam...
I am using golang's net/http package in my application. In my use case I am trying to make http calls several times continuously using my custom http client. I am facing following issues with this.
Issue 1: After several calls [ ~100 less than a minute], client fails to make calls.I mean the req...
I'm learning Python. I want to list the first N numbers that are of the form $$p^{2^n}$$
where p is prime and n is a natural number. My code is as follows.
def isprime(n):
if n==1:
return False
if n==2:
return True
if n%2==0:
return False
if n<9:
return True
if n%3==0:
...
General objective: Find the date (day of the month) of the nearest specified day of the week and output.
More specifically: Focusing on events which take place every Fri & Sat, want the page to automatically update dates to next events. HOWEVER for clarity the page should never display Fridays a...
@RohitAgre You are correct that Stack Overflow requires questions to be about a specific problem. However, Code Review is not appropriate for this question either, since asking for explanations of how code works is off-topic there. — 200_success43 secs ago
I tried to implement a linked list that can do pop(), push(), append(), printall(), and so on, and also I tried to handle the wraparound features, and de-wrap it when check if the list is cyclic to avoid endless loop, but I am sure this wrap and de-wrap features can be implemented better...
#inc...
> Now, instead of spending time figuring out what time of day is it for every member of the channel, we spend time explaining newcomers benefits of UGT.
Just finished The Force Awakens, 7/10 was not disappointed.
I've written a small shell that can start and run programs and in the background. But I'm not sure about the signal handling which is supposed to handle background processes so that ctrl+c doesn't stop the whole shell and doesn't stop the background process but only the foreground process. Should...
I've just been reminiscing about when I started playing LoL. I just remembered that I a) tried to build Trinity Force on Anivia in Dominion in my first game and b) saw nothing wrong with Irelia gaining 26 HP per hit on her old W passive.