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
270207 Lê Trung Kiên Luỹ thừa bậc 5 C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 516 2023-11-19 22:50:13

Lỗi biên dịch:

Main.cc: In function ‘bool ktlt(long long int)’:
Main.cc:10:8: error: ‘t’ was not declared in this scope
     if(t==0){
        ^
Main.cc: In function ‘int main()’:
Main.cc:23:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&l);
     ~~~~~^~~~~~~~~
Main.cc:25:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lld",&n);
         ~~~~~^~~~~~~~~~~