Pagini recente » Borderou de evaluare (job #635571) | Borderou de evaluare (job #825367) | Borderou de evaluare (job #145332) | Borderou de evaluare (job #2170886) | Borderou de evaluare (job #1262342)
Borderou de evaluare (job #1262342)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int)’:
user.cpp:17:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:34:17: warning: unused variable ‘m’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:34:25: warning: unused variable ‘j’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:34:34: warning: unused variable ‘Max’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:35:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in","r",stdin);
^
user.cpp:36:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out","w",stdout);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40:36: 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 |
1 | 4ms | 2316kb | OK | 10 |
2 | 4ms | 2316kb | OK | 10 |
3 | 4ms | 2320kb | OK | 10 |
4 | 4ms | 2336kb | OK | 10 |
5 | 12ms | 2512kb | OK | 10 |
6 | 36ms | 3000kb | OK | 10 |
7 | 52ms | 3288kb | OK | 10 |
8 | 92ms | 3812kb | OK | 10 |
9 | 80ms | 3760kb | OK | 10 |
10 | 128ms | 4272kb | OK | 10 |
Punctaj total | 100 |