Borderou de evaluare (job #2481987)

Utilizator hunting_dogIrimia Alex hunting_dog Data 27 octombrie 2019 17:36:53
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = M; i; --i) A[i] = A[i-1]; A[0] = ' '; ^~~ main.cpp:37:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (i = M; i; --i) A[i] = A[i-1]; A[0] = ' '; ^ main.cpp:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = N; i; --i) B[i] = B[i-1]; B[0] = ' '; ^~~ main.cpp:38:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (i = N; i; --i) B[i] = B[i-1]; B[0] = ' '; ^ main.cpp:28:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.in", "r", stdin); ^ main.cpp:29:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.out", "w", stdout); ^ main.cpp:31:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(A, sizeof(A), stdin); ^ main.cpp:32:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(B, sizeof(B), stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK22
22ms131kbOK22
32ms131kbOK22
42ms131kbOK22
52ms131kbOK22
62ms131kbOK22
72ms131kbOK22
83ms131kbOK22
92ms131kbOK22
103ms131kbOK22
112ms131kbOK22
123ms131kbOK22
133ms131kbOK22
143ms131kbOK22
153ms131kbOK22
163ms131kbOK22
172ms131kbOK22
183ms131kbOK22
193ms131kbOK22
202ms131kbOK22
2116ms1310kbOK220
2233ms2105kbOK2
2333ms1781kbOK2
2414ms1441kbOK2
2516ms1310kbOK2
2637ms2023kbOK2
2733ms1785kbOK2
2827ms1544kbOK2
2933ms1654kbOK2
3022ms2097kbOK2
3139ms2084kbOK220
3235ms1904kbOK2
3329ms1662kbOK2
3436ms1974kbOK2
3525ms1966kbOK2
3624ms1318kbOK2
3731ms1966kbOK2
3816ms1572kbOK2
3918ms1441kbOK2
4028ms1568kbOK2
4117ms1835kbOK220
4222ms1474kbOK2
4323ms1835kbOK2
4427ms1908kbOK2
4516ms1572kbOK2
4614ms1310kbOK2
4722ms1703kbOK2
4823ms2097kbOK2
4947ms7077kbOK2
5025ms2097kbOK2
Punctaj total100

Ceva nu functioneaza?