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
template inhertinace
Nth max element in BST
derivative
Cours C++
Nobita's candies problem
Date n Time Macros
numberOftweets
a ko z and z ko n string printing
reverseKNode
teste