Borderou de evaluare (job #2375458)

Utilizator MichaelXcXCiuciulete Mihai MichaelXcX Data 8 martie 2019 09:39:50
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 14

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = M; i; --i) a[i] = a[i - 1]; a[0] = ' '; ^~~ main.cpp:42:41: 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:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(; (b[N] >= 'A' && b[N] <= 'Z') || ^~~ main.cpp:42:41: 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:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = N; i; --i) b[i] = b[i - 1]; b[0] = ' '; ^~~ main.cpp:43:41: 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:30:39: 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:31:41: 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:33:31: 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:34:31: 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
32ms131kbIncorect00
42ms131kbIncorect00
52ms131kbIncorect00
62ms131kbIncorect00
72ms131kbIncorect00
82ms131kbIncorect00
92ms131kbIncorect00
102ms131kbOK22
112ms131kbIncorect00
122ms131kbOK22
132ms131kbIncorect00
142ms131kbIncorect00
152ms131kbOK22
162ms131kbIncorect00
172ms131kbIncorect00
182ms131kbOK22
192ms131kbOK22
202ms131kbIncorect00
2117ms1310kbIncorect00
2228ms2097kbIncorect0
2322ms1835kbIncorect0
2418ms1441kbIncorect0
2516ms1310kbIncorect0
2626ms1966kbIncorect0
2723ms1835kbIncorect0
2819ms1441kbIncorect0
2925ms1572kbIncorect0
3028ms2097kbIncorect0
3127ms2097kbIncorect00
3225ms1966kbIncorect0
3320ms1572kbIncorect0
3424ms1966kbIncorect0
3525ms1966kbIncorect0
3616ms1310kbIncorect0
3725ms1966kbIncorect0
3820ms1572kbIncorect0
3918ms1441kbIncorect0
4019ms1572kbIncorect0
4122ms1703kbIncorect00
4219ms1441kbIncorect0
4323ms1835kbIncorect0
4423ms1835kbIncorect0
4519ms1572kbIncorect0
4619ms1310kbIncorect0
4722ms1703kbIncorect0
4825ms2097kbIncorect0
4953ms7077kbIncorect0
5028ms2097kbIncorect0
Punctaj total14

Ceva nu functioneaza?