Wrong Answer
Code
#include <iostream>
using namespace std;
int main()
{
int tc;
cin>>tc;
while(tc--){
int a,b,c;
cin>>a>>b>>c;
if(c<a){
cout<<a-c<<" "<<b<<endl;
}
else {
cout<<"0"<<" "<<b-(c-a)<<endl;
}
}
}
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 16:00:44
- Judged At
- 2025-04-06 16:00:44
- Judged By
- Score
- 10
- Total Time
- 3ms
- Peak Memory
- 540.0 KiB