Pagini recente » Borderou de evaluare (job #264603) | Borderou de evaluare (job #716469) | Borderou de evaluare (job #1473129) | Borderou de evaluare (job #2364342) | Borderou de evaluare (job #2478425)
Borderou de evaluare (job #2478425)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:27: warning: array subscript has type 'char' [-Wchar-subscripts]
fl[0][i][j] = fl[0][i - 1][j];
^
main.cpp:46:45: warning: array subscript has type 'char' [-Wchar-subscripts]
fl[0][i][j] = fl[0][i - 1][j];
^
main.cpp:47:28: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[0][i][j] = flc[0][i - 1][j];
^
main.cpp:47:47: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[0][i][j] = flc[0][i - 1][j];
^
main.cpp:50:27: warning: array subscript has type 'char' [-Wchar-subscripts]
fl[1][i][j] = fl[1][i - 1][j];
^
main.cpp:50:45: warning: array subscript has type 'char' [-Wchar-subscripts]
fl[1][i][j] = fl[1][i - 1][j];
^
main.cpp:51:28: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[1][i][j] = flc[1][i - 1][j];
^
main.cpp:51:47: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[1][i][j] = flc[1][i - 1][j];
^
main.cpp:56:31: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[1][i][lit[s[i]]-'A']++;
^
main.cpp:60:31: warning: array subscript has type 'char' [-Wchar-subscripts]
flc[0][i][lit[s[i]]-'a']++;
^
main.cpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r != n)
~~^~~~
main.cpp:90:26: warning: array subscript has type 'char' [-Wchar-subscripts]
ch = lit[s[r]];
^
main.cpp:91:35: warning: array subscript has type 'char' [-Wchar-subscripts]
printf ("%c", lit[s[r]]);
^
main.cpp:24:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("caps.in", "r", stdin);
^
main.cpp:25:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("caps.out", "w", stdout);
^
main.cpp:31:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d ", &n, &q);
^
main.cpp:32:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 5 |
3 | 3ms | 262kb | Corect | 5 |
4 | 4ms | 262kb | Corect | 5 |
5 | 41ms | 1441kb | Corect | 5 |
6 | 51ms | 2097kb | Corect | 5 |
7 | 56ms | 2490kb | Corect | 5 |
8 | 62ms | 3014kb | Corect | 5 |
9 | 5ms | 1048kb | Corect | 5 |
10 | 6ms | 1441kb | Corect | 5 |
11 | 5ms | 917kb | Corect | 5 |
12 | 7ms | 1310kb | Corect | 5 |
13 | 72ms | 8912kb | Corect | 5 |
14 | 92ms | 15204kb | Corect | 5 |
15 | 127ms | 29753kb | Corect | 5 |
16 | 144ms | 36175kb | Corect | 5 |
17 | 166ms | 38404kb | Corect | 5 |
18 | 181ms | 40632kb | Corect | 5 |
19 | 185ms | 42860kb | Corect | 5 |
Punctaj total | 100 |