Mã chấm: 267915


Main.cc: In function ‘int main()’:
Main.cc:17:23: error: expected primary-expression before ‘%’ token
     scanf("%d%d%d%d", %+&a. &b, &x, &y);
                       ^
Main.cc:17:29: error: expected unqualified-id before ‘&’ token
     scanf("%d%d%d%d", %+&a. &b, &x, &y);
                             ^
Main.cc: In function ‘void nhap(int&, int&, int&, int&)’:
Main.cc:7:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d%d", &a, &b, &x, &y);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~