Pagini recente » Borderou de evaluare (job #784044) | Borderou de evaluare (job #2664516) | Borderou de evaluare (job #2610921) | Borderou de evaluare (job #586731) | Borderou de evaluare (job #2640294)
Borderou de evaluare (job #2640294)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void dfst(int)':
main.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < T[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'void dfsctc(int)':
main.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < C[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:106:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[i].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:147:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n" , mch.size() + in0.size() - 1);
^
main.cpp:148:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < mch.size() ; i ++)
~~^~~~~~~~~~~~
main.cpp:87:39: warning: unused variable 'cuplaj' [-Wunused-variable]
int n , m , x , y , i , j , nod , cuplaj , gasit;
^~~~~~
main.cpp:87:48: warning: unused variable 'gasit' [-Wunused-variable]
int n , m , x , y , i , j , nod , cuplaj , gasit;
^~~~~
main.cpp:85:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plan.in" , "r" , stdin);
^
main.cpp:86:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plan.out" , "w" , stdout);
^
main.cpp:88:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
main.cpp:91:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &x , &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Raspuns gresit | 0 |
2 | 3ms | 262kb | Raspuns gresit | 0 |
3 | 3ms | 131kb | Raspuns gresit | 0 |
4 | 2ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Raspuns gresit | 0 |
6 | 2ms | 131kb | Corect | 10 |
7 | 3ms | 262kb | Raspuns gresit | 0 |
8 | 3ms | 131kb | Raspuns gresit | 0 |
9 | 3ms | 131kb | Raspuns gresit | 0 |
10 | 3ms | 131kb | Raspuns gresit | 0 |
Punctaj total | 20 |