Pagini recente » Borderou de evaluare (job #1451485) | Borderou de evaluare (job #2094477) | Borderou de evaluare (job #2329915) | Borderou de evaluare (job #1775041) | Borderou de evaluare (job #1650864)
Borderou de evaluare (job #1650864)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:20:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[23]’ [-Wformat=]
fscanf(in, "%s", &cuvinte[nrcuv]);
^
user.c:39:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(finish[litere[i][0]] + 1 > finish[litere[i][1]]) {
^
user.c:39:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:40:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
finish[litere[i][1]] = finish[litere[i][0]] + 1;
^
user.c:40:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:42:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(finish[litere[i][1]] > max) {
^
user.c:43:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
max = finish[litere[i][1]];
^
user.c:14:9: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
int poz, nrcuv, i, x, max;
^
user.c:20:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%s", &cuvinte[nrcuv]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | Partial incorect | 1 |
2 | 0ms | 300kb | Partial incorect | 1 |
3 | 0ms | 276kb | Partial incorect | 1 |
4 | 0ms | 268kb | Partial incorect | 1 |
5 | 0ms | 512kb | Partial incorect | 1 |
6 | 4ms | 640kb | Partial incorect | 1 |
7 | 0ms | 272kb | Partial incorect - reconstituire proasta | 4 |
8 | 4ms | 756kb | Raspuns gresit | 0 |
9 | 0ms | 300kb | Partial incorect | 1 |
10 | 0ms | 296kb | Partial incorect | 1 |
Punctaj total | 12 |