URI Solution 1573 Chocolate Factory - Solution in C, C++ | Ad Hoc
URI Online Judge Solution | Ad Hoc
URI Main Problem Link - https://www.urionlinejudge.com.br/judge/en/problems/view/1573
Problem Name: URI Problem 1573 Chocolate Factory
Problem Number : URI Problem 1573 Chocolate Factory Solution
Online Judge : URI Online Judge Solution
Level: Ad Hoc
Solution Language : C plus plus
URI Solution 1573 Chocolate Factory Code in CPP:
#include <cstdio> #include <cmath> using namespace std; int main() { int a, b, c, v, x; while(scanf("%i %i %i", &a, &b, &c) && (a || b || c)) { v = a * b * c; x = (int) cbrt(v); printf("%i\n", x); } return 0; }
No comments:
Write commentsTo know more about the problem, give us your valuable commment. We'll try to help you. Thanks