Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
dodawanie "MIECIERZY"
#include <iostream> using namespace std; int d,m,n,x,s; int main() { cin>>d; for(int g=0;g<d;g++) { cin>>n>>m; for(int j=0;j<n;j++) { for(int i=0;i<m;i++) { cin>>x; s=s+x; } } cout<<s<<endl; s=0; } }
run
|
edit
|
history
|
help
0
https://codeforces.com/contest/449/problem/D (INCLuSION EXCLUSION principle)
add all
11 და 16 აპრილს დამუსავებული
2021(M2)Simulare:S3:1
volatile thread-safe object
Cley
hilbert
325324
kadane's algorithm 2
codechef