Pagini recente » Cod sursa (job #2985304) | Borderou de evaluare (job #2048093) | Borderou de evaluare (job #1013453) | Borderou de evaluare (job #3005659) | Borderou de evaluare (job #2425505)
Borderou de evaluare (job #2425505)
Raport evaluator
Compilare:
main.cpp: In function 'int BFS(int, int)':
main.cpp:31:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < V[ nod ].size(); ++i ) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:66:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < V[ n ].size(); ++i ) {
~~^~~~~~~~~~~~~~~
main.cpp:51:15: warning: unused variable 'i' [-Wunused-variable]
int n, m, i, x, y, c;
^
main.cpp:48:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "maxflow.in", "r", stdin );
^
main.cpp:49:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "maxflow.out", "w", stdout );
^
main.cpp:53:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n,&m );
^
main.cpp:55:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d%d", &x,&y,&c );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 262kb | OK | 10 | 10 |
2 | 3ms | 393kb | Incorect | 0 | 0 |
3 | 3ms | 524kb | OK | 10 | 10 |
4 | 4ms | 655kb | OK | 10 | 10 |
5 | 4ms | 786kb | Incorect | 0 | 0 |
6 | 5ms | 1048kb | Incorect | 0 | 0 |
7 | 12ms | 3145kb | OK | 10 | 10 |
8 | 27ms | 5636kb | OK | 10 | 0 |
9 | 51ms | 7352kb | Incorect | 0 |
10 | 61ms | 8126kb | Time limit exceeded | 0 |
Punctaj total | 40 |