Mã chấm Tài khoản Bài tập Ngôn ngữ lập trình Trạng thái Thời gian Bộ nhớ Kích thước Thời gian nộp
268299 Hoàng Đức Hạnh Gắn kết số C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 1033 2023-11-18 20:03:59

Lỗi biên dịch:

Main.cc: In function ‘long long int ganketSoinhau(long long int, long long int)’:
Main.cc:12:5: error: ‘strcat’ was not declared in this scope
     strcat(strConcat, strA);
     ^~~~~~
Main.cc:12:5: note: suggested alternative: ‘struct’
     strcat(strConcat, strA);
     ^~~~~~
     struct
Main.cc: In function ‘int main()’:
Main.cc:37:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &T);
     ~~~~~^~~~~~~~~~
Main.cc:41:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d %d", &N, &L, &R);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Main.cc:45:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d", &a[i]);
             ~~~~~^~~~~~~~~~~~~