Run Code
|
API
|
Code Wall
|
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
ignat
Estocasticos V1.1
Discounting Future Stream
maximum nights you can accommodate
Perfect Square Solution
Dar
xyp
UtilityPair
Microsoft Question - MaxEmployeeAttendence (original question)
Rev Fact WIP