Tuesday, January 14, 2020

Codeforces Problem "Theatre Square" Solution In C Language

  1. Codeforces Problem "Theatre Square" Solution In C Language



  2. int n,m,a;
  3. main()
  4. {
  5. scanf("%d%d%d",&n,&m,&a);
  6. printf("%lld",(m+a-1ll)/a*((n+a-1)/a));

  7. }

2 comments:

Codeforces 131A cAPS lOCK Solution in C

#include <stdio.h> int main () { char ch [ 106 ]; int i , j , ck = 1 ; scanf ( "%s" , ch ); ...