Pagini recente » Borderou de evaluare (job #427972) | Borderou de evaluare (job #1621008) | Borderou de evaluare (job #1918008) | Borderou de evaluare (job #636278) | Borderou de evaluare (job #1266770)
Borderou de evaluare (job #1266770)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bfs()’:
user.cpp:29:38: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset( viz , NULL , sizeof(viz) );
^
user.cpp: In function ‘int main()’:
user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d %d",&n,&m,&inc,&fin);
^
user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:52:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d\n",&x,&y);
^
user.cpp:52:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:71:14: warning: variable ‘fmin’ set but not used [-Wunused-but-set-variable]
int flow,fmin;
^
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc4.in" , "r", stdin);
^
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc4.out", "w", stdout);
^
user.cpp:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&inc,&fin);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | Incorect | 0 | 0 |
2 | 0ms | 444kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 448kb | Incorect | 0 |
8 | 0ms | 448kb | Incorect | 0 |
9 | 0ms | 448kb | Incorect | 0 |
10 | 0ms | 448kb | Incorect | 0 |
11 | 0ms | 448kb | Incorect | 0 |
12 | 0ms | 452kb | Incorect | 0 |
13 | 0ms | 452kb | Incorect | 0 |
14 | 0ms | 448kb | Incorect | 0 |
15 | 0ms | 448kb | Incorect | 0 |
16 | 0ms | 444kb | Incorect | 0 |
17 | 0ms | 448kb | Incorect | 0 |
18 | 0ms | 448kb | Incorect | 0 |
19 | 0ms | 452kb | Incorect | 0 |
20 | 0ms | 440kb | Incorect | 0 |
21 | 0ms | 452kb | Incorect | 0 |
22 | 0ms | 448kb | Incorect | 0 |
23 | 0ms | 448kb | Incorect | 0 |
24 | 0ms | 448kb | Incorect | 0 |
25 | 0ms | 444kb | Incorect | 0 |
Punctaj total | 0 |