Pagini recente » Borderou de evaluare (job #1362460) | Borderou de evaluare (job #1406301) | Borderou de evaluare (job #3166534) | Borderou de evaluare (job #2885945) | Borderou de evaluare (job #1461905)
Borderou de evaluare (job #1461905)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:7:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define FOR(i,s,d) for(i=(s);i<(d);++i)
^
user.cpp:29:5: note: in expansion of macro ‘FOR’
FOR(j,0,v[x].size()) DFS(v[x][j],niv+1);
^
user.cpp: In function ‘int main()’:
user.cpp:48:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp:49:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.in","r",stdin);
^
user.cpp:50:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.out","w",stdout);
^
user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:52:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&a[i]);
^
user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:59:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:62: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 |
Punctaj/grupa |
1 | 16ms | 10860kb | OK | 10 | 10 |
2 | 16ms | 10916kb | OK | 10 | 10 |
3 | 40ms | 11468kb | OK | 10 | 10 |
4 | 224ms | 13920kb | OK | 10 | 10 |
5 | 272ms | 15764kb | OK | 10 | 10 |
6 | 388ms | 16368kb | OK | 10 | 0 |
7 | 1352ms | 22492kb | OK | 10 |
8 | 1620ms | 23108kb | OK | 10 |
9 | 1712ms | 22244kb | OK | 10 |
10 | Depăşit | 25144kb | Time limit exceeded. | 0 |
Punctaj total | 50 |