Pagini recente » Borderou de evaluare (job #2357869) | Borderou de evaluare (job #2317421) | Borderou de evaluare (job #2565670) | Borderou de evaluare (job #1338711) | Borderou de evaluare (job #1672275)
Borderou de evaluare (job #1672275)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:25:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(s[z] != s[i])
^
user.cpp:10:22: warning: variable ‘pmij’ set but not used [-Wunused-but-set-variable]
int n,i,j,k,nr=0,pmij,z,ok=0,oks,okf,aux;
^
user.cpp:13:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,Nmax,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.in","r",stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.out","w",stdout);
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 100 |
Punctaj total | 100 |