Pagini recente » Cod sursa (job #2939733) | Borderou de evaluare (job #1978225) | Borderou de evaluare (job #1290436) | Borderou de evaluare (job #1170617) | Borderou de evaluare (job #2179804)
Borderou de evaluare (job #2179804)
Raport evaluator
Compilare:
user.cpp: In function ‘char func(int, int, int, int, int, int)’:
user.cpp:18:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d) fr[func(a, b, d - 1, c, e + 2, f - 1)] = 1;
^
user.cpp:19:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c) fr[func(a, b, d, c - 1, e + 2, f - 1)] = 1;
^
user.cpp:20:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(b) fr[func(a, b - 1, d, c + 1, e + 1, f - 1)] = 1;
^
user.cpp:21:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a) fr[func(a - 1, b + 1, d, c, e + 1, f - 1)] = 1;
^
user.cpp:24:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(b) fr[func(a, b - 1, d, c + 2, e - 1, f)] = 1;
^
user.cpp:25:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a) fr[func(a - 1, b + 1, d, c + 1, e - 1, f)] = 1;
^
user.cpp:28:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d) fr[func(a - 1, b + 2, d - 1, c, e, f)] = 1;
^
user.cpp:29:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c) fr[func(a - 1, b + 2, d, c - 1, e, f)] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:44:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &t);
^
user.cpp:47:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d", &x), v[x]++;
^
user.cpp: In function ‘char func(int, int, int, int, int, int)’:
user.cpp:8:31: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int fr[4] = {0, 0, 0, 0}, ans;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4904kb | OK | 5 |
| 2 | 4ms | 5068kb | OK | 5 |
| 3 | 4ms | 7012kb | OK | 5 |
| 4 | 4ms | 6916kb | OK | 5 |
| 5 | 4ms | 9300kb | OK | 5 |
| 6 | 8ms | 9200kb | OK | 5 |
| 7 | 8ms | 11132kb | OK | 5 |
| 8 | 8ms | 11488kb | OK | 5 |
| 9 | 8ms | 11248kb | OK | 5 |
| 10 | 8ms | 11300kb | OK | 5 |
| 11 | 8ms | 11420kb | OK | 5 |
| 12 | 8ms | 11336kb | OK | 5 |
| 13 | 12ms | 13476kb | OK | 5 |
| 14 | 12ms | 13392kb | OK | 5 |
| 15 | 12ms | 13524kb | OK | 5 |
| 16 | 12ms | 13780kb | OK | 5 |
| 17 | 16ms | 15804kb | OK | 5 |
| 18 | 16ms | 15744kb | OK | 5 |
| 19 | 16ms | 15792kb | OK | 5 |
| 20 | 4ms | 2684kb | OK | 5 |
| Punctaj total | 100 |