Pagini recente » Borderou de evaluare (job #2072131) | Borderou de evaluare (job #991482) | Borderou de evaluare (job #2587926) | Borderou de evaluare (job #587154) | Borderou de evaluare (job #1808314)
Borderou de evaluare (job #1808314)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int)’:
user.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[u].size(); j++){
^
user.cpp: In function ‘int main()’:
user.cpp:34:17: warning: variable ‘cc’ set but not used [-Wunused-but-set-variable]
int m,i,u,v,cc,nod;
^
user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r",stdin);
^
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w",stdout);
^
user.cpp:35:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &nod);
^
user.cpp:37:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1444kb | OK | 10 |
2 | 0ms | 1448kb | OK | 10 |
3 | 0ms | 1448kb | OK | 10 |
4 | 4ms | 1504kb | OK | 10 |
5 | 12ms | 1584kb | OK | 10 |
6 | 56ms | 2184kb | OK | 10 |
7 | 160ms | 3476kb | OK | 10 |
8 | 144ms | 3432kb | OK | 10 |
9 | 804ms | 9468kb | OK | 10 |
10 | 812ms | 9308kb | OK | 10 |
Punctaj total | 100 |