oh my god !brianfry713 wrote:In addition, there is one empty line after the lines corresponding to one block of the input file. There should also be a blank line after the last block.
everytime i made a silly mistake


thank you so so so much
oh my god !brianfry713 wrote:In addition, there is one empty line after the lines corresponding to one block of the input file. There should also be a blank line after the last block.
Code: Select all
Accepted!
Thanks
brianfry713 wrote:Change line 48 to:
for (int j=0; j < v.size() && v[j].first.first==i; j++) {
i still get WAbrianfry713 wrote:You are given several sparse matrix, not just one.
Code: Select all
Accepted! Thanks
Code: Select all
int main() {
long double p,n;
while (cin >> n >> p) {
cout << round(powl(p, (1.0/n))) << endl;
}
return 0;
}