Pagini recente » Borderou de evaluare (job #1887039) | Borderou de evaluare (job #2725667) | Borderou de evaluare (job #96834) | Borderou de evaluare (job #1388226) | Borderou de evaluare (job #2478424)
Borderou de evaluare (job #2478424)
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 | Partial corect | 2 |
3 | 3ms | 262kb | Partial corect | 2 |
4 | 4ms | 262kb | Partial corect | 2 |
5 | 43ms | 1310kb | Partial corect | 2 |
6 | 47ms | 1966kb | Partial corect | 2 |
7 | 53ms | 2490kb | Partial corect | 2 |
8 | 62ms | 2883kb | Partial corect | 2 |
9 | 5ms | 1048kb | Partial corect | 2 |
10 | 6ms | 1441kb | Partial corect | 2 |
11 | 5ms | 917kb | Partial corect | 2 |
12 | 7ms | 1310kb | Partial corect | 2 |
13 | 70ms | 8781kb | Partial corect | 2 |
14 | 90ms | 15073kb | Partial corect | 2 |
15 | 125ms | 29622kb | Partial corect | 2 |
16 | 150ms | 36044kb | Partial corect | 2 |
17 | 148ms | 38141kb | Partial corect | 2 |
18 | 167ms | 40370kb | Partial corect | 2 |
19 | 174ms | 42467kb | Partial corect | 2 |
Punctaj total | 46 |