Skip to content

Pyramid

UnratedLanguage limit
English

Language

Contribute a translation
Time limit
1000 ms
Memory limit
32 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Pyramid

Pyramid

Examples

Sample input 1
8 5 5 3 2 1
1 5 10 3 7 1 2 5
6 12 4 4 3 3 1 5
2 4 3 1 6 6 19 8
1 1 1 3 4 2 4 5
6 6 3 3 3 2 2 2
Sample output 1
4 1
6 2

Tags

No tags yet

Source

This problem accepts only these languages.

C++20