Pagini recente » Borderou de evaluare (job #841625) | Borderou de evaluare (job #1717997) | Borderou de evaluare (job #2417417) | Borderou de evaluare (job #1100234) | Borderou de evaluare (job #1693605)
Borderou de evaluare (job #1693605)
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 | 1484kb | Bezea. | 10 |
2 | 4ms | 1704kb | Bezea. | 10 |
3 | 4ms | 1704kb | Bezea. | 10 |
4 | 268ms | 16788kb | Bezea. | 10 |
5 | 288ms | 16816kb | Bezea. | 10 |
6 | 292ms | 18232kb | Bezea. | 10 |
7 | 432ms | 25180kb | Bezea. | 10 |
8 | 468ms | 25316kb | Bezea. | 10 |
9 | 448ms | 25024kb | Bezea. | 10 |
10 | 460ms | 25992kb | Bezea. | 10 |
Punctaj total | 100 |