diff --git a/18xxx/18408.cpp b/18xxx/18408.cpp new file mode 100644 index 00000000..8b77bac2 --- /dev/null +++ b/18xxx/18408.cpp @@ -0,0 +1,16 @@ +#include +using namespace std; + +void solve(void) { + int a, b, c; cin >> a >> b >> c; + + cout << (a+b+c+1)/3; +} + +int main(void) { + ios::sync_with_stdio(false); + cin.tie(nullptr); cout.tie(nullptr); + + solve(); + return 0; +} \ No newline at end of file