Run id: 94578
Main.cc: In function 'int main()':
Main.cc:8:12: error: expected '(' before '%' token
if %n == 0
^
Main.cc:10:9: error: 'else' without a previous 'if'
else:
^
Main.cc:10:13: error: expected primary-expression before ':' token
else:
^
Main.cc:5:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Main.cc:7:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^