Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B"IT City administration has no rest because of the fame of the Pyramids in Egypt. There is a project of construction of pyramid complex near the city in the place called Emerald Walley. The distinction of the complex is that its pyramids will be not only quadrangular as in Egypt but also triangular and pentagonal. Of course the amount of the city budget funds for the construction depends on the pyramids' volume. Your task is to calculate the volume of the pilot project consisting of three pyramids -- one triangular, one quadrangular and one pentagonal. The first pyramid has equilateral triangle as its base, and all 6 edges of the pyramid have equal length. The second pyramid has a square as its base and all 8 edges of the pyramid have equal length. The third pyramid has a regular pentagon as its base and all 10 edges of the pyramid have equal length. The only line of the input contains three integers l3, xe2 x80 x89l4, xe2 x80 x89l5 (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l3, xe2 x80 x89l4, xe2 x80 x89l5 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000) -- the edge lengths of triangular, quadrangular and pentagonal pyramids correspondingly. Output one number -- the total volume of the pyramids. Absolute or relative error should not be greater than 10 xe2 x80 x89- xe2 x80 x899."... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
37443110 |
anson370 |
Q |
April 18, 2018, 4:24 p.m. |
OK |
GNU C |
TESTS |
10 |
15 |
3379200 |
|
2100 |
40310990 |
vjudge2 |
Q |
July 14, 2018, 8:01 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
40310943 |
vjudge3 |
Q |
July 14, 2018, 8 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
40309079 |
vjudge5 |
Q |
July 14, 2018, 7:13 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
32352076 |
vjudge5 |
Q |
Nov. 16, 2017, 10:10 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
32350536 |
vjudge2 |
Q |
Nov. 16, 2017, 8:43 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
32308301 |
vjudge5 |
Q |
Nov. 14, 2017, 10:12 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
30306108 |
cz_xuyixuan |
Q |
Sept. 13, 2017, 12:01 p.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
40312010 |
vjudge1 |
Q |
July 14, 2018, 8:28 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
29614709 |
ojtrans3 |
Q |
Aug. 20, 2017, 7:05 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
40904369 |
yizhibaiwuya |
Q |
July 29, 2018, 4:06 a.m. |
OK |
GNU C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
52300586 |
...UnknowN... |
Q |
April 4, 2019, 8:53 a.m. |
OK |
GNU C11 |
TESTS |
10 |
15 |
0 |
|
2100 |
67764954 |
spsmoj3 |
Q |
Dec. 28, 2019, 2:54 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
67729632 |
spsmoj2 |
Q |
Dec. 27, 2019, 3:42 p.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
67729496 |
ojtrans2 |
Q |
Dec. 27, 2019, 3:41 p.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
67726661 |
spsmoj3 |
Q |
Dec. 27, 2019, 3:33 p.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
65535486 |
spsmoj2 |
Q |
Nov. 22, 2019, 2 p.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
57124376 |
vjudge3 |
Q |
July 16, 2019, 3:20 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
56376242 |
vjudge2 |
Q |
July 1, 2019, 6:40 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
56368429 |
vjudge1 |
Q |
July 1, 2019, 1:38 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
52337037 |
spsmoj3 |
Q |
April 5, 2019, 8:32 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
67783466 |
ojtrans1 |
Q |
Dec. 28, 2019, 11:50 a.m. |
OK |
GNU C++11 |
TESTS |
10 |
15 |
0 |
|
2100 |
36107480 |
MhD.s |
Q |
March 9, 2018, 9:50 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
0 |
1945600 |
|
2100 |
68365739 |
bhaag_milkha |
Q |
Jan. 7, 2020, 3:53 p.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
67783140 |
924735361 |
Q |
Dec. 28, 2019, 11:43 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
67726580 |
924735361 |
Q |
Dec. 27, 2019, 3:33 p.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
56377853 |
vjudge1 |
Q |
July 1, 2019, 7:16 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
56370034 |
vjudge5 |
Q |
July 1, 2019, 2:56 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
55533142 |
Goat_18 |
Q |
June 13, 2019, 2:45 p.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
55517664 |
souhhcong |
Q |
June 13, 2019, 6:29 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
69984998 |
Boaba |
Q |
Feb. 1, 2020, 5:33 p.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
55517094 |
tuwuna |
Q |
June 13, 2019, 6:07 a.m. |
OK |
GNU C++14 |
TESTS |
10 |
15 |
0 |
|
2100 |
56368457 |
vjudge2 |
Q |
July 1, 2019, 1:39 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
69832373 |
ruo |
Q |
Jan. 30, 2020, 10:54 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
69665859 |
xiaobuxie |
Q |
Jan. 28, 2020, 11:18 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
68624352 |
saketh |
Q |
Jan. 11, 2020, 8:41 p.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
66535878 |
Xcelyst |
Q |
Dec. 9, 2019, 9:35 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
57123110 |
vjudge2 |
Q |
July 16, 2019, 2:34 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
56377211 |
vjudge5 |
Q |
July 1, 2019, 7:03 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
56370562 |
vjudge2 |
Q |
July 1, 2019, 3:19 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
56370161 |
vjudge4 |
Q |
July 1, 2019, 3:01 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
55517619 |
chongryong |
Q |
June 13, 2019, 6:27 a.m. |
OK |
GNU C++17 |
TESTS |
10 |
15 |
0 |
|
2100 |
53435536 |
Quan2202 |
Q |
April 27, 2019, 6:55 p.m. |
OK |
Java 8 |
TESTS |
10 |
77 |
3276800 |
|
2100 |
68624528 |
AnandOza |
Q |
Jan. 11, 2020, 8:48 p.m. |
OK |
Java 8 |
TESTS |
10 |
93 |
3276800 |
|
2100 |
59499131 |
darren_yao |
Q |
Aug. 26, 2019, 1:27 a.m. |
OK |
Java 8 |
TESTS |
10 |
109 |
3686400 |
|
2100 |
56723708 |
Tkachova |
Q |
July 8, 2019, 6:16 p.m. |
OK |
Java 8 |
TESTS |
10 |
109 |
3686400 |
|
2100 |
27387755 |
RP_9 |
Q |
May 27, 2017, 12:33 p.m. |
OK |
Java 8 |
TESTS |
10 |
109 |
3686400 |
|
2100 |
28273122 |
Askar_168 |
Q |
July 4, 2017, 7:03 a.m. |
OK |
Java 8 |
TESTS |
10 |
124 |
26112000 |
|
2100 |
43569059 |
guptautkarsh028 Abhishek_8 goyalanubhav11 |
Q |
Sept. 29, 2018, 12:12 p.m. |
OK |
Java 8 |
TESTS |
10 |
139 |
3174400 |
|
2100 |
40933292 |
css123456 |
Q |
July 30, 2018, 2:29 a.m. |
OK |
Java 8 |
TESTS |
10 |
139 |
3584000 |
|
2100 |
32307337 |
vjudge1 |
Q |
Nov. 14, 2017, 9:04 a.m. |
OK |
Java 8 |
TESTS |
10 |
140 |
0 |
|
2100 |
34999866 |
formalist |
Q |
Feb. 7, 2018, 1:32 p.m. |
OK |
Java 8 |
TESTS |
10 |
140 |
20582400 |
|
2100 |
69942240 |
vjudge4 |
Q |
Feb. 1, 2020, 6:31 a.m. |
OK |
MS C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
55512860 |
vjudge3 |
Q |
June 13, 2019, 1:56 a.m. |
OK |
MS C++ |
TESTS |
10 |
15 |
0 |
|
2100 |
28770336 |
vjudge3 |
Q |
July 22, 2017, 5:38 a.m. |
OK |
MS C++ |
TESTS |
10 |
15 |
1945600 |
|
2100 |
57097246 |
vjudge5 |
Q |
July 15, 2019, 12:38 p.m. |
OK |
MS C++ |
TESTS |
10 |
30 |
0 |
|
2100 |
40985038 |
ReaLNero1 |
Q |
July 30, 2018, 7:43 p.m. |
OK |
MS C++ |
TESTS |
10 |
31 |
0 |
|
2100 |
44439881 |
vjudge2 |
Q |
Oct. 17, 2018, 11:41 a.m. |
OK |
MS C++ |
TESTS |
10 |
31 |
204800 |
|
2100 |
56699261 |
Tkachova |
Q |
July 8, 2019, 8:25 a.m. |
OK |
MS C++ 2017 |
TESTS |
10 |
15 |
0 |
|
2100 |
61226514 |
jalalium |
Q |
Sept. 24, 2019, 3:22 p.m. |
OK |
MS C++ 2017 |
TESTS |
10 |
31 |
0 |
|
2100 |
52011423 |
aleonov |
Q |
March 30, 2019, 8:45 a.m. |
OK |
MS C++ 2017 |
TESTS |
10 |
31 |
0 |
|
2100 |
54779075 |
pajenegod |
Q |
May 28, 2019, 7:59 p.m. |
OK |
PyPy 2 |
TESTS |
10 |
124 |
0 |
|
2100 |
58550605 |
Slsvcn |
Q |
Aug. 10, 2019, 7:34 p.m. |
OK |
PyPy 3 |
TESTS |
10 |
124 |
0 |
|
2100 |
68625263 |
dinosaurs |
Q |
Jan. 11, 2020, 9:18 p.m. |
OK |
PyPy 3 |
TESTS |
10 |
140 |
0 |
|
2100 |
27665810 |
kevinsogo |
Q |
June 8, 2017, 7:45 a.m. |
OK |
Python 2 |
TESTS |
10 |
46 |
0 |
|
2100 |
28773005 |
vjudge2 |
Q |
July 22, 2017, 8:02 a.m. |
OK |
Python 2 |
TESTS |
10 |
46 |
4710400 |
|
2100 |
68623612 |
jschneider2013 |
Q |
Jan. 11, 2020, 8:13 p.m. |
OK |
Python 2 |
TESTS |
10 |
186 |
0 |
|
2100 |
30950801 |
vjudge5 |
Q |
Oct. 2, 2017, 6:23 p.m. |
OK |
Python 3 |
TESTS |
10 |
46 |
0 |
|
2100 |
29507820 |
s0mth1ng |
Q |
Aug. 16, 2017, 2:32 p.m. |
OK |
Python 3 |
TESTS |
10 |
46 |
0 |
|
2100 |
22673414 |
Nekrolm |
Q |
Dec. 3, 2016, 9:47 a.m. |
OK |
Python 3 |
TESTS |
10 |
46 |
0 |
|
2100 |
35672684 |
jiangshibiao |
Q |
Feb. 25, 2018, 8:32 a.m. |
OK |
Python 3 |
TESTS |
10 |
62 |
5632000 |
|
2100 |
38585518 |
bhalder2 |
Q |
May 24, 2018, noon |
OK |
Python 3 |
TESTS |
10 |
78 |
0 |
|
2100 |
38547720 |
NathanV09 |
Q |
May 22, 2018, 10:50 p.m. |
OK |
Python 3 |
TESTS |
10 |
92 |
0 |
|
2100 |
53803254 |
propashii |
Q |
May 5, 2019, 8:47 p.m. |
OK |
Python 3 |
TESTS |
10 |
108 |
0 |
|
2100 |
68626174 |
heaplover |
Q |
Jan. 11, 2020, 10:05 p.m. |
OK |
Python 3 |
TESTS |
10 |
108 |
307200 |
|
2100 |
55512765 |
vjudge5 |
Q |
June 13, 2019, 1:49 a.m. |
OK |
Python 3 |
TESTS |
10 |
109 |
0 |
|
2100 |
53094127 |
datbavip.acm |
Q |
April 21, 2019, 12:39 p.m. |
OK |
Python 3 |
TESTS |
10 |
109 |
0 |
|
2100 |
35886200 |
______M______ |
Q |
March 3, 2018, 1:42 p.m. |
OK |
Ruby |
TESTS |
10 |
61 |
6451200 |
|
2100 |
remove filters
Back to search problems