Pagini recente » Borderou de evaluare (job #3002212) | Borderou de evaluare (job #2878892) | Borderou de evaluare (job #2242959) | Borderou de evaluare (job #318206) | Borderou de evaluare (job #1386690)
Borderou de evaluare (job #1386690)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:20:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.c:24:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[v[st]]==0){
^
user.c:31:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while((dr+1<n)&&(c[v[dr+1]]==1)){
^
user.c:38:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c[v[i-1]]==0){
^
user.c:41:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while((dr+1<n)&&(c[v[dr+1]]==1)){
^
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
user.c:20:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 244kb | Incorect | 0 | 0 |
| 2 | 0ms | 248kb | Incorect | 0 | 0 |
| 3 | 0ms | 240kb | Incorect | 0 | 0 |
| 4 | 0ms | 252kb | Incorect | 0 | 0 |
| 5 | 8ms | 296kb | Incorect | 0 | 0 |
| 6 | 16ms | 316kb | Incorect | 0 |
| 7 | 16ms | 320kb | Incorect | 0 | 0 |
| 8 | 20ms | 336kb | Incorect | 0 |
| 9 | 20ms | 340kb | Incorect | 0 |
| 10 | 20ms | 336kb | Incorect | 0 |
| Punctaj total | 0 |