Pagini recente » Borderou de evaluare (job #1553295) | Borderou de evaluare (job #1678963) | Borderou de evaluare (job #2693953) | Borderou de evaluare (job #358384) | Borderou de evaluare (job #2201877)
Borderou de evaluare (job #2201877)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[nod].size();j++){
~^~~~~~~~~~~~~~
user.cpp:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[nod].size();j++){
~^~~~~~~~~~~~~~
user.cpp:37:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(h[g[nod][j]]==h[nod]+1);
^~
user.cpp:38:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(low[g[nod][j]]>=h[nod])
^~
user.cpp:14:12: warning: unused variable ‘j’ [-Wunused-variable]
int fiu, j;
^
user.cpp: In function ‘int main()’:
user.cpp:79:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(q=0;q<g[rad].size();q++)
~^~~~~~~~~~~~~~
user.cpp:89:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<cc.size();i++){
~^~~~~~~~~~
user.cpp:93:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<sol.size();i++){\
~^~~~~~~~~~~
user.cpp:55:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d", &n, &m);
^
user.cpp:57:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d", &x, &y);
^
user.cpp:68:11: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations]
low[i]=0;
~~~~~~^~
user.cpp:67:14: note: within this loop
for(int i=0;i<=100001;i++){
~^~~~~~~~
user.cpp:65:11: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations]
viz[i]=0;
~~~~~~^~
user.cpp:64:14: note: within this loop
for(int i=0;i<=100001;i++){
~^~~~~~~~
user.cpp:62:9: warning: iteration 100001 invokes undefined behavior [-Waggressive-loop-optimizations]
h[i]=0;
~~~~^~
user.cpp:61:14: note: within this loop
for(int i=0;i<=100001;i++){
~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3680kb | Raspuns partial corect | 4 |
2 | 8ms | 3864kb | Raspuns partial corect | 4 |
3 | 4ms | 3708kb | Raspuns partial corect | 4 |
4 | 52ms | 5020kb | Raspuns partial corect | 4 |
5 | 76ms | 5692kb | Raspuns partial corect | 4 |
6 | 120ms | 6688kb | Raspuns partial corect | 4 |
7 | 40ms | 4424kb | Raspuns partial corect | 4 |
8 | 44ms | 4728kb | Raspuns partial corect | 4 |
9 | 220ms | 8380kb | Raspuns partial corect | 4 |
10 | 0ms | 3664kb | Raspuns partial corect | 4 |
Punctaj total | 40 |