Anonymous
Anonymous
z
Anonymous
Hello
z
Hello
https://www.nohello.com/2013/01/please-dont-say-just-hello-in-chat.html
Anonymous
Anonymous
/warn
Anonymous
/warm
Kabelo
/ban
Anonymous
Hello
.
rule number one: be toxic
.
rule number two: you always are right and the rest wrong
Ehsan
Diego
How do you know that's age appropriate? How irresponsible.
Meet
Hello
Wow
Hi
Deepak
You are given an integer array nums. The unique elements of an array are the elements that appear exactly once in the array.
Return the sum of all the unique elements of nums.
Example 1:
Input: nums = [1,2,3,2]
Output: 4
Explanation: The unique elements are [1,3], and the sum is 4.
Example 2:
Input: nums = [1,1,1,1,1]
Output: 0
Explanation: There are no unique elements, and the sum is 0.
Example 3:
Input: nums = [1,2,3,4,5]
Output: 15
Explanation: The unique elements are [1,2,3,4,5], and the sum is 15.
Deepak
can anyone please solve this
klimi
Yes, but why?
Talula
You are given an integer array nums. The unique elements of an array are the elements that appear exactly once in the array.
Return the sum of all the unique elements of nums.
Example 1:
Input: nums = [1,2,3,2]
Output: 4
Explanation: The unique elements are [1,3], and the sum is 4.
Example 2:
Input: nums = [1,1,1,1,1]
Output: 0
Explanation: There are no unique elements, and the sum is 0.
Example 3:
Input: nums = [1,2,3,4,5]
Output: 15
Explanation: The unique elements are [1,2,3,4,5], and the sum is 15.
It is not a big problem, it takes unique numbers and simply add them…
Talula
Deepak
in c language i found some difficulty to solve it
Deepak
but thanks i solved it just now.
Talula
Anonymous
Deepak
then why you made this group
Dima
Not for assignments
Deepak
ohk fine
Talula
then why you made this group
Not to solve your problems, it is to solve programming problems, if you’re stuck somewhere, it is not to do your assignments.
Deepak
Anonymous
can anyone suggest best book to study c++ from scratch to advance level, or any links?
Anonymous
佳辉
Can someone tell me the syntax of call by value function?
Sandeep
#include <iostream>
using namespace std;
enum class Fruit { apple, orange, pear};
enum class Color {red, green, orange };
template <typename T >struct Traits; template <typename T >struct Traits
{
T x;
static T name (int y)
{
return (T)y;
}
int main()
{
int t= 0;
std::cin>> t;
for (int i=0; it; ++i)
{ int index1;
std::cin >> index1;
int index2;
std::cin>> index2;
cout << Traits<Color>::name (index1) <<" " ;
cout << Traits<Fruit>::name (index2) << "\n";
}
}
Why can't you cast y into type T
Anonymous
Can someone explain to me what does this line of code do?
......
typedef LONG(NTAPI *nt_suspend_process)(IN HANDLE process_handle);
Talula
Anonymous
Jason
Thank you rose
Hanz
Statement 3 is undefined while the rest is defined
Pavel
Eturnus
hlo guys i have just learnt how to use object ans class in c ++ , can i get some easy projects related to class and object for practice?
Anonymous
NAYAN
How can i learn coding
NAYAN
Thank you
NAYAN
But without teaching how i learn c language
Hanz
NAYAN
Can you suggest me a any videos and books
NAYAN
ɴꙩᴍᴀᴅ
Hirrolot
https://github.com/TotallyNotChase/c-iterators
Lenin
is there any telegram group for assembly language? x86 in particular
Anonymous
Anonymous
Lenin
Lenin
Lenin
can anyone tell me good resources/books to learn x86 assembly in windows?
Lenin
olli
Since you explicitly mentioned windows the first one might be a good read because "The book covers x86, x64, and ARM (the first book to cover all three); Windows kernel-mode code rootkits and drivers; virtual machine protection techniques; and much more. "
Negah
Hii
How can I get two arrays and then delete duplicate numbers from these two arrays?
Anonymous
Hello :) anyone can help me with a CRM Tool ?
Anonymous
....
Hello everyone
сумбула
guys is range-for-loop faster than ordinary loop?
....
Hi
....
Somebody help me
....
Please
Anonymous
Talula
Pavel
Somebody help me
If you want help you need to describe what exactly you need. Or what answer do you expect?
Vlad
Vlad
Compiler could unwind both