Pagini recente » Borderou de evaluare (job #2760800) | Borderou de evaluare (job #1714823) | Borderou de evaluare (job #3290066) | Borderou de evaluare (job #1633379) | Borderou de evaluare (job #1910517)
Borderou de evaluare (job #1910517)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:16:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[c[j]]==0){
^
user.c:19:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c[j]]++;
^
user.c:28:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[c[i]]>0){
^
user.c:33:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[c[i-suma]]==1)
^
user.c:35:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c[i-suma]]--;
^
user.c:44:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c[i]]++;
^
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&n,&k);
^
user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&ca);
^
user.c:15:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&c[j]);
^
user.c:27:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 4ms | 320kb | OK | 10 |
| 4 | 4ms | 320kb | OK | 10 |
| 5 | 4ms | 312kb | OK | 10 |
| 6 | 4ms | 288kb | OK | 10 |
| 7 | 4ms | 308kb | OK | 10 |
| 8 | 4ms | 300kb | OK | 10 |
| 9 | 8ms | 320kb | OK | 10 |
| 10 | 8ms | 316kb | OK | 10 |
| Punctaj total | 100 |