Pagini recente » Borderou de evaluare (job #1728630) | Borderou de evaluare (job #518560) | Borderou de evaluare (job #353383) | Borderou de evaluare (job #1411631) | Borderou de evaluare (job #1576977)
Borderou de evaluare (job #1576977)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:14:33: 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:29:31: warning: unused variable ‘nr’ [-Wunused-variable]
int n, m, sursa, i, x, y, nr=0;
^
user.cpp:30:32: 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:31:34: 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:32:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&sursa);
^
user.cpp:36:28: 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 | 0ms | 1448kb | OK | 10 |
2 | 0ms | 1448kb | OK | 10 |
3 | 0ms | 1448kb | OK | 10 |
4 | 4ms | 1512kb | OK | 10 |
5 | 12ms | 1588kb | OK | 10 |
6 | 56ms | 2232kb | OK | 10 |
7 | 160ms | 3468kb | OK | 10 |
8 | 144ms | 3552kb | OK | 10 |
9 | 804ms | 9280kb | OK | 10 |
10 | 816ms | 9280kb | OK | 10 |
Punctaj total | 100 |