Pagini recente » Borderou de evaluare (job #442060) | Borderou de evaluare (job #1791120) | Borderou de evaluare (job #943564) | Borderou de evaluare (job #334489) | Borderou de evaluare (job #1639884)
Borderou de evaluare (job #1639884)
Raport evaluator
Compilare:
user.cpp: In function ‘long int maxl(unsigned int, long int, unsigned int)’:
user.cpp:23:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(dmax[x]>max)
^
user.cpp:26:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[x].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:36: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 5 has type ‘long int*’ [-Wformat=]
fscanf(f1,"%u%u%u",&x,&y,&l);
^
user.cpp:71:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(dist[g[x][i].y]>l+g[x][i].l)
^
user.cpp:79:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(p>=g[x][i].l && dist[g[x][i].y]>l+g[x][i].l)
^
user.cpp:40:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u%u%u",&p,&n,&m);
^
user.cpp:42:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u",&dmax[i]);
^
user.cpp:45:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u%u%u",&x,&y,&l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Corect! | 2 |
2 | 0ms | 304kb | Corect! | 2 |
3 | 0ms | 300kb | Corect! | 2 |
4 | 0ms | 312kb | Corect! | 2 |
5 | 0ms | 308kb | Corect! | 2 |
6 | 0ms | 324kb | Corect! | 2 |
7 | 4ms | 420kb | Corect! | 2 |
8 | 4ms | 420kb | Corect! | 2 |
9 | 4ms | 428kb | Corect! | 2 |
10 | 4ms | 440kb | Corect! | 2 |
11 | 0ms | 296kb | Corect! | 8 |
12 | 0ms | 296kb | Corect! | 8 |
13 | 0ms | 304kb | Corect! | 8 |
14 | 0ms | 316kb | Corect! | 8 |
15 | 0ms | 316kb | Corect! | 8 |
16 | 4ms | 328kb | Corect! | 8 |
17 | 4ms | 416kb | Corect! | 8 |
18 | 8ms | 428kb | Corect! | 8 |
19 | 8ms | 448kb | Corect! | 8 |
20 | 8ms | 452kb | Corect! | 8 |
Punctaj total | 100 |