added some comments

pull/959/head
sinaps07 2022-10-06 20:56:43 +05:30
parent 86340027e0
commit 67a2d55486
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,6 @@
//problem link //problem link
//https://cses.fi/problemset/task/1158/ //https://cses.fi/problemset/task/1158/
//time complexity:O(n^2)
#include<bits/stdc++.h> #include<bits/stdc++.h>
using namespace std; using namespace std;
@ -44,4 +45,10 @@ int main()
solve(); solve();
cout<<"\n"; cout<<"\n";
} }
} }
//sample input
// 4 10
// 4 8 5 3
// 5 12 8 1
//sample output
//13