Pagini recente » Borderou de evaluare (job #1948208) | Borderou de evaluare (job #1720820) | Borderou de evaluare (job #1083034) | Borderou de evaluare (job #914895) | Borderou de evaluare (job #1236853)
Borderou de evaluare (job #1236853)
Raport evaluator
Compilare:
user.cpp: In function ‘void do_bfs(long int, long int)’:
user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[e].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:63:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ras.size());
^
user.cpp:64:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ras.size();i++) printf("%ld ",ras[i]);
^
user.cpp:37:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:40:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld",&n,&m,&start,&stop);
^
user.cpp:42:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | OK | 10 |
2 | 0ms | 536kb | OK | 10 |
3 | 0ms | 536kb | OK | 10 |
4 | 0ms | 536kb | OK | 10 |
5 | 0ms | 540kb | OK | 10 |
6 | 12ms | 848kb | OK | 10 |
7 | 4ms | 636kb | OK | 10 |
8 | 8ms | 796kb | OK | 10 |
9 | 12ms | 828kb | OK | 10 |
10 | 12ms | 864kb | OK | 10 |
Punctaj total | 100 |