Pagini recente » Borderou de evaluare (job #625549) | Borderou de evaluare (job #1094520) | Borderou de evaluare (job #515845) | Borderou de evaluare (job #3198527) | Borderou de evaluare (job #1780190)
Borderou de evaluare (job #1780190)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:70:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[30]’ [-Wformat=]
fscanf(f,"%s",&sir);
^
user.c:77:17: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
while(isdigit(sir[j]))
^
user.c:52:23: warning: unused variable ‘mod’ [-Wunused-variable]
int n,i,parse,x,j,mod=1,y,stiva,auxiliar,mutare,aux;
^
user.c: In function ‘pop’:
user.c:45:5: warning: control reaches end of non-void function [-Wreturn-type]
} //sf pop_back
^
user.c: In function ‘main’:
user.c:62:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.c:70:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&sir);
^
user.c: In function ‘push’:
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
{++top[2];
^
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
user.c: In function ‘pop’:
user.c:35:27: warning: array subscript is above array bounds [-Warray-bounds]
if(top[2]==-1)
^
user.c:39:18: warning: array subscript is above array bounds [-Warray-bounds]
--top[2];
^
user.c: In function ‘main’:
user.c:56:8: warning: array subscript is above array bounds [-Warray-bounds]
top[2]=-1;
^
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
{++top[2];
^
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
{++top[2];
^
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
{++top[2];
^
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
user.c:12:19: warning: array subscript is above array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Variabila de push invalida! | 0 |
2 | 4ms | 264kb | Variabila de push invalida! | 0 |
3 | 4ms | 268kb | Variabila de push invalida! | 0 |
4 | Depăşit | 276kb | Time limit exceeded. | 0 |
5 | Depăşit | 264kb | Time limit exceeded. | 0 |
6 | Depăşit | 260kb | Time limit exceeded. | 0 |
7 | Depăşit | 268kb | Time limit exceeded. | 0 |
8 | Depăşit | 276kb | Time limit exceeded. | 0 |
9 | Depăşit | 268kb | Time limit exceeded. | 0 |
10 | Depăşit | 276kb | Time limit exceeded. | 0 |
Punctaj total | 0 |