Wrong Answer
Code
#include <iostream>
using namespace std;
int main(){
int n,a,b,sum;
cin>>n;
a=n/2;
b=1+a/2;
sum = n+a+b;
cout<<sum<<endl;
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1176 Free chocolate
- Contest
- Intra LU IEEE Beginner Programming Contest
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-02-26 07:17:01
- Judged At
- 2025-02-26 07:17:01
- Judged By
- Score
- 5
- Total Time
- 1ms
- Peak Memory
- 772.0 KiB