Borderou de evaluare (job #2308580)

Utilizator 3cat3rinaEcaterina 3cat3rina Data 27 decembrie 2018 13:36:59
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=1;i<=k;i++) ^~~ main.cpp:27:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:9:35: 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); ^ main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out","w",stdout); ^ main.cpp:11:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&M,&N); ^ main.cpp:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ main.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns corect!10
22ms131kbLungime incorecta!0
32ms131kbLungime incorecta!0
42ms131kbLungime incorecta!0
52ms131kbLungime incorecta!0
64ms131kbLungime incorecta!0
74ms131kbLungime incorecta!0
84ms131kbLungime incorecta!0
94ms131kbLungime incorecta!0
104ms131kbLungime incorecta!0
Punctaj total10

Ceva nu functioneaza?