2 条题解

  • 0
    @ 2025-5-6 17:37:50
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        cout<<2.26;
        return 0;
    }
    
    • 0
      @ 2024-12-24 9:49:24

      C++ :

      #include <iostream>
      #include <string>
      #include <fstream>
      using namespace std;
      int main()
      {
      	//ifstream cin;
      	//ofstream cout;
      	//cin.open("A_1.in");
      	//cout.open("A_1.out");
      	double highest=0;
      	double tmp;
      	int testcase;
      	cin>>testcase;
      	while(testcase--)
      	{
      		cin>>tmp;
      		if(tmp<1.4 || tmp>2.26)
      			continue;
      		if(tmp>highest)
      			highest=tmp;
      	}
      	cout<<highest<<endl;
      	
      	return 0;
      }
      
      
      • 1

      信息

      ID
      909
      时间
      1000ms
      内存
      32MiB
      难度
      10
      标签
      (无)
      递交数
      2
      已通过
      1
      上传者