4 条题解

  • 2
    @ 2025-11-30 10:24:09
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double n;
        cin>>n;
        n=abs(n);
        printf("%.2lf",n);
        return 0;
    }
    
    • 0
      @ 2025-12-17 20:57:59

      #include<bits/stdc++.h> using namespace std; int main(){ double n; cin >> n; if(n > 0 ){ cout << n1.00; }else{ cout << n-1.00; } return 0; }

      • 0
        @ 2025-12-17 20:44:47
        using namespace std;
        int main()
        {
        	srand(time(NULL));
        	cout<<rand();
        	return 0;
        }
        
        
        • 0
          @ 2025-12-17 20:44:22

          #include<bits/stdc++.h> using namespace std; int main() { srand(time(NULL)); cout<<rand(); return 0; }

          • 1

          信息

          ID
          6893
          时间
          1000ms
          内存
          128MiB
          难度
          1
          标签
          递交数
          52
          已通过
          17
          上传者