Problem addition
User waffles1823
Submission Time 2023-11-08 09:58:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int32_t main()’:
addition.cpp:7:12: error: too few arguments to function ‘int printf(const char*, ...)’
7 | printf();
| ^
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:46,
from addition.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:105:1: note: declared here
105 | printf (const char *__restrict __fmt, ...)
| ^~~~~~
addition.cpp:9:12: error: too few arguments to function ‘int printf(const char*, ...)’
9 | printf();
| ^
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:46,
from addition.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:105:1: note: declared here
1