Job 12832

Owner
Otilia Huszar
Problem
A+B
Source
0.11KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp:3:11: error: '::main' must return 'int'
 void main(){
           ^
prog.cpp: In function 'int main()':
prog.cpp:5:18: error: 'scanf_s' was not declared in this scope
  scanf_s("%d", &a);
                  ^

Questions?

Sponsors Gold