Pagini recente » Borderou de evaluare (job #3163146) | Borderou de evaluare (job #1861029) | Borderou de evaluare (job #2940197) | Borderou de evaluare (job #542686) | Borderou de evaluare (job #1946061)
Borderou de evaluare (job #1946061)
Raport evaluator
Compilare:
user.cpp: In function ‘void compute(int)’:
user.cpp:20:10: warning: statement has no effect [-Wunused-value]
for(i;i<=20;i++)
^
user.cpp: In function ‘void downDFS(int, int)’:
user.cpp:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void upDFS(int, int)’:
user.cpp:52:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:68:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void dadDFS(int, int)’:
user.cpp:87:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:122:19: warning: variable ‘z’ set but not used [-Wunused-but-set-variable]
int n,m,i,x,y,z,c,p,q,sum,node;
^
user.cpp:120:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker2.in","r",stdin);
^
user.cpp:121:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker2.out","w",stdout);
^
user.cpp:123:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:125:33: 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:138:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&p);
^
user.cpp: In function ‘void upDFS(int, int)’:
user.cpp:73:60: warning: ‘node2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
upNode[g[node][i].first]=downNode[node2];
^
user.cpp:79:60: warning: ‘node1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
upNode[g[node][i].first]=downNode[node1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1488kb | Bezea. | 10 |
2 | 4ms | 1704kb | Bezea. | 10 |
3 | 4ms | 1700kb | Bezea. | 10 |
4 | 268ms | 16796kb | Bezea. | 10 |
5 | 292ms | 16816kb | Bezea. | 10 |
6 | 296ms | 18236kb | Bezea. | 10 |
7 | 436ms | 25188kb | Bezea. | 10 |
8 | 468ms | 25324kb | Bezea. | 10 |
9 | 452ms | 25024kb | Bezea. | 10 |
10 | 460ms | 26000kb | Bezea. | 10 |
Punctaj total | 100 |