Problem | gcd |
---|---|
User | LOL7651 |
Submission Time | 2024-04-09 23:19:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int32_t main()’:
gcd.cpp:20:8: error: too few arguments to function ‘void exit(int)’
20 | exit();
| ^
In file included from /usr/include/c++/9/bits/std_abs.h:38,
from /usr/include/c++/9/cmath:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from gcd.cpp:1:
/usr/include/stdlib.h:617:13: note: declared here
617 | extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
| ^~~~
gcd.cpp:25:8: error: too few arguments to function ‘void exit(int)’
25 | exit();
| ^
In file included from /usr/include/c++/9/bits/std_abs.h:38,
from /usr/include/c++/9/cmath:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from gcd.cpp:1:
/usr/include/stdlib.h:617:13: note: declared here
617 | extern void exit (int __status) __THROW __att