Mã chấm: 461975
Main.cc: In function ‘int main()’: Main.cc:15:36: error: ‘sprt’ was not declared in this scope; did you mean ‘sqrt’? 15 | if(pow(sprt(sprt(sprt(sprt(sprt(n))))),n)==n) | ^~~~ | sqrt Main.cc:15:31: error: ‘sprt’ was not declared in this scope; did you mean ‘sqrt’? 15 | if(pow(sprt(sprt(sprt(sprt(sprt(n))))),n)==n) | ^~~~ | sqrt Main.cc:15:26: error: ‘sprt’ was not declared in this scope; did you mean ‘sqrt’? 15 | if(pow(sprt(sprt(sprt(sprt(sprt(n))))),n)==n) | ^~~~ | sqrt Main.cc:15:21: error: ‘sprt’ was not declared in this scope; did you mean ‘sqrt’? 15 | if(pow(sprt(sprt(sprt(sprt(sprt(n))))),n)==n) | ^~~~ | sqrt Main.cc:15:16: error: ‘sprt’ was not declared in this scope; did you mean ‘sqrt’? 15 | if(pow(sprt(sprt(sprt(sprt(sprt(n))))),n)==n) | ^~~~ | sqrt Main.cc:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d",&n); | ~~~~~^~~~~~~~~ Main.cc:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d/n",&a[i]); | ~~~~~^~~~~~~~~~~~~~