1 solutions
-
0
Guest MOD
-
1
#include<bits/stdc++.h> typedef long long lll; using namespace std; typedef double ll; const int N=1010; lll nums; ll s; int main(){ cin.sync_with_stdio(false); ios::sync_with_stdio(0); cin.tie(0);cout.tie(0); cin>>s; for(ll i=0;i<=100;i++){ for(ll j=0;j<=100;j++){ for(ll k=0;k<=100;k++){ for(ll l=0;l<=100;l++){ if(abs((100-i)*(100-j)*(100-k)*(100-l)-s*1e8)<1){ nums++; } } } } } cout<<nums<<endl; return 0; }
- 1
Information
- ID
- 705
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 7
- Tags
- (None)
- # Submissions
- 137
- Accepted
- 29
- Uploaded By