1 条题解

  • 0
    @ 2026-3-1 21:38:08
    #include <bits/stdc++.h>
    using namespace std;
    unsigned long long a = 1,  ans;
    int main(){
    	for(int i =1 ;i <= 64 ; i++){
    		int t;cin >> t;
    		ans += t * a;
    		a *= 2;
    	}
    	cout << ans <<endl;
    	return 0;
    }
    
    
    • 1

    信息

    ID
    9121
    时间
    2000ms
    内存
    1024MiB
    难度
    8
    标签
    递交数
    15
    已通过
    7
    上传者