Borderou de evaluare (job #1493633)
Raport evaluator
Compilare:
user.c: In function ‘getnr’:
user.c:19:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(aux[s[p]]==0)
^
user.c:25:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(aux[s[p]]){
^
user.c: In function ‘main’:
user.c:42:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
user.c: In function ‘avans’:
user.c:12:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(s, 1, LIM, fin);
^
user.c: In function ‘main’:
user.c:59:12: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d\n", pos+1, pos+k, max);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 4ms | 928kb | OK | 10 |
| 4 | 4ms | 1020kb | OK | 10 |
| 5 | 4ms | 1264kb | OK | 10 |
| 6 | 8ms | 1464kb | OK | 10 |
| 7 | 12ms | 2244kb | OK | 10 |
| 8 | 16ms | 3224kb | OK | 10 |
| 9 | 24ms | 4208kb | OK | 10 |
| 10 | 32ms | 5176kb | OK | 10 |
| Punctaj total | 100 |