提交记录 12492
| 提交时间 |
评测时间 |
| 2020-04-14 10:50:41 |
2023-09-03 19:40:17 |
#include <iostream>
using namespace std;
typedef long long ll;
inline ll mul(ll a,ll b);
int main(void){
ll a,b,res;
a=1ll<<30;
b=1ll<<29;
a+=12313234;
b+=76843625;
for (int i=1;i<=10000000;i++){
ll c=mul(a,b);
res+=c;
}
cout << res << endl;
return 0;
}
ll mul(ll a,ll b){
ll ans=0;
while (b){
(b&1)?(ans+=a):(0);
b>>=1,a<<=1;
}
return ans;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 150.451 ms | 36 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-26 00:21:47 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠