#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
int a,b,c,s = 0;
srand ((unsigned)time(NULL));
for(int i = 1; i<=10; i++)
{
b = rand()%100;
c = rand()%100;
cout << "第"<<i<<"题:"<<endl;
cout << b <<"+"<<c<<"="<<endl;
cin >> a;
if((b+c)==a)
{
s += 10;
}
}
cout <<""<<s<<endl;
return 0;
}