Borderou de evaluare (job #2420830)
| Utilizator | Data | 13 mai 2019 13:51:03 | |
|---|---|---|---|
| Problema | Cel mai lung subsir comun | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void S(int, char)':
main.cpp:20:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:22:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
p[k++]=c;
^
main.cpp: In function 'int main()':
main.cpp:33:70: error: 'max' was not declared in this scope
s[l][j]=(x[l]==y[j]?1+s[l-1][j-1]:max(s[l][j-1],s[l-1][j]));
^
main.cpp:26:97: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin),freopen("cmlsc.out","w",stdout),fread(p,1,L,stdin),n=A(),m=A();
^
main.cpp:26:97: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:26:97: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
