5 solutions

  • -1
    @ 2026-1-25 15:59:07
    #include<bits/stdc++.h>
    using namespace std;
    int n,k;
    int main(){
    	cin>>n>>k;
    	int cnt=0;
    	for(int i=1;i<=n;i++){
    		for(int j=1;j<=k;j++){
    			cnt=cnt+i*100+j;
    		} 
    	}
    	cout<<cnt;
    	
    	return 0;
    }
    
    
    • @ 2026-1-25 16:00:13

      《刷新一下试试》

Information

ID
2626
Time
1000ms
Memory
256MiB
Difficulty
1
Tags
# Submissions
54
Accepted
25
Uploaded By