13 条题解

  • 1
    @ 2024-2-22 10:24:58

    #include using namespace std; int main() { double a; cin>>a; printf("%lf",a); cout<<endl; printf("%.5lf",a); cout<<endl; printf("%e",a); cout<<endl; printf("%g",a); cout<<endl; return 0; }

    • 1
      @ 2024-2-22 9:30:42
      #include<iostream>
      using namespace std;
      int main()
      {
          double a;
          cin>>a;
          printf("%lf",a);
          cout<<endl;
          printf("%.5lf",a);
          cout<<endl;
          printf("%e",a);
          cout<<endl;
          printf("%g",a);
          cout<<endl;
          return 0;
      }
      
      • 0
        @ 2025-2-19 9:55:36

        #include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; printf("%lf\n",a); printf("%.5lf\n",a); printf("%e\n",a); printf("%g",a); return 0;

        }

        • 0
          @ 2024-3-1 16:54:29
          • #include using namespace std; int main() { double a; cin>>a; printf("%lf",a); cout<<endl; printf("%.5lf",a); cout<<endl; printf("%e",a); cout<<endl; printf("%g",a); cout<<endl; return 0; } *
          • 0
            @ 2024-2-22 11:21:07

            #include using namespace std; int main() { double a; cin>>a; printf("%lf",a); cout<<endl; printf("%.5lf",a); cout<<endl; printf("%e",a); cout<<endl; printf("%g",a); cout<<endl; return 0; }

            • 0
              @ 2024-2-22 11:20:03

              #include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; printf("%lf\n",a); printf("%.5lf\n",a); printf("%e\n",a); printf("%g",a); return 0; }

              • -2
                @ 2024-2-22 9:53:29

                #include <bits/stdc++.h> using namespace std; int main() { double a; cin>>a; printf("%lf",a); cout<<endl; printf("%.5lf",a); cout<<endl; printf("%e",a); cout<<endl; printf("%g",a); return 0; }

                • -2
                  @ 2024-2-22 9:21:56

                  #include<bits/stdc++.h> using namespace std; int main() { double a,b,c,d,e; cin>>a; b=printf("%lf\n",a); c=printf("%.5lf\n",a); d=printf("%e\n",a); e=printf("%g\n",a); return 0; }

                  • -2
                    @ 2024-2-22 9:21:49
                    #include<bits/stdc++.h>
                    using namespace std;
                    int main(){
                        double a;
                        cin>>a;
                        printf("%lf",a);
                        cout<<endl;
                        printf("%.5lf",a);
                        cout<<endl;
                        printf("%e",a);
                        cout<<endl;
                        printf("%g",a);
                        return 0;
                    }
                    
                    • -2
                      @ 2024-2-22 9:20:14

                      #include <bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; printf ("%lf",a); cout<<endl; printf ("%.5lf",a); cout<<endl; printf ("%e",a); cout<<endl; printf ("%g",a); return 0; }

                      • -2
                        @ 2024-2-22 9:05:21
                        #include<bits/stdc++.h>
                        using namespace std;
                        int main(){
                            double a;
                            cin>>a;
                            printf("%lf",a);
                            cout<<endl;
                            printf("%.5lf",a);
                            cout<<endl;
                            printf("%e",a);
                            cout<<endl;
                            printf("%g",a);
                            return 0;
                        }
                        
                        • -3
                          @ 2024-2-21 22:04:37

                          #include<bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; printf("%lf\n",a); printf("%.5lf\n",a); printf("%e\n",a); printf("%g\n",a); return 0; }

                          • -5
                            @ 2024-2-21 22:38:07
                            #include<bits/stdc++.h>
                            using namespace std;
                            int main()
                            {
                                double a,b,c,d;
                                cin>>a;
                                printf("%lf",a);
                                cout<<endl;
                                printf("%.5lf",a);
                                cout<<endl;
                                printf("%e",a);
                                cout<<endl;
                                printf("%g",a);
                                return 0;
                            }
                            
                            • 1

                            信息

                            ID
                            1192
                            时间
                            1000ms
                            内存
                            128MiB
                            难度
                            2
                            标签
                            (无)
                            递交数
                            648
                            已通过
                            382
                            上传者