Pagini recente » Borderou de evaluare (job #2194923) | Borderou de evaluare (job #2913269) | Borderou de evaluare (job #1248148) | Borderou de evaluare (job #2781913) | Borderou de evaluare (job #1796977)
Borderou de evaluare (job #1796977)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<arb[nod].size();i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61:20: error: 'gets' was not declared in this scope
gets(v[i]+1);
^
main.cpp:93:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l1==q.size()-1) break;
~~^~~~~~~~~~~~
main.cpp:127:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l1==q.size()-1) break;
~~^~~~~~~~~~~~
main.cpp:55:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","r",stdin);
^
main.cpp:56:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","w",stdout);
^
main.cpp:58:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&q1);
^
main.cpp:142:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3720kb | OK! | 10 |
2 | 8ms | 4212kb | OK! | 10 |
3 | 24ms | 6616kb | OK! | 10 |
4 | 68ms | 10248kb | OK! | 10 |
5 | 248ms | 24052kb | OK! | 10 |
6 | 256ms | 25048kb | OK! | 10 |
7 | 272ms | 26452kb | OK! | 10 |
8 | 304ms | 28884kb | OK! | 10 |
9 | 304ms | 28740kb | OK! | 10 |
10 | 300ms | 28360kb | OK! | 10 |
Punctaj total | 0 |