Pagini recente » Borderou de evaluare (job #1977589) | Borderou de evaluare (job #1655646) | Borderou de evaluare (job #2928020) | Borderou de evaluare (job #2118096) | Borderou de evaluare (job #1659928)
Borderou de evaluare (job #1659928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:28: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset( ct , 0 , sizeof(ct) );
^
user.cpp:33:17: warning: narrowing conversion of ‘y’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
ct[pos] = { y , c , adj[x] };
^
user.cpp:36:17: warning: narrowing conversion of ‘x’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
ct[pos] = { x , 0 , adj[y] };
^
user.cpp:18: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);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
user.cpp:106: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 440kb | OK | 10 | 10 |
| 2 | 0ms | 444kb | OK | 10 | 10 |
| 3 | 0ms | 444kb | OK | 10 | 10 |
| 4 | 0ms | 452kb | OK | 10 | 10 |
| 5 | 0ms | 448kb | OK | 10 | 10 |
| 6 | 0ms | 452kb | OK | 10 | 10 |
| 7 | 0ms | 496kb | OK | 10 | 10 |
| 8 | 4ms | 544kb | OK | 10 | 30 |
| 9 | 4ms | 548kb | OK | 10 |
| 10 | 8ms | 580kb | OK | 10 |
| Punctaj total | 100 |