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'Consider the following grammar: This grammar describes a number in decimal system using the following rules: For example, 2(2-4+1)+2(2(17)) describes the integer 2341234117171717. You are given an expression in the given grammar. Print the integer described by it modulo 109 xe2 x80 x89+ xe2 x80 x897. The only line contains a non-empty string at most 105 characters long which is valid according to the given grammar. In particular, it means that in terms l-r l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r holds. Print single integer -- the number described by the expression modulo 109 xe2 x80 x89+ xe2 x80 x897. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
24072844 |
baxbaxa |
F |
Jan. 23, 2017, 2:21 p.m. |
OK |
GNU C++ |
TESTS |
41 |
124 |
1945600 |
|
3200 |
24684894 |
Dylans |
F |
Feb. 15, 2017, 3:15 a.m. |
OK |
GNU C++ |
TESTS |
41 |
452 |
13516800 |
|
3200 |
40982732 |
ReaLNero1 |
F |
July 30, 2018, 6:33 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
109 |
0 |
|
3200 |
24066260 |
skywalkert |
F |
Jan. 23, 2017, 8:14 a.m. |
OK |
GNU C++11 |
TESTS |
41 |
124 |
1945600 |
|
3200 |
24250364 |
NagiNikaido |
F |
Jan. 29, 2017, 3:01 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
139 |
3584000 |
|
3200 |
57877488 |
lopare |
F |
July 28, 2019, 6:11 a.m. |
OK |
GNU C++11 |
TESTS |
41 |
140 |
4403200 |
|
3200 |
57771302 |
py_ultron |
F |
July 26, 2019, 12:59 a.m. |
OK |
GNU C++11 |
TESTS |
41 |
155 |
4403200 |
|
3200 |
24065318 |
ainta |
F |
Jan. 23, 2017, 7:25 a.m. |
OK |
GNU C++11 |
TESTS |
41 |
202 |
9523200 |
|
3200 |
24153972 |
chitanda |
F |
Jan. 26, 2017, 5:19 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
295 |
2764800 |
|
3200 |
25961587 |
mayakin |
F |
March 30, 2017, 6:46 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
358 |
4915200 |
|
3200 |
41024409 |
zhouyuyang |
F |
July 31, 2018, 2:02 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
468 |
10649600 |
|
3200 |
24111131 |
data_h |
F |
Jan. 25, 2017, 12:32 p.m. |
OK |
GNU C++11 |
TESTS |
41 |
483 |
7680000 |
|
3200 |
24148132 |
Batman |
F |
Jan. 26, 2017, 12:37 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
156 |
1945600 |
|
3200 |
26347145 |
Ali.Pi |
F |
April 13, 2017, 8:37 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
156 |
4505600 |
|
3200 |
24642199 |
NiroBC |
F |
Feb. 14, 2017, 5:30 a.m. |
OK |
GNU C++14 |
TESTS |
41 |
249 |
10035200 |
|
3200 |
24154142 |
-XraY- |
F |
Jan. 26, 2017, 5:28 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
264 |
2048000 |
|
3200 |
25119481 |
Philipsweng |
F |
March 1, 2017, 9:25 a.m. |
OK |
GNU C++14 |
TESTS |
41 |
265 |
7475200 |
|
3200 |
63201861 |
Emiso |
F |
Oct. 22, 2019, 9 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
280 |
819200 |
|
3200 |
59828886 |
MarcosK |
F |
Aug. 31, 2019, 9:08 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
295 |
10854400 |
|
3200 |
59828610 |
MarcosK |
F |
Aug. 31, 2019, 8:57 p.m. |
OK |
GNU C++14 |
TESTS |
41 |
296 |
10854400 |
|
3200 |
47887544 |
tourist |
F |
Jan. 4, 2019, 2:03 a.m. |
OK |
GNU C++14 |
TESTS |
41 |
311 |
2867200 |
|
3200 |
47887541 |
tourist |
F |
Jan. 4, 2019, 2:03 a.m. |
OK |
GNU C++14 |
TESTS |
41 |
327 |
3276800 |
|
3200 |
69949824 |
gongsuidashen |
F |
Feb. 1, 2020, 8:37 a.m. |
OK |
GNU C++17 |
TESTS |
41 |
108 |
102400 |
|
3200 |
50811984 |
Shayan.P |
F |
March 5, 2019, 9:19 a.m. |
OK |
GNU C++17 |
TESTS |
41 |
280 |
2969600 |
|
3200 |
57301188 |
Benq |
F |
July 18, 2019, 11:45 p.m. |
OK |
GNU C++17 |
TESTS |
41 |
436 |
5836800 |
|
3200 |
24073942 |
mmaxio |
F |
Jan. 23, 2017, 3:17 p.m. |
OK |
Java 8 |
TESTS |
41 |
342 |
22016000 |
|
3200 |
24047305 |
eatmore |
F |
Jan. 22, 2017, 7:27 p.m. |
OK |
Java 8 |
TESTS |
41 |
373 |
20992000 |
|
3200 |
63268032 |
AryssonFigueiredo |
F |
Oct. 24, 2019, 1:54 a.m. |
OK |
Java 8 |
TESTS |
41 |
733 |
2560000 |
|
3200 |
24402815 |
uwi |
F |
Feb. 3, 2017, 6:03 a.m. |
OK |
Java 8 |
TESTS |
41 |
748 |
21094400 |
|
3200 |
24402845 |
uwi |
F |
Feb. 3, 2017, 6:05 a.m. |
OK |
Java 8 |
TESTS |
41 |
966 |
21094400 |
|
3200 |
remove filters
Back to search problems