Pagini recente » Borderou de evaluare (job #805370) | Borderou de evaluare (job #1743028) | Borderou de evaluare (job #946711) | Borderou de evaluare (job #1007045) | Borderou de evaluare (job #1830399)
Borderou de evaluare (job #1830399)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:30:1: warning: passing argument 1 of ‘toupper’ makes integer from pointer without a cast [enabled by default]
toupper(letters); toupper(expression);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/ctype.h:223:1: note: expected ‘int’ but argument is of type ‘char *’
__NTH (toupper (int __c))
^
user.c:30:1: warning: passing argument 1 of ‘toupper’ makes integer from pointer without a cast [enabled by default]
toupper(letters); toupper(expression);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/ctype.h:223:1: note: expected ‘int’ but argument is of type ‘char *’
__NTH (toupper (int __c))
^
user.c:44:22: warning: operation on ‘j’ may be undefined [-Wsequence-point]
boolVar[letters[j++] - 'A'] = 1 - boolVar[letters[j] - 'A'];
^
user.c:14:16: warning: unused variable ‘k’ [-Wunused-variable]
int i=-1, j=0, k=0, nChanges;
^
user.c:27:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &nChanges);
^
user.c:28:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%s", letters);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 64ms | 264kb | Incorect | 0 |
6 | 48ms | 260kb | Incorect | 0 |
7 | 48ms | 260kb | Incorect | 0 |
8 | 36ms | 260kb | Incorect | 0 |
9 | 44ms | 264kb | Incorect | 0 |
10 | 52ms | 260kb | OK | 10 |
Punctaj total | 10 |