Skip to content

Commit

Permalink
problem(A1047): fix std
Browse files Browse the repository at this point in the history
  • Loading branch information
StableAgOH committed Jul 3, 2024
1 parent bb007d8 commit 82d790b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions problems/A/A1047/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using namespace std;
int main()
{
double n;
long long n;
cin>>n;
cout<<fixed<<setprecision(6)<<(n-1)*(n-1)<<endl;
cout<<(n-1)*(n-1)<<".000000"<<endl;
return 0;
}

0 comments on commit 82d790b

Please sign in to comment.