Pagini recente » Borderou de evaluare (job #777886) | Borderou de evaluare (job #1491448) | Borderou de evaluare (job #1220268) | Borderou de evaluare (job #2024530) | Borderou de evaluare (job #1714282)
Borderou de evaluare (job #1714282)
Raport evaluator
Compilare:
user.cpp: In function ‘bool BFS()’:
user.cpp:30:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:89:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[sink].size();i++){
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politia.in","r",stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politia.out","w",stdout);
^
user.cpp:47:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&n1,&n2,&m,&r,&c);
^
user.cpp:65:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:72:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:77:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:79:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:82:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:84:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 728kb | OK | 10 |
2 | 0ms | 1544kb | OK | 10 |
3 | 4ms | 3488kb | OK | 10 |
4 | 12ms | 3920kb | OK | 10 |
5 | 8ms | 4484kb | OK | 10 |
6 | 8ms | 5868kb | OK | 10 |
7 | 188ms | 8752kb | OK | 10 |
8 | 180ms | 8808kb | OK | 10 |
9 | 180ms | 8868kb | OK | 10 |
10 | 184ms | 8844kb | OK | 10 |
Punctaj total | 100 |