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 |
269778 |
Bùi Cao Nguyên |
Gắn kết số |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
741 |
2023-11-18 21:56:44 |
Lỗi biên dịch:
Main.cc: In function ‘int Ktra(Test)’:
Main.cc:16:4: error: ‘itoa’ was not declared in this scope
itoa(a.b[i],b,10);
^~~~
Main.cc:16:4: note: suggested alternative: ‘Ktra’
itoa(a.b[i],b,10);
^~~~
Ktra
Main.cc: In function ‘int main()’:
Main.cc:31:9: warning: unused variable ‘T’ [-Wunused-variable]
int T;
^
Main.cc:30:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
Main.cc:35:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a[i].N, &a[i].L, &a[i].R);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cc:37:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].b[j]);
~~~~~^~~~~~~~~~~~~~~~~~