Borderou de evaluare (job #2308883)

Utilizator 3cat3rinaEcaterina 3cat3rina Data 27 decembrie 2018 22:07:11
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:20: warning: left operand of comma operator has no effect [-Wunused-value] for (i=M,j=N;i,j;) ^ main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=lun;i;--i) ^~~ main.cpp:38:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:12:34: 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:13:36: 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:14:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&M,&N); ^ main.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ main.cpp:18: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
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
45ms917kbKilled by Signal 110
54ms1179kbKilled by Signal 110
69ms2228kbRaspuns corect!10
716ms4194kbKilled by Signal 110
815ms3801kbKilled by Signal 110
916ms4194kbRaspuns corect!10
1014ms3407kbRaspuns corect!10
Punctaj total40

Ceva nu functioneaza?