From 7b2f7095116c8f9427baff0fabe918546dbda01b Mon Sep 17 00:00:00 2001 From: AKS Date: Fri, 5 Apr 2024 17:43:06 +0530 Subject: [PATCH] chore: day13 solution --- easy/day_13/solution.cpp | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/easy/day_13/solution.cpp b/easy/day_13/solution.cpp index 8d3ad8d..2c94719 100644 --- a/easy/day_13/solution.cpp +++ b/easy/day_13/solution.cpp @@ -1 +1,22 @@ -//write your code here \ No newline at end of file +//write your code here +//write your code here +#include +using namespace std; +int main() +{ + int n; + cin>>n; + int a[n]; + for(int i=0; i>a[i]; + } + int ans=INT_MAX; + for(int i=0; i