Pagini recente » Borderou de evaluare (job #1526728) | Borderou de evaluare (job #2586108) | Borderou de evaluare (job #1631656) | Borderou de evaluare (job #1512356) | Borderou de evaluare (job #2503652)
Borderou de evaluare (job #2503652)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();i++)if(viz[v[x][i]]==0)dfs(v[x][i]);
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:18:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in","r",stdin);
^
main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out","w",stdout);
^
main.cpp:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:24:24: 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 | 5ms | 1310kb | OK | 10 |
| 2 | 6ms | 1310kb | OK | 10 |
| 3 | 5ms | 1310kb | OK | 10 |
| 4 | 5ms | 1310kb | OK | 10 |
| 5 | 9ms | 1441kb | OK | 10 |
| 6 | 14ms | 1572kb | OK | 10 |
| 7 | 22ms | 1966kb | OK | 10 |
| 8 | 37ms | 2097kb | OK | 10 |
| 9 | 75ms | 2752kb | OK | 10 |
| 10 | 141ms | 3219kb | OK | 10 |
| Punctaj total | 100 |