Pagini recente » Borderou de evaluare (job #1878639) | Borderou de evaluare (job #1596433) | Borderou de evaluare (job #2135798) | Borderou de evaluare (job #457460) | Borderou de evaluare (job #1373970)
Borderou de evaluare (job #1373970)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:123:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("online.in","r",stdin);
^
user.cpp:124:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("online.out","w",stdout);
^
user.cpp:125:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&m);
^
user.cpp:134:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x,&y,&cost);
^
user.cpp:141:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:144:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x,&y,&cost);
^
user.cpp: In function ‘void Prim()’:
user.cpp:33:42: warning: ‘surs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
w.nod=nod; w.cost=a[nod][surs];
^
user.cpp:41:48: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dist[j]=a[nod][j]; sursa[j]=nod;
^
user.cpp: In function ‘int main()’:
user.cpp:61:23: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(it=L[x].begin();it!=L[x].end();++it)
^
user.cpp:71:20: note: ‘nod’ was declared here
int minim=-INF,nod,cx=x,cy=y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 5 |
2 | 8ms | 352kb | OK! | 10 |
3 | 0ms | 284kb | OK! | 5 |
4 | 0ms | 352kb | OK! | 5 |
5 | 0ms | 304kb | OK! | 5 |
6 | 0ms | 356kb | OK! | 5 |
7 | 0ms | 388kb | OK! | 5 |
8 | 0ms | 432kb | OK! | 5 |
9 | 0ms | 432kb | OK! | 5 |
10 | 0ms | 436kb | OK! | 5 |
11 | 0ms | 436kb | OK! | 10 |
12 | 0ms | 432kb | OK! | 5 |
13 | 4ms | 432kb | OK! | 10 |
14 | 12ms | 348kb | OK! | 10 |
15 | 12ms | 432kb | OK! | 10 |
Punctaj total | 100 |