Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
СПКИ АП КЭП 3
#include <iostream> using namespace std; int main(){ setlocale(LC_ALL,"Russian"); float a,b; int i; for(a=1; a<6000; a++){ b=a+0.66; if(((a+b)*(a+b))!=(a*a+2*a*b+b*b)){ cout << "Равество неверно при a=" << a << " и b=" << b << endl; i++;} } cout << "Неверных вариантов " << i << "(" << i/a*100 << "%)" << endl; }
run
|
edit
|
history
|
help
0
word shufle match
Right view of a tree
005#
const_cast
Continuous Sub Set with given sum
find-missing-number-arithmetic-progression
Boost phoenix e.g. 1 no functor
325324
DoubleListInt
Matrix spiral print