Pagini recente » Borderou de evaluare (job #1558224) | Borderou de evaluare (job #2216581) | Borderou de evaluare (job #2792484) | Borderou de evaluare (job #1679347) | Borderou de evaluare (job #1885787)
Borderou de evaluare (job #1885787)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bfs()’:
user.cpp:29:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i) {
^
user.cpp: In function ‘int pump()’:
user.cpp:43:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[sink].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:70:38: 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:71:40: 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:75:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &drivers, &itists, &cars, &radios, &pcs);
^
user.cpp:87:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:89:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
user.cpp:92:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:94:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
user.cpp:98:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:100:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
user.cpp:103:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:105:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1144kb | OK | 10 |
2 | 4ms | 2564kb | OK | 10 |
3 | 12ms | 7024kb | OK | 10 |
4 | 20ms | 8256kb | OK | 10 |
5 | 16ms | 9072kb | OK | 10 |
6 | 20ms | 11976kb | OK | 10 |
7 | 244ms | Depăşit | Memory limit exceeded. | 0 |
8 | 244ms | Depăşit | Memory limit exceeded. | 0 |
9 | 244ms | Depăşit | Memory limit exceeded. | 0 |
10 | 244ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |