16 lines
243 B
C++
16 lines
243 B
C++
//acmp.ru 0008
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(){
|
|
freopen("INPUT.TXT", "r", stdin);
|
|
freopen("OUTPUT.TXT", "w", stdout);
|
|
int a, b, c;
|
|
|
|
scanf("%i %i %i", &a, &b, &c);
|
|
if (a * b == c){
|
|
printf("%s", "YES");
|
|
}else {
|
|
printf("%s", "NO");
|
|
}
|
|
} |