Borderou de evaluare (job #1486522)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < V[nod].size(); i ++){
^
user.cpp:19:19: warning: NULL used in arithmetic [-Wpointer-arith]
if(vec == NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:45:29: warning: passing NULL to non-pointer argument 1 of ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = unsigned int]’ [-Wconversion-null]
V[i].resize(NULL);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.in" , "r", stdin );
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.out", "w", stdout);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:39:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
user.cpp:42:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 15912kb | Incorect | 0 |
2 | 28ms | 15904kb | Incorect | 0 |
3 | 28ms | 15912kb | Incorect | 0 |
4 | 28ms | 15912kb | Incorect | 0 |
5 | 36ms | 16044kb | Incorect | 0 |
6 | 36ms | 16048kb | Incorect | 0 |
7 | 40ms | 16072kb | Incorect | 0 |
8 | 40ms | 16068kb | Incorect | 0 |
9 | 40ms | 16092kb | Incorect | 0 |
10 | 44ms | 16152kb | Incorect | 0 |
11 | 748ms | 26256kb | Incorect | 0 |
12 | 712ms | 25948kb | Incorect | 0 |
13 | 816ms | 26096kb | Incorect | 0 |
14 | 864ms | 25956kb | Incorect | 0 |
15 | 860ms | 26224kb | Incorect | 0 |
16 | 748ms | 26184kb | Incorect | 0 |
17 | 688ms | 25956kb | Incorect | 0 |
18 | 796ms | 25856kb | Incorect | 0 |
19 | 800ms | 25968kb | Incorect | 0 |
20 | 876ms | 26344kb | Incorect | 0 |
Punctaj total | 0 |