Pagini recente » Borderou de evaluare (job #767416) | Borderou de evaluare (job #971310) | Borderou de evaluare (job #404464) | Borderou de evaluare (job #410135) | Borderou de evaluare (job #1564365)
Borderou de evaluare (job #1564365)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:92:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("\n--- %d -- %d -- \n",i,(A - power[i]));
^
user.c:105:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("\n%d",sol);
^
user.c:107:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",sol);
^
user.c:83:5: warning: unused variable ‘k’ [-Wunused-variable]
int k=0;
^
user.c:82:5: warning: unused variable ‘ok’ [-Wunused-variable]
int ok =1;
^
user.c:20:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100,f);
^
user.c:44:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,32767,f);
^
user.c:8:15: warning: ‘A’ may be used uninitialized in this function [-Wmaybe-uninitialized]
short int A,B,power[1000000],v[32767],x;
^
user.c:90:1: warning: ‘N’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (i=1; i<=N;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Incorect | 0 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 0ms | 308kb | Incorect | 0 |
4 | 0ms | 308kb | Incorect | 0 |
5 | 0ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |