HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums >


Discussion of problems

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

Topics are sorted by:  (creation date)  [last post time]

Pages:  (1)  (2)  (3)  ...  (30)  ...  (40)  ...  (50)  ...  (52)  (53)  (54)  [55]

Mar.12.2011 at 09:44:43 AM
Problem "Question 1" (0)
0 posts
Mar.11.2011 at 09:09:58 PM
Problem "Symmetric matrix" (0)
0 posts
imesecan
Mar.09.2011 at 06:19:36 PM
Problem "Largest power of two" (2)
2 posts
Post is deleted

Mar.07.2011 at 03:06:45 PM
Problem "Sum of the numbers" (0)
0 posts
Mar.07.2011 at 03:06:44 PM
Problem "Number of Perfect numbers" (0)
0 posts
imesecan
Feb.26.2011 at 10:21:20 PM
Problem "Счастливые билеты" (4)
4 posts
Post is deleted

imesecan
Feb.21.2011 at 10:21:27 PM
Problem "Ladders" (4)
4 posts
Post is deleted

imesecan
Mar.04.2011 at 05:51:34 PM
Problem "Простые числа" (2)
2 posts
Post is deleted

imesecan
Feb.26.2011 at 09:56:33 PM
Problem "Степень" (2)
2 posts
Post is deleted

imesecan
Feb.26.2011 at 09:53:47 PM
Problem "Timer" (2)
2 posts
Post is deleted

imesecan
Feb.26.2011 at 10:02:58 PM
Problem "Коррекция кода" (1)
1 post
Post is deleted

imesecan
Feb.24.2011 at 07:07:49 PM
Problem "The largest product" (3)
3 posts
Post is deleted

imesecan
Feb.23.2011 at 09:42:58 PM
Problem "Triangle" (2)
2 posts
Post is deleted

imesecan
Feb.13.2011 at 10:55:31 AM
Problem "The sum of digits" (4)
4 posts
The question doesn't mention the number of digits. So, the number can have 4 or five digits or 10 digits.

As far as the number has digits we take the digits one by one; and then calculate the sum.

imesecan
Feb.07.2011 at 09:20:29 PM
Problem "A+B" (5)
5 posts
In questions when it specifies a condition for sure it's better to check for it. But usually, you shouldn't give extra information like:
cout<<"the sum is"<<A+B<<endl;
but simply say
cout<<A+B;
Just what it asks.

Or, when getting information, you don't say,
cout<<"Enter a number..:";
cin>>A;
but simply say
cin>>A;

imesecan
Feb.20.2011 at 03:09:01 PM
Problem "Arithmetic expression" (3)
3 posts
Post is deleted

imesecan
Feb.20.2011 at 02:21:13 PM
Problem "Greatest common divisor" (1)
1 post
int x,y,rem=0;

cin>>x>>y;
// After you read x and y you must make sure that
// x is greater than y. Did you check for this ? :)

while (y!=0)
{
rem=x%y;
y=x; // I think this has to be reverse x=y;
y=rem;
}

// When you quit from the loop y is already 0; Are you sure to show this 0?
cout<<y;

imesecan
Feb.13.2011 at 01:12:06 AM
Power of two (2)
2 posts
Post is deleted

imesecan
Feb.17.2011 at 05:26:04 AM
Problem "The sum of digits" (1) (1)
1 post
Post is deleted


Pages:  (1)  (2)  (3)  ...  (30)  ...  (40)  ...  (50)  ...  (52)  (53)  (54)  [55]

www.contester.ru