Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
ABR0003V - Хажуу гадаргуу |
Ирмэгийн урт нь а бүхэл тоотой тэнцүү байх кубын хажуу гадаргуугийн нийт талбайг ол.
Input
а бүхэл тоо өгөгдөнө (1<=a<=10000)
Output
кубын хажуу гадаргуугийн нийт талбайг олно.
Example
Input: 4 Output: 64
Нэмсэн: | sw40 |
Огноо: | 2010-09-05 |
Хугацааны хязгаарлалт: | 1s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | Бүгд дараах хэлүүдээс бусад: ASM32-GCC MAWK BC C-CLANG NCSHARP CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR FANTOM FORTH GOSU GRV JS-MONKEY JULIA KTLN NIM NODEJS OBJC OBJC-CLANG OCT PICO PROLOG PYPY PYPY3 PY_NBC R RACKET RUST CHICKEN SQLITE SWIFT UNLAMBDA VB.NET |
hide comments
2022-05-09 08:23:54
a=int(input()) s = a*a*4 print(s) |
|
2013-04-16 13:09:27 Iderbat
#include<stdio.h> main(){ long a,b; scanf("%ld",&a); b=a*a*a; printf("%ld",b); return 0;} |
|
2012-02-15 09:04:03 ariunbayar_dmts
#include <stdio.h> #include <math.h> #include <stdlib.h> main () {double a; scanf ("%lf",&a); printf ("%.lf",(a*a*4)); system("pause"); return 0; } |
|
2011-05-10 19:27:48 Piotr KÄ…kol
Thanks a lot sw10d019! :-) |
|
2011-05-09 02:54:46 sw10d019
hey Poitr the answer is "a*a*4" :) goodluck pal |
|
2011-02-20 17:46:25 Piotr KÄ…kol
Last edit: 2011-02-23 19:20:24 |
|
2011-02-20 16:25:37 I 7eVeN
Last edit: 2011-02-23 16:31:41 |
|
2011-02-20 15:23:01 Piotr KÄ…kol
What I have to calculate here? a^3 doesn't work. |