/ Test /

Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is -6, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

>> visit
generated-14
friend
Followers: 13
Following: 8
>> trending
1 tag-15: 2102
2 tag-68: 2070
3 tag-1: 2002
4 tag-17: 1965
5 tag-31: 1959
6 tag-42: 1870
7 tag-48: 1857
8 tag-49: 1835
9 tag-4: 1805
10 tag-86: 1787
11 tag-16: 1761
12 tag-12: 1757
13 tag-30: 1728
14 tag-94: 1724
15 tag-70: 1723
16 tag-78: 1702
17 tag-3: 1631
18 tag-57: 1625
19 tag-18: 1622
20 tag-40: 1618
21 tag-83: 1546
22 tag-24: 1541
23 tag-59: 1539
24 tag-45: 1527
25 tag-52: 1520
26 tag-69: 1476
27 tag-58: 1462
>> uncomment
Error: generated-20 cannot uncomment comment #20 of post #5 posted by generated-3!
generated-20 is not the owner of comment #20.
>> trending
1 tag-15: 2102
2 tag-68: 2070
3 tag-1: 2002
4 tag-17: 1965
5 tag-31: 1959
6 tag-42: 1870
7 tag-48: 1857
8 tag-49: 1835
9 tag-4: 1805
10 tag-86: 1787
11 tag-16: 1761
12 tag-12: 1757
13 tag-30: 1728
14 tag-94: 1724
15 tag-70: 1723
16 tag-78: 1702
17 tag-3: 1631
18 tag-57: 1625
19 tag-18: 1622
20 tag-40: 1618
21 tag-83: 1546
22 tag-24: 1541
23 tag-59: 1539
24 tag-45: 1527
25 tag-52:

JOJ Answer

>> visit
generated-14
friend
Followers: 13
Following: 8
>> trending
1 tag-15: 2102
2 tag-68: 2070
3 tag-1: 2002
4 tag-17: 1965
5 tag-31: 1959
6 tag-42: 1870
7 tag-48: 1857
8 tag-49: 1835
9 tag-4: 1805
10 tag-86: 1787
11 tag-16: 1761
12 tag-12: 1757
13 tag-30: 1728
14 tag-94: 1724
15 tag-70: 1723
16 tag-78: 1702
17 tag-3: 1631
18 tag-57: 1625
19 tag-18: 1622
20 tag-40: 1618
21 tag-83: 1546
22 tag-24: 1541
23 tag-59: 1539
24 tag-45: 1527
25 tag-52: 1520
26 tag-69: 1476
27 tag-58: 1462
>> uncomment
Error: generated-20 cannot uncomment comment #20 of post #5 posted by generated-3!
generated-20 is not the owner of comment #20.
>> trending
1 tag-15: 2102
2 tag-68: 2070
3 tag-1: 2002
4 tag-17: 1965
5 tag-31: 1959
6 tag-42: 1870
7 tag-48: 1857
8 tag-49: 1835
9 tag-4: 1805
10 tag-86: 1787
11 tag-16: 1761
12 tag-12: 1757
13 tag-30: 1728
14 tag-94: 1724
15 tag-70: 1723
16 tag-78: 1702
17 tag-3: 1631
18 tag-57: 1625
19 tag-18: 1622
20 tag-40: 1618
21 tag-83: 1546
22 tag-24: 1541
23 tag-59: 1539
24 tag-45: 1527
25 tag-52: