Pagini recente » Borderou de evaluare (job #1703302) | Borderou de evaluare (job #2923713) | Borderou de evaluare (job #36167) | Borderou de evaluare (job #2525766) | Borderou de evaluare (job #2375458)
Borderou de evaluare (job #2375458)
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 |
1 | 2ms | 131kb | OK | 2 | 2 |
2 | 2ms | 131kb | OK | 2 | 2 |
3 | 2ms | 131kb | Incorect | 0 | 0 |
4 | 2ms | 131kb | Incorect | 0 | 0 |
5 | 2ms | 131kb | Incorect | 0 | 0 |
6 | 2ms | 131kb | Incorect | 0 | 0 |
7 | 2ms | 131kb | Incorect | 0 | 0 |
8 | 2ms | 131kb | Incorect | 0 | 0 |
9 | 2ms | 131kb | Incorect | 0 | 0 |
10 | 2ms | 131kb | OK | 2 | 2 |
11 | 2ms | 131kb | Incorect | 0 | 0 |
12 | 2ms | 131kb | OK | 2 | 2 |
13 | 2ms | 131kb | Incorect | 0 | 0 |
14 | 2ms | 131kb | Incorect | 0 | 0 |
15 | 2ms | 131kb | OK | 2 | 2 |
16 | 2ms | 131kb | Incorect | 0 | 0 |
17 | 2ms | 131kb | Incorect | 0 | 0 |
18 | 2ms | 131kb | OK | 2 | 2 |
19 | 2ms | 131kb | OK | 2 | 2 |
20 | 2ms | 131kb | Incorect | 0 | 0 |
21 | 17ms | 1310kb | Incorect | 0 | 0 |
22 | 28ms | 2097kb | Incorect | 0 |
23 | 22ms | 1835kb | Incorect | 0 |
24 | 18ms | 1441kb | Incorect | 0 |
25 | 16ms | 1310kb | Incorect | 0 |
26 | 26ms | 1966kb | Incorect | 0 |
27 | 23ms | 1835kb | Incorect | 0 |
28 | 19ms | 1441kb | Incorect | 0 |
29 | 25ms | 1572kb | Incorect | 0 |
30 | 28ms | 2097kb | Incorect | 0 |
31 | 27ms | 2097kb | Incorect | 0 | 0 |
32 | 25ms | 1966kb | Incorect | 0 |
33 | 20ms | 1572kb | Incorect | 0 |
34 | 24ms | 1966kb | Incorect | 0 |
35 | 25ms | 1966kb | Incorect | 0 |
36 | 16ms | 1310kb | Incorect | 0 |
37 | 25ms | 1966kb | Incorect | 0 |
38 | 20ms | 1572kb | Incorect | 0 |
39 | 18ms | 1441kb | Incorect | 0 |
40 | 19ms | 1572kb | Incorect | 0 |
41 | 22ms | 1703kb | Incorect | 0 | 0 |
42 | 19ms | 1441kb | Incorect | 0 |
43 | 23ms | 1835kb | Incorect | 0 |
44 | 23ms | 1835kb | Incorect | 0 |
45 | 19ms | 1572kb | Incorect | 0 |
46 | 19ms | 1310kb | Incorect | 0 |
47 | 22ms | 1703kb | Incorect | 0 |
48 | 25ms | 2097kb | Incorect | 0 |
49 | 53ms | 7077kb | Incorect | 0 |
50 | 28ms | 2097kb | Incorect | 0 |
Punctaj total | 14 |