J.cpp:11:8: error: expected unqualified-id before numeric constant
J.cpp: In function 'void input()':
J.cpp:26:19: error: lvalue required as left operand of assignment
J.cpp:27:9: warning: unused variable 'j' [-Wunused-variable]
J.cpp:28:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
J.cpp:31:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
J.cpp:35:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]