Wrong Answer
Code
#include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int a,b,c;
cin>>a>>b>>c;
if(a>c)
{
cout<<a-c<< " "<<b<< "\n";
}
else
{
cout<<0<< " "<<c-a-b<< "\n";
}
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1187 Ticket Battle: Hridoy vs Kamona
- Contest
- Brain Booster #9
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-04-06 15:51:51
- Judged At
- 2025-04-06 15:51:51
- Judged By
- Score
- 10
- Total Time
- 9ms
- Peak Memory
- 324.0 KiB