Pagini recente » Borderou de evaluare (job #1299923) | Borderou de evaluare (job #2850675) | Borderou de evaluare (job #1666239) | Borderou de evaluare (job #248041) | Borderou de evaluare (job #2695256)
Borderou de evaluare (job #2695256)
Raport evaluator
Compilare:
main.cpp: In function 'void ddfs(int)':
main.cpp:43:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[dad].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:93:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[dad].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:103:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.in","r",stdin);
^
main.cpp:104:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.out","w",stdout);
^
main.cpp:105:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:109:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp:117:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&type,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 2621kb | OK | 10 |
2 | 17ms | 2752kb | OK | 10 |
3 | 429ms | 4456kb | OK | 10 |
4 | 518ms | 4718kb | OK | 10 |
5 | 1503ms | 7995kb | Time limit exceeded | 0 |
6 | 1413ms | 7864kb | OK | 10 |
7 | 975ms | 8773kb | OK | 10 |
8 | 967ms | 9605kb | OK | 10 |
9 | 914ms | 9568kb | OK | 10 |
10 | 770ms | 9830kb | OK | 10 |
Punctaj total | 90 |