delete pics to save space
This commit is contained in:
15
history_source/ccf 入门篇/U2/2.6.5.cpp
Normal file
15
history_source/ccf 入门篇/U2/2.6.5.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include<iostream>
|
||||
#include<cmath>
|
||||
#include<cstdlib>
|
||||
#include<ctime>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
srand(time(0));
|
||||
int a,b,c;
|
||||
a=rand()%1000000+1;
|
||||
b=rand()%1000000+1;
|
||||
c=rand()%1000000+1;
|
||||
cout<<a<<"-"<<b<<"+"<<c<<"+"<<c<<"*("<<a<<"-"<<b<<")="<<a-b+c+c*(a-b)<<endl;
|
||||
while(true);
|
||||
}
|
Reference in New Issue
Block a user