Borderou de evaluare (job #2649506)

Utilizator AlexandraMatasaAlexandra Matasa AlexandraMatasa Data 14 septembrie 2020 23:08:01
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
53ms131kbOK22
62ms131kbOK22
72ms131kbOK22
82ms131kbOK22
92ms131kbOK22
102ms131kbOK22
112ms131kbOK22
122ms131kbOK22
132ms131kbOK22
142ms131kbOK22
152ms131kbOK22
162ms131kbOK22
172ms131kbOK22
183ms131kbOK22
193ms131kbOK22
202ms131kbOK22
2116ms1310kbOK220
2228ms2097kbOK2
2322ms1835kbOK2
2417ms1441kbOK2
2515ms1310kbOK2
2624ms2097kbOK2
2722ms1835kbOK2
2818ms1441kbOK2
2920ms1572kbOK2
3027ms2097kbOK2
3126ms2097kbOK220
3224ms1966kbOK2
3319ms1572kbOK2
3423ms1966kbOK2
3524ms1966kbOK2
3615ms1310kbOK2
3730ms2064kbOK2
3824ms1683kbOK2
3918ms1441kbOK2
4018ms1572kbOK2
4121ms1835kbOK220
4217ms1441kbOK2
4322ms1835kbOK2
4422ms1835kbOK2
4518ms1572kbOK2
4618ms1310kbOK2
4721ms1703kbOK2
4824ms2097kbOK2
4947ms7077kbOK2
5025ms2097kbOK2
Punctaj total100

Ceva nu functioneaza?