Pagini recente » Borderou de evaluare (job #2661353) | Borderou de evaluare (job #1490701) | Borderou de evaluare (job #393849) | Borderou de evaluare (job #330993) | Borderou de evaluare (job #1295542)
Borderou de evaluare (job #1295542)
Raport evaluator
Compilare:
user.cpp: In function ‘bool BFS()’:
user.cpp:17:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Used[i] = Father[i] = 0;
^
user.cpp:29:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[Node].size(); ++ i)
^
user.cpp: In function ‘void MaxFlow()’:
user.cpp:47:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[Sink].size(); ++ i)
^
user.cpp: In function ‘void Mark(bool*, int)’:
user.cpp:70:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[Node].size(); ++ i)
^
user.cpp: In function ‘int main()’:
user.cpp:103:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Res.size(); ++ i)
^
user.cpp:80:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in", "r", stdin);
^
user.cpp:81:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out", "w", stdout);
^
user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &N, &M);
^
user.cpp:86:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i", &X[i], &Y[i], &Z[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 352kb | Okay! | 10 |
2 | 0ms | 380kb | Okay! | 10 |
3 | 0ms | 644kb | Okay! | 10 |
4 | 0ms | 828kb | Okay! | 10 |
5 | 0ms | 1140kb | Okay! | 10 |
6 | 8ms | 1240kb | Okay! | 10 |
7 | 20ms | 1716kb | Okay! | 10 |
8 | 16ms | 2220kb | Okay! | 10 |
9 | 28ms | 1892kb | Okay! | 10 |
10 | 16ms | 5168kb | Okay! | 10 |
Punctaj total | 100 |