F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37650445_5920.cpp:1:523: fatal error: GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stdc++.h>usin: Invalid argument
 #include<bits/stdc++.h>using namespace std;#define Iosios:sync_with_stdio(false),cin.tie(0),cout.tie(0);//#pragma GCC optimize(3,"ofast","inline")#define l1 long long#define PII pair<int,char>//#define int long longconst int N 1e6 +5;const int M=1e5 +5;const int INF 0x3f3f3f3f;const l1 LNF 0x3f3f3f3f3f3f3f3f;const int mod 1e9 +7;const double PI acos(-1.0);double a[N];int n;void solve(){if(n >N 1 printf("%.5f\n",a[N -1]);else printf("%.5f\n",a[n]);int main()for ll i=1;i<N;++i)a[i]=a[i-1]+1.0 /i/i;while(cin >n solve();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
compilation terminated.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-29 05:40:26, Gzip enabled