Hey guys!
I have a problem with JULKA, though I already think I know what's happening. The problem requires the input to support numbers up to 10^100, but I don't know how to do that. Here's my code:
//Spoj Entry Julka
#include<iostream>
#include<string>
using namespace std;
int main () {
int t,m,a,b,c;
for (c=0; c<10; c++) {
cin >> t;
cin >> m;
a=(t-m)/2;
b=a+m;
cout << b << '\n' << a << '\n';
}
return(0);
}
Could you help me please? I rlly appreciate it 