Pagini recente » Borderou de evaluare (job #2895294) | Borderou de evaluare (job #1848693) | Borderou de evaluare (job #2808745) | Borderou de evaluare (job #3192629) | Borderou de evaluare (job #1504813)
Borderou de evaluare (job #1504813)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:35:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (r=0;r<v[i].size();r++) {
^
user.cpp: In function ‘int main()’:
user.cpp:88:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",cost);
^
user.cpp:69:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,ok=1;
^
user.cpp:69:13: warning: unused variable ‘ok’ [-Wunused-variable]
int i,j,ok=1;
^
user.cpp:67:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.in","r",stdin);
^
user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fmcm.out","w",stdout);
^
user.cpp:71:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&source,&dest);
^
user.cpp:74:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x,&y,&z,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | OK | 10 | 10 |
2 | 0ms | 324kb | OK | 10 | 10 |
3 | 0ms | 496kb | OK | 10 | 10 |
4 | 0ms | 492kb | OK | 10 | 10 |
5 | 0ms | 496kb | OK | 10 | 10 |
6 | 516ms | 1232kb | OK | 10 | 20 |
7 | 564ms | 1232kb | OK | 10 |
8 | Depăşit | 1900kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1884kb | Time limit exceeded. | 0 |
10 | Depăşit | 1876kb | Time limit exceeded. | 0 |
Punctaj total | 70 |