Borderou de evaluare (job #73452)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int BFS()’:
user.cpp:100:32: error: ‘memset’ was not declared in this scope
memset(from,-1,sizeof(from));
^
user.cpp: In function ‘int Flux(double)’:
user.cpp:153:17: warning: unused variable ‘j’ [-Wunused-variable]
int rez=0,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:190:25: error: ‘memcpy’ was not declared in this scope
memcpy(d,c,sizeof(c));
^
user.cpp:171:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.in","r",stdin);
^
user.cpp:172:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trafic.out","w",stdout);
^
user.cpp:174:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ",&n,&m,&G);
^
user.cpp:180:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ",&x[i],&y[i],&z[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 476kb | Time limit exceeded. | 0 |
2 | 4ms | 8kb | OK | 5 |
3 | 20ms | 352kb | OK | 5 |
4 | 4ms | 12kb | OK | 5 |
5 | 4ms | 12kb | OK | 5 |
6 | 0ms | 12kb | OK | 5 |
7 | 16ms | 324kb | OK | 5 |
8 | Depăşit | 464kb | Time limit exceeded. | 0 |
9 | Depăşit | 412kb | Time limit exceeded. | 0 |
10 | 104ms | 400kb | OK | 5 |
11 | 28ms | 344kb | OK | 5 |
12 | Depăşit | 384kb | Time limit exceeded. | 0 |
13 | 0ms | 8kb | OK | 5 |
14 | 132ms | 540kb | OK | 5 |
15 | 164ms | 484kb | OK | 5 |
16 | 32ms | 316kb | OK | 5 |
17 | 8ms | 348kb | OK | 5 |
18 | 192ms | 364kb | OK | 5 |
19 | 4ms | 356kb | OK | 5 |
20 | 0ms | 12kb | OK | 5 |
Punctaj total | 0 |