Pagini recente » Borderou de evaluare (job #577529) | Borderou de evaluare (job #2069639) | Borderou de evaluare (job #3261055) | Borderou de evaluare (job #1476379) | Borderou de evaluare (job #1240687)
Borderou de evaluare (job #1240687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:54:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
{fscanf(f,"%d %d %d",&x,&aux.dir,&aux.c);
^
user.cpp:64:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<lista[el].size();j++)
^
user.cpp:46:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:54:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%d %d %d",&x,&aux.dir,&aux.c);
^
user.cpp: In function ‘void coboara(int)’:
user.cpp:30:26: warning: ‘pmin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(dist[heap[pmin]]<dist[heap[p]])
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 852kb | OK | 10 |
2 | 0ms | 848kb | OK | 10 |
3 | 0ms | 880kb | OK | 10 |
4 | 0ms | 892kb | OK | 10 |
5 | 24ms | 1256kb | OK | 10 |
6 | 48ms | 1576kb | OK | 10 |
7 | 64ms | 1876kb | OK | 10 |
8 | 76ms | 2292kb | OK | 10 |
9 | 220ms | 3876kb | OK | 10 |
10 | 24ms | 1836kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 90 |