1 solutions

  • 0
    @ 2025-7-17 15:10:13

    #include <bits/stdc++.h> using namespace std;

    int main() { double max1, n; cin>>n; max1=n; for (int i = 2; i <=10; i++) { cin>>n; if(n>max1){ max1=n; } }

    cout << "最大的数:" << max1;
    
    
    return 0;
    

    }

    • 1

    Information

    ID
    354
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    5
    Tags
    # Submissions
    72
    Accepted
    30
    Uploaded By