School starts soon! Add problem solving to your schedule with our math, science, and/or contest classes!

Site Support Tech support and questions about AoPS classes and materials
Tech support and questions about AoPS classes and materials
3 M G
BBookmark  VNew Topic kLocked
Site Support Tech support and questions about AoPS classes and materials
Tech support and questions about AoPS classes and materials
3 M G
BBookmark  VNew Topic kLocked
G
Topic
First Poster
Last Poster
k a July Highlights and 2025 AoPS Online Class Information
jwelsh   0
Jul 1, 2025
We are halfway through summer, so be sure to carve out some time to keep your skills sharp and explore challenging topics at AoPS Online and our AoPS Academies (including the Virtual Campus)!

[list][*]Over 60 summer classes are starting at the Virtual Campus on July 7th - check out the math and language arts options for middle through high school levels.
[*]At AoPS Online, we have accelerated sections where you can complete a course in half the time by meeting twice/week instead of once/week, starting on July 8th:
[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC Problem Series[/list]
[*]Plus, AoPS Online has a special seminar July 14 - 17 that is outside the standard fare: Paradoxes and Infinity
[*]We are expanding our in-person AoPS Academy locations - are you looking for a strong community of problem solvers, exemplary instruction, and math and language arts options? Look to see if we have a location near you and enroll in summer camps or academic year classes today! New locations include campuses in California, Georgia, New York, Illinois, and Oregon and more coming soon![/list]

MOP (Math Olympiad Summer Program) just ended and the IMO (International Mathematical Olympiad) is right around the corner! This year’s IMO will be held in Australia, July 10th - 20th. Congratulations to all the MOP students for reaching this incredible level and best of luck to all selected to represent their countries at this year’s IMO! Did you know that, in the last 10 years, 59 USA International Math Olympiad team members have medaled and have taken over 360 AoPS Online courses. Take advantage of our Worldwide Online Olympiad Training (WOOT) courses
and train with the best! Please note that early bird pricing ends August 19th!
Are you tired of the heat and thinking about Fall? You can plan your Fall schedule now with classes at either AoPS Online, AoPS Academy Virtual Campus, or one of our AoPS Academies around the US.

Our full course list for upcoming classes is below:
All classes start 7:30pm ET/4:30pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Sunday, Oct 19 - Jan 25
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)
Sat & Sun, Sep 13 - Sep 14 (1:00 - 4:00 PM PT/4:00 - 7:00 PM ET)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

Intermediate Number Theory
Wednesday, Sep 24 - Dec 17

Precalculus
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Calculus
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT


Programming

Introduction to Programming with Python
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26
0 replies
jwelsh
Jul 1, 2025
0 replies
Post Times are Wrong
CurlyFalcon55   11
N 44 minutes ago by Demetri
Summary of the problem:
Every time a new post is posted, instead of the time it was posted at, it says "in 41 minutes" or "in an hour" or something like that. I was wondering, is that normal? I happens pretty regularly, though not all the time.

Page URL: Anywhere in the "Introduction to Number Theory" forum in AoPS

Steps to reproduce:
1.Go to the link above.
2.a.Click on any thread or b.just create a new thread.
3.If a., and if someone just posted, the bug might reproduce, and if you post, the problem might reproduce.
If b., then post something, and you might be lucky to see it reproduce.

Expected behavior:
Show the time it's been posted.

Frequency:
Pretty often.

Operating system:
macOS Sequoia 15.4.1

Browsers, including version:
Chrome, (I don't know what version)

Additional information:
This is hard to catch. It just sneaks up on you.

Does anyone else have the same problem? :help:
11 replies
CurlyFalcon55
Jun 1, 2025
Demetri
44 minutes ago
Bookmarked threads dissapearing
A7456321   3
N an hour ago by the_count_of_monte_cristo
Summary of the problem: I noticed that when I bookmark a thread, after a while it disappears.
Page URL: uhhh go to bookmarks
Steps to reproduce:
1. Bookmark a thread
2. Close out tab (a couple times)
3. Click on bookmarks
Expected behavior: One or more bookmarked tabs are gone
Frequency: 40% maybe
Operating system(s): MacOS
Browser(s), including version: Google Chrome, newest
Additional information: This has never been a problem when I had like 4 threads bookmarked but recently I bookmarked more (up to 10) and now they are disappearing one (or 2 or 3) at a time.

EDIT: sometimes after a bit some threads show up in bookmarked again but not often
3 replies
A7456321
4 hours ago
the_count_of_monte_cristo
an hour ago
Shaded Squares in k Rows Occupy k Columns
Viliciri   0
3 hours ago
A rectangular grid has $m$ rows and $n$ columns, with $1 < m \leq n$. At least $m$ squares of this grid are shaded such that for all $1 \leq k \leq m$, the collection of shaded squares in any $k$ rows of this grid together occupy at least $k$ columns. For example, the following grid is not a valid shading because the shaded cells in three rows -- the $1$st, $3$rd, and $4$th rows -- only occupy two columns, namely columns $2$ and $3$.
IMAGE
Prove that it is possible to choose $1$ shaded square from each of the $m$ rows in this grid such that no two chosen squares lie in the same column.
0 replies
Viliciri
3 hours ago
0 replies
Wiki lag fixed
asuth_asuth   35
N 3 hours ago by AlexHome
Hi friends. Just wanted to share that we've made some upgrades to the Wiki and the lag should be fixed. I know a few of you have posted about that the last few weeks so I'm happy to report it's better now! :) If you run into any other issues like that please let us know.
35 replies
asuth_asuth
Jul 23, 2025
AlexHome
3 hours ago
10 Problems
Sedro   60
N 4 hours ago by Sedro
Title says most of it. I've been meaning to post a problem set on HSM since at least a few months ago, but since I proposed the most recent problems I made to the 2025 SSMO, I had to wait for that happen. (Hence, most of these problems will probably be familiar if you participated in that contest, though numbers and wording may be changed.) The problems are very roughly arranged by difficulty. Enjoy!

Problem 1: An sequence of positive integers $u_1, u_2, \dots, u_8$ has the property for every positive integer $n\le 8$, its $n^\text{th}$ term is greater than the mean of the first $n-1$ terms, and the sum of its first $n$ terms is a multiple of $n$. Let $S$ be the number of such sequences satisfying $u_1+u_2+\cdots + u_8 = 144$. Compute the remainder when $S$ is divided by $1000$.

Problem 2 (solved by fruitmonster97): Rhombus $PQRS$ has side length $3$. Point $X$ lies on segment $PR$ such that line $QX$ is perpendicular to line $PS$. Given that $QX=2$, the area of $PQRS$ can be expressed as $\tfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Compute $m+n$.

Problem 3 (solved by Math-lover1): Positive integers $a$ and $b$ satisfy $a\mid b^2$, $b\mid a^3$, and $a^3b^2 \mid 2025^{36}$. If the number of possible ordered pairs $(a,b)$ is equal to $N$, compute the remainder when $N$ is divided by $1000$.

Problem 4 (solved by CubeAlgo15): Let $ABC$ be a triangle. Point $P$ lies on side $BC$, point $Q$ lies on side $AB$, and point $R$ lies on side $AC$ such that $PQ=BQ$, $CR=PR$, and $\angle APB<90^\circ$. Let $H$ be the foot of the altitude from $A$ to $BC$. Given that $BP=3$, $CP=5$, and $[AQPR] = \tfrac{3}{7} \cdot [ABC]$, the value of $BH\cdot CH$ can be expressed as $\tfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Compute $m+n$.

Problem 5 (solved by maromex): Anna has a three-term arithmetic sequence of integers. She divides each term of her sequence by a positive integer $n>1$ and tells Bob that the three resulting remainders are $20$, $52$, and $R$, in some order. For how many values of $R$ is it possible for Bob to uniquely determine $n$?

Problem 6 (solved by Mathsll-enjoy): There is a unique ordered triple of positive reals $(x,y,z)$ satisfying the system of equations \begin{align*} x^2 + 9 &= (y-\sqrt{192})^2 + 4 \\ y^2 + 4 &= (z-\sqrt{192})^2 + 49 \\ z^2 + 49 &= (x-\sqrt{192})^2 + 9. \end{align*}The value of $100x+10y+z$ can be expressed as $p\sqrt{q}$, where $p$ and $q$ are positive integers such that $q$ is square-free. Compute $p+q$.

Problem 7 (solved by sami1618): Let $S$ be the set of all monotonically increasing six-term sequences whose terms are all integers between $0$ and $6$ inclusive. We say a sequence $s=n_1, n_2, \dots, n_6$ in $S$ is symmetric if for every integer $1\le i \le 6$, the number of terms of $s$ that are at least $i$ is $n_{7-i}$. The probability that a randomly chosen element of $S$ is symmetric is $\tfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Compute $p+q$.

Problem 8: For a positive integer $n$, let $r(n)$ denote the value of the binary number obtained by reading the binary representation of $n$ from right to left. Find the smallest positive integer $k$ such that the equation $n+r(n)=2k$ has at least ten positive integer solutions $n$.

Problem 9 (solved by Math-lover1, sami1618): Let $p$ be a quadratic polynomial with a positive leading coefficient. There exists a positive real number $r$ such that $r < 1 < \tfrac{5}{2r} < 5$ and $p(p(x)) = x$ for $x \in \{ r,1,  \tfrac{5}{2r} , 5\}$. Compute $p(20)$.

Problem 10 (solved by aaravdodhia, sami1618): Find the number of ordered triples of positive integers $(a,b,c)$ such that $a+b+c=995$ and $ab+bc+ca$ is a multiple of $995$.
60 replies
Sedro
Jul 10, 2025
Sedro
4 hours ago
f^(f(n))(n)=n over [10], # of solutions (ARML 2021 I-8)
jasperE3   4
N 4 hours ago by torch
For a given function $f$, define $f^1(x)=f(x)$, and for $k\ge2$, define
$$f^k(x)=f(f^{k-1}(x)).$$For example, $f^3(x)=f(f(f(x)))$. Of the $10!$ functions $g$ whose domain and range are the set $S=\{1,2,3,\ldots,10\}$, compute the number of functions such that $g^{g(n)}(n)=n$ for all $n\in S$.
4 replies
jasperE3
Jun 7, 2021
torch
4 hours ago
Beautiful geo
justalonelyguy   5
N 4 hours ago by sami1618
Let \( \triangle ABC \) be an acute triangle with \( AB < AC \). The internal angle bisectors of angles \( \angle ABC \) and \( \angle ACB \) intersect at point \( I \). Let \( D \) be the feet of the perpendicular from \( I \) to \( BC \). Let points \( K \) and \( L \) lie on segments \( IB \) and \( IC \), respectively, such that \( \angle KDL = 90^\circ \). Prove that \[
    \angle KAL = \frac{1}{2} \angle BAC.
    \]
5 replies
justalonelyguy
Jul 28, 2025
sami1618
4 hours ago
Geometry Problem
Rice_Farmer   6
N 4 hours ago by Rice_Farmer
Let $w_1$ ad $w_2$ be two circles intersecting at $P$ and $Q.$ The tangent like closer to $Q$ touches $w_1$ and $w_2$ at $M$ and $N$ respectively. If $PQ=3,NQ=2,$ and $MN=PN,$ find $QM.$

hint
6 replies
Rice_Farmer
Today at 3:09 AM
Rice_Farmer
4 hours ago
Challenge: Make as many positive integers from 2 zeros
Biglion   48
N 5 hours ago by huajun78
How many positive integers can you make from at most 2 zeros, any math operation and cocatination?
New Rule: The successor function can only be used at most 3 times per number
Starting from 0, 0=0
48 replies
Biglion
Jul 2, 2025
huajun78
5 hours ago
If OAB and OAC share equal angles and sides, why aren't they congruent?
Merkane   1
N 6 hours ago by nudinhtien

Problem 1.39 (CGMO 2012/5). Let ABC be a triangle. The incircle of ABC is tangent
to AB and AC at D and E respectively. Let O denote the circumcenter of BCI .
Prove that ∠ODB = ∠OEC. Hints: 643 89 Sol: p.241

While I have solved the problem, I encountered a step that seems logically sound but leads to a contradiction, and I would like help identifying the flaw.

Here is the reasoning I followed:

The quadrilateral ABOC is cyclic.

OB = OC.

∠OAB = ∠OCB.
Similarly, ∠OAC = ∠OBC.

From symmetry and the above, it seems that ∠OAB = ∠OAC.

Since OA is a shared side, I concluded that triangle OAB ≅ triangle OAC.


But clearly, OAB and OAC are not congruent.
Where exactly is the logical error in this argument?
1 reply
Merkane
Today at 4:33 AM
nudinhtien
6 hours ago
Limit of a sequence defined by recurrence and exponential factor
JackMinhHieu   2
N Today at 3:02 PM by JackMinhHieu
Hi everyone,

I came across this interesting sequence defined recursively and wanted to explore its behavior.

Let the sequence (x_n) be defined by:
    x_1 = sqrt(2)
    x_{n+1} = sqrt(2*x_n / (1 + x_n)) for all n >= 1

Define another sequence:
    y_n = 4^n * (1 - 1 / x_n^2)

Question:
Does the sequence (y_n) converge? If so, what is its limit?

Any ideas, observations, or rigorous arguments would be very welcome. Thanks in advance!
2 replies
JackMinhHieu
Today at 9:31 AM
JackMinhHieu
Today at 3:02 PM
Crazy Dice
radioactiverascal90210   2
N Today at 2:59 PM by radioactiverascal90210
A pair of crazy dice are two cubes labeled with integers such that they are not labeled with the same numbers as an ordinary pair of dice , but the probability of rolling any number with the pair of crazy dice is the same as
rolling it with ordinary dice. Find a pair of crazy dice.
2 replies
radioactiverascal90210
Today at 8:16 AM
radioactiverascal90210
Today at 2:59 PM
S(n)=24,S(n^2)=9
whwlqkd   2
N Today at 2:54 PM by whwlqkd
Does there exist positive integer $n$ such that $S(n)=24$ and $S(n^2)=9$ where $S(n)$ is the digit sum of $n$?. I dont even know whether it is unsolved problem or not. And what about $S(n)=3k$,$S(n^2)=9$?
2 replies
whwlqkd
Today at 5:41 AM
whwlqkd
Today at 2:54 PM
PAGE NOT SCROLLING DOWN ALL THE WAY; GETS STUCK 1.5 POSTS BEFORE THREAD END
CurlyFalcon55   45
N Today at 12:13 AM by jlacosta
Summary of the problem:
Whenever I push the big, top right "Reply" button– NOT THE SMALL LITTLE "QUICK REPLY" BAR ON THE BOTTOM, and reply, I can't scroll down all the way to the bottom of the thread that I just posted in. Sometimes, very rarely though, I doesn't scroll down all the way when I push the "Quick Reply" bar.


-----Page URL:
Anywhere in the "Introduction to Number Theory" forum in AoPS


-----Steps to reproduce:

1. Go to the link above.

2. Click any thread or create a new one.

3. Click the "Reply" button, not the quick reply bar.

4. Type a reply.

5. Push the "Submit" button.

6. Try to scroll down. if you’re lucky, the problem will reproduce.

-----Expected behavior:
To scroll all the way down.


-----Frequency:
Almost every time I push the big "Reply" button, sometimes (but rarely) when I push the "Quick Reply" bar.


-----Operating system(s):
macOS Sequoia 15.4.1


-----Browser(s), including version:
Chrome, (I don't know what version)


-----Additional information:
-It rarely does it in the "Quick Reply" bar.
-It almost always does it in the big "Reply" button on the top right.


-----Can anyone reproduce?
45 replies
CurlyFalcon55
Jun 1, 2025
jlacosta
Today at 12:13 AM
Python exit() module decriptions appear as "undefined"
SoaringHigh   16
N May 7, 2025 by LostInBali
Summary of the problem: When using exit() (or quit()) in the Python windows on AoPS the "Description" and "To fix" options show up as "undefined"
sample program
Page URL: N/A
Steps to reproduce:
1. Use the AoPS Python module to execute the exit() or quit() functions in a program. (try running the sample program)
Expected behavior: The "Description" and "To fix" sections give a description of SystemExit
Frequency: Always
Operating system(s): Windows 11 Home
Browser(s), including version: Microsoft Edge 130.0.2849.46
Additional information: N/A
16 replies
SoaringHigh
Oct 22, 2024
LostInBali
May 7, 2025
Python exit() module decriptions appear as "undefined"
G H J
G H BBookmark kLocked kLocked NReply
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#1 • 3 Y
Y by Yrock, Exponent11, PikaPika999
Summary of the problem: When using exit() (or quit()) in the Python windows on AoPS the "Description" and "To fix" options show up as "undefined"
sample program
Page URL: N/A
Steps to reproduce:
1. Use the AoPS Python module to execute the exit() or quit() functions in a program. (try running the sample program)
Expected behavior: The "Description" and "To fix" sections give a description of SystemExit
Frequency: Always
Operating system(s): Windows 11 Home
Browser(s), including version: Microsoft Edge 130.0.2849.46
Additional information: N/A
Attachments:
This post has been edited 2 times. Last edited by SoaringHigh, Oct 22, 2024, 2:11 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Demetri
1646 posts
#2 • 1 Y
Y by PikaPika999
No the "Expected behavior:" is for what you think should happen instead of this error. Also why is this a bug of any kind???
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#3 • 1 Y
Y by PikaPika999
how did you get here?

also I would assume they were supposed to describe every error cause, SystemExit likely being one of them that should be included
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Demetri
1646 posts
#4
Y by
how did you get here?

also I would assume they were supposed to describe every error cause, SystemExit likely being one of them that should be included
You can have a system.exit error for anything. So how should you describe it in the description/To fix.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bpan2021
2726 posts
#5
Y by
There should not be a Description and To Fix in a system exit. Or the description should simply be about what the system exit does.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#6
Y by
There should not be a Description and To Fix in a system exit. Or the description should simply be about what the system exit does.

YES
EXACTLY
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bpan2021
2726 posts
#7
Y by
Another instance of "Description" and "To Fix" having nothing in them:
https://cdn.aops.com/images/c/7/c/c7ce05798fb071580058ac6e85169704b1f0630b.png
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#8
Y by
there's more?

well now we can infer that that might not have been intentional lol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Major_Monogram
581 posts
#9
Y by
  1. exit("Goodbye world")


Just reproduced.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Major_Monogram
581 posts
#10
Y by
did it again
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Craftybutterfly
592 posts
#11 • 1 Y
Y by engineer48
It runs perfectly on visual studio code
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bpan2021
2726 posts
#12
Y by
The problem is not with VS Code. It's with the AoPS Python widget.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#13
Y by
yep, javascript probably weird
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
LostInBali
1960 posts
#14
Y by
SoaringHigh wrote:
yep, javascript probably weird

More like AoPS python is weird.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SoaringHigh
285 posts
#15
Y by
yes, the python module is made in javascript
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Craftybutterfly
592 posts
#16
Y by
The AoPS python window is sometimes not that reliable but it is pretty reliable unless it comes to downloading large files.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
LostInBali
1960 posts
#17
Y by
SoaringHigh wrote:
yes, the python module is made in javascript

AoPS Python is made in JS, correct.
But, AoPS Python is a program made in JS, so it does not make much sense to move the remark upstream, in my personal opinion.
:shrug:
Z K Y
N Quick Reply
G
H
=
a