Pagini recente » Borderou de evaluare (job #2746146) | Borderou de evaluare (job #2388780) | Borderou de evaluare (job #2751971) | Borderou de evaluare (job #3037025) | Borderou de evaluare (job #1461840)
Borderou de evaluare (job #1461840)
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:24: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:43:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp:44: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:45: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:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47: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:50:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:57: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 | 12ms | 9252kb | OK | 10 | 10 |
2 | 12ms | 9320kb | OK | 10 | 10 |
3 | 36ms | 9872kb | OK | 10 | 10 |
4 | 388ms | 12328kb | OK | 10 | 10 |
5 | 396ms | 14164kb | OK | 10 | 10 |
6 | 708ms | 14772kb | OK | 10 | 0 |
7 | Depăşit | 20208kb | Time limit exceeded. | 0 |
8 | Depăşit | 20632kb | Time limit exceeded. | 0 |
9 | 1620ms | 20624kb | OK | 10 |
10 | Depăşit | 23208kb | Time limit exceeded. | 0 |
Punctaj total | 50 |