Pagini recente » Borderou de evaluare (job #1815232) | Borderou de evaluare (job #1704194) | Borderou de evaluare (job #808829) | Borderou de evaluare (job #2717254) | Borderou de evaluare (job #1614316)
Borderou de evaluare (job #1614316)
Raport evaluator
Compilare:
user.cpp: In function ‘void start_generating(const int&)’:
user.cpp:26:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cst[nr][++cst[nr][0]]=i;
^
user.cpp: In function ‘void dijkstra()’:
user.cpp:114:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(unde[adj[nod][j]]<=ps&&dist[nod]+cost[cst[nod][j]]<dist[adj[nod][j]])
^
user.cpp:116:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[adj[nod][j]]=dist[nod]+cost[cst[nod][j]];
^
user.cpp: In function ‘int main()’:
user.cpp:136:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("boom.in","r",stdin);
^
user.cpp:137:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("boom.out","w",stdout);
^
user.cpp: In function ‘void read()’:
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cost[i],&cam[i][0]);
^
user.cpp:17:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cam[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Just perfect! | 10 |
2 | 0ms | 300kb | Just perfect! | 10 |
3 | 0ms | 328kb | Just perfect! | 10 |
4 | 0ms | 564kb | Just perfect! | 10 |
5 | 40ms | 4668kb | Just perfect! | 10 |
6 | Depăşit | 35024kb | Time limit exceeded. | 0 |
7 | Depăşit | 65528kb | Time limit exceeded. | 0 |
8 | 156ms | Depăşit | Memory limit exceeded. | 0 |
9 | 156ms | Depăşit | Memory limit exceeded. | 0 |
10 | 156ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |