Pagini recente » Statistici Andrei Grigorean (wefgef3) | Borderou de evaluare (job #1630901) | Borderou de evaluare (job #1496637) | Borderou de evaluare (job #1869664) | Borderou de evaluare (job #1284420)
Borderou de evaluare (job #1284420)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool maxFlowminCost::ford_bellman(int, int)’:
user.cpp:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < V[u].size() ; i++){
^
user.cpp: In function ‘void bfs(int)’:
user.cpp:103:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < V[u].size() ; i++){
^
user.cpp:111:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i <= V[x].size() ; i++)
^
user.cpp: At global scope:
user.cpp:138:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){
^
user.cpp: In function ‘void loadgraph()’:
user.cpp:115:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&num_troop,&x);
^
user.cpp:117:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&troop[i]);
^
user.cpp:120:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&u,&v);
^
user.cpp: In function ‘int main()’:
user.cpp:139:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.in","r",stdin);
^
user.cpp:140:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 5 |
| 2 | 0ms | 476kb | OK | 5 |
| 3 | 0ms | 492kb | OK | 5 |
| 4 | 0ms | 520kb | OK | 5 |
| 5 | 0ms | 516kb | OK | 5 |
| 6 | 0ms | 520kb | OK | 5 |
| 7 | 0ms | 516kb | OK | 5 |
| 8 | 4ms | 568kb | OK | 5 |
| 9 | 4ms | 572kb | OK | 5 |
| 10 | 8ms | 608kb | OK | 5 |
| 11 | 44ms | 1052kb | OK | 5 |
| 12 | 76ms | 1844kb | OK | 5 |
| 13 | 0ms | 528kb | OK | 5 |
| 14 | 4ms | 624kb | OK | 5 |
| 15 | 16ms | 788kb | OK | 5 |
| 16 | 28ms | 788kb | OK | 5 |
| 17 | 60ms | 1544kb | OK | 5 |
| 18 | 76ms | 1456kb | OK | 5 |
| 19 | 100ms | 1740kb | OK | 5 |
| 20 | 168ms | 2196kb | OK | 5 |
| Punctaj total | 100 |