Borderou de evaluare (job #2774896)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 13 septembrie 2021 13:45:15
Problema Free Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'D': main.c:63:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(;!c[k];--k); ^~~ main.c:64:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(j=1;j<=k;++j) ^~~ main.c: In function 'main': main.c:82:73: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[204]' [-Wformat=] freopen("free.in","r",stdin),freopen("free.out","w",stdout),scanf("%s",&s),n=strlen(s); ^ main.c:82:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("free.in","r",stdin),freopen("free.out","w",stdout),scanf("%s",&s),n=strlen(s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:82:34: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("free.in","r",stdin),freopen("free.out","w",stdout),scanf("%s",&s),n=strlen(s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:82:65: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] freopen("free.in","r",stdin),freopen("free.out","w",stdout),scanf("%s",&s),n=strlen(s); ^~~~~~~~~~~~~~ main.c: In function 'E': main.c:73:10: warning: 'b[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!b[1]) ~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
43ms131kbOK10
54ms131kbOK10
62ms131kbOK10
77ms131kbOK10
89ms131kbOK10
912ms131kbOK10
1015ms131kbOK10
Punctaj total100

Ceva nu functioneaza?