diff --git a/birthday cske problem.cpp b/birthday cske problem.cpp new file mode 100644 index 0000000..213542b --- /dev/null +++ b/birthday cske problem.cpp @@ -0,0 +1,29 @@ +#include +using namespace std; +#define size 1000 +int main() +{ + int candles[size],n; + int i, count=0; + cin>>n; + for(int i=0;i>candles[i]; + } +int max=candles[0]; +for(i=1; imax) + { + max=candles[i]; + } +} +for(i=0; i