79589915

Date: 2025-04-24 06:11:15
Score: 0.5
Natty:
Report link
int main() {
    int t, height, width;
    int circles, radius;
    vector<int> xCordinates;
    vector<int> yCordinates;
    int num;
    string input;
    
    
    cin >> t >> height >> width;
    cin >> circles >> radius;
    
    // Ignore the newline character left in the buffer after the last cin
    cin.ignore();

    getline(cin, input);  // Read the third line
    stringstream ss1(input);
    while (ss1 >> num) {
        xCordinates.push_back(num);
    }

    getline(cin, input);  // Read the third line
    stringstream ss2(input);
    while (ss2 >> num) {
        yCordinates.push_back(num);
    }  
    
    return 0;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30357599