Language: C++

#include <iostream>
#define range(i,a,b) for(int i = (a); i < (b); i++)
#define rep(i,b) for(int i = 0; i < (b); i++)
#define all(a) (a).begin(), (a).end()
#define show(x)  cerr << #x << " = " << (x) << endl;
using namespace std;

template <typename X, typename T>
auto vectors(X x, T a) {
	return vector<T>(x, a);
}

template <typename X, typename Y, typename Z, typename... Zs>
auto vectors(X x, Y y, Z z, Zs... zs) {
	auto cont = vectors(y, z, zs...);
	return vector<decltype(cont)>(x, cont);
}

template<typename T>
ostream& operator << (ostream& os, vector<T>& v){
	rep(i,v.size()){ os << v[i] << (i == v.size() - 1 ? "" : " "); } return os;
}
template<typename T>
istream& operator >> (istream& is, vector<T>& v){
	for(T& x: v){ is >> x; } return is;
}

int main(){
	int x, y, s;
	while(cin >> x >> y >> s, x||y||s){
		int maxi = 0;
		for(int i = 1; i < s; i+=1){
			range(j,1,s){
				if(i * (100 + x) / 100 + j * (100 + x) / 100 == s){
					maxi = max(maxi, i * (100 + y) / 100 + j * (100 + y) / 100);
				}
			}
		}
		cout << maxi << endl;
	}
}



Compiler output:
a.cc: In function 'auto vectors(X, T)':
a.cc:10:16: error: 'vector' was not declared in this scope
   10 |         return vector<T>(x, a);
      |                ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | #define range(i,a,b) for(int i = (a); i < (b); i++)
a.cc:10:24: error: expected primary-expression before '>' token
   10 |         return vector<T>(x, a);
      |                        ^
a.cc: In function 'auto vectors(X, Y, Z, Zs ...)':
a.cc:16:16: error: 'vector' was not declared in this scope
   16 |         return vector<decltype(cont)>(x, cont);
      |                ^~~~~~
a.cc:16:16: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
a.cc:16:23: error: expected primary-expression before 'decltype'
   16 |         return vector<decltype(cont)>(x, cont);
      |                       ^~~~~~~~~~~~~~
a.cc:16:23: error: expected ';' before 'decltype'
   16 |         return vector<decltype(cont)>(x, cont);
      |                       ^~~~~~~~~~~~~~
      |                       ;
a.cc:16:37: error: expected unqualified-id before '>' token
   16 |         return vector<decltype(cont)>(x, cont);
      |                                     ^
a.cc: At global scope:
a.cc:20:36: error: 'vector' has not been declared
   20 | ostream& operator << (ostream& os, vector<T>& v){
      |                                    ^~~~~~
a.cc:20:42: error: expected ',' or '...' before '<' token
   20 | ostream& operator << (ostream& os, vector<T>& v){
      |                                          ^
a.cc: In function 'std::ostream& operator<<(std::ostream&, int)':
a.cc:21:15: error: 'v' was not declared in this scope
   21 |         rep(i,v.size()){ os << v[i] << (i == v.size() - 1 ? "" : " "); } return os;
      |               ^
a.cc:3:38: note: in definition of macro 'rep'
    3 | #define rep(i,b) for(int i = 0; i < (b); i++)
      |                                      ^
a.cc: At global scope:
a.cc:24:36: error: 'vector' has not been declared
   24 | istream& operator >> (istream& is, vector<T>& v){
      |                                    ^~~~~~
a.cc:24:42: error: expected ',' or '...' before '<' token
   24 | istream& operator >> (istream& is, vector<T>& v){
      |                                          ^
a.cc: In function 'std::istream& operator>>(std::istream&, int)':
a.cc:25:19: error: 'v' was not declared in this scope
   25 |         for(T& x: v){ is >> x; } return is;
      |                   ^