Ayush
Francisco
I solved it some months ago
Tokin
Is anyone here topcoder red?
Tokin
Or are they just fairytales
Tokin
Jk
joel
StrikeShott
StrikeShott
I am thinking of applying greedy approach. Does anyone know how to import vector in c++. ?
StrikeShott
Or do any of you think other approach to get the result. ?
Anonymous
Dima
Dima
no asking for assignment solutions
StrikeShott
Anonymous
If it doesn't work, you are doing something wrong
Anonymous
#include<vector>
...
std::vector<int> vector; // empty vector
StrikeShott
Thanks. Let me try this.
StrikeShott
Or maybe should i just stick with array because the size is defined already in the question. ?
StrikeShott
a[6][6], b[7][6], c[10,6];
correctmaninwrongplace
I would recommend you the occam's razor
correctmaninwrongplace
And i think that maybe other approach would be better, but greedy can work
Anmol
int *arr = new int[100]();
Does this initialize the array arr to 0?
I_Interface
Anmol
Anmol
The syntax is perfectly fine
I_Interface
I_Interface
I_Interface
I_Interface
Anonymous
Mat
Mat
For the elements inside, you can try yourself
Mat
However you should use std::array and std::vector
Anonymous
Mat
Anmol
I'm slowly learning the workings of C++
Mat
Just read about them
Anonymous
Is there any possibility to do cgi programming without using any library such as cgicc
Mat
Wim
Wim
Flat out CGI just sets environment variables which you can read and parse
Anonymous
Timothy
Thanks
Timothy
Hi all, please help? I am wondering how to include uuid.h, when I have another header that already has uuid_t defined?
Dima
Welcome
Dima
Try to include it in different implementation files
Timothy
I only have one main file at the moment.
Timothy
I am trying to include this:
#include <uuid/uuid.h>
And use this function: uuid_parse
Dima
Timothy
#include <bluetooth/sdp.h>
Timothy
Is there a way to only import one function from uuid.h?
Timothy
hmm so I used my common logic and copied the function from the header file into my main file, and renamed the conflicting type..... Probably very evil of me, but I'm keen to hear the "proper" way to do this.
Drew Diligence
Drew Diligence
better to steal the relevant code than import bloat
// from <uuid.h>
Dima
Timothy
🇰 🇷 🇦 🇹 🇴 🇸😜
Hi
🇰 🇷 🇦 🇹 🇴 🇸😜
Please can anyone send me the best book to learn nodern c++ something like c++17
void
🇰 🇷 🇦 🇹 🇴 🇸😜
Thanks
Biswajit
Hi
Shubham
Is there anyone in the group who done with cdac?
mark
un_known_
un_known_
mark
Its eeee
Anonymous
It's a demonstration of really cute usage of #include and #define to build a program that looks ridiculous below the region where the pre-processor directives would normally be
Anonymous
Foxner
Could one use whitespace unicode characters instead?
Foxner
Or would compiler not consider them as valid characters?