Pagini recente » Borderou de evaluare (job #1961445) | Borderou de evaluare (job #235349) | Borderou de evaluare (job #579573) | Borderou de evaluare (job #1000187) | Borderou de evaluare (job #1378350)
Borderou de evaluare (job #1378350)
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: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:35: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 | 1436kb | OK | 10 |
2 | 0ms | 1432kb | OK | 10 |
3 | 0ms | 1436kb | OK | 10 |
4 | 4ms | 1500kb | OK | 10 |
5 | 12ms | 1572kb | OK | 10 |
6 | 56ms | 2220kb | OK | 10 |
7 | 164ms | 3452kb | OK | 10 |
8 | 144ms | 3540kb | OK | 10 |
9 | 816ms | 9272kb | OK | 10 |
10 | 820ms | 9272kb | OK | 10 |
Punctaj total | 100 |