Xiao Ming opened an online shop to sell wind chimes. A total of 3 brands: A,b,c.
For promotion, each item will be returned to a fixed point.
Xiaoming received three orders on the first day of his opening:
First Stroke: 3 A + 7 B + 1 C, total rebate: 315
Second Pen: 4 A + 10 B + 1 C, total rebate: 420
Third: A + B + C, Total return points ....
Can you calculate the number of points to be returned for the third order?
Please submit this integer, do not fill in any superfluous content.
Direct violence
1#include <cstdio>2 3 using namespacestd;4 5 intMain ()6 {7 inti,j,k;8 for(i =1; I <= -; i++)9 {Ten for(j =1; J <= -; j + +) One { A for(k =1; K <= -; k++) - { - if(3*i+7*j+1*k = =315&&4*i+Ten*j+1*k = =420) the { -printf"i =%d J =%d k =%d\n", i,j,k); -printf"i+j+k =%d\n", i+j+k); - } + } - } + } A return 0; at}
"Blue Bridge Cup" sixth session C language Group B 1. Points Puzzle (water)