Pagini recente » Borderou de evaluare (job #65943) | Borderou de evaluare (job #2148039) | Borderou de evaluare (job #2715391) | Borderou de evaluare (job #3142189) | Borderou de evaluare (job #1810489)
Borderou de evaluare (job #1810489)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:34: 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:34:36: 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:36:31: 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:39: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 | 1508kb | OK | 10 |
5 | 12ms | 1580kb | OK | 10 |
6 | 56ms | 2192kb | OK | 10 |
7 | 160ms | 3364kb | OK | 10 |
8 | 140ms | 3352kb | OK | 10 |
9 | 800ms | 9164kb | OK | 10 |
10 | 804ms | 9144kb | OK | 10 |
Punctaj total | 100 |