Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
СПКИ АП КЭП 2
#include <iostream> using namespace std; int main(){ setlocale(LC_ALL, "Russian"); float a,b,c; int i; for(a=1; a<6000; a++){ b=a+0.66; c=b+0.5*a; if((a*(b+c))!=(a*b+a*c)){cout << "Равество неверно при a" << a << " и b=" << b << endl; i++;} } cout << "Неверных вариантов " << i << "(" << i/a*100 << "%)" << endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Empty C++
typename T class T
D.E.Shaw Binary Search Question
Badanie symetryczności macierzy
Six Trigonometric Functions
substr
replace_if-30-Seconds-of-C++
better o/p of factor problem
single_digit
dijkstra
Please log in to post a comment.