I.cpp:10:24: error: '::main' must return 'int'
I.cpp: In function 'int main()':
I.cpp:14:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long unsigned int*' [-Wformat]
I.cpp:17:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long unsigned int*' [-Wformat]
I.cpp:20:55: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
I.cpp:14:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
I.cpp:17:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]