Pagini recente » Borderou de evaluare (job #2001948) | Borderou de evaluare (job #1913362) | Borderou de evaluare (job #2212764) | Borderou de evaluare (job #326383) | Borderou de evaluare (job #1655029)
Borderou de evaluare (job #1655029)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z=0;z<nodes[current].size();z++){
^
user.cpp:16:30: 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:17:32: 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:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&M,&S);
^
user.cpp:24:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int j=0;j<M;++j) scanf("%d%d",&x,&y), nodes[x].push_back(y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 452kb | OK | 10 |
| 3 | 0ms | 448kb | OK | 10 |
| 4 | 4ms | 516kb | OK | 10 |
| 5 | 8ms | 584kb | OK | 10 |
| 6 | 56ms | 1316kb | OK | 10 |
| 7 | 168ms | 2928kb | OK | 10 |
| 8 | 148ms | 3428kb | OK | 10 |
| 9 | 848ms | 9236kb | OK | 10 |
| 10 | 824ms | 9236kb | OK | 10 |
| Punctaj total | 100 |