Pagini recente » Borderou de evaluare (job #2083337) | Borderou de evaluare (job #2081383) | Borderou de evaluare (job #1936893) | Borderou de evaluare (job #1856468) | Borderou de evaluare (job #1349531)
Borderou de evaluare (job #1349531)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(long int)’:
user.cpp:26:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfsC(long int)’:
user.cpp:36:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<rList[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:70:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<list[i].size();j++){
^
user.cpp:81:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<cList[i].size();j++)
^
user.cpp:90:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<cList[i].size();i++){
^
user.cpp:98:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<cList[i].size();j++){
^
user.cpp:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<Comp[i].size();j++){
^
user.cpp:113:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ans.size());
^
user.cpp:114:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++) printf("%ld ",ans[i]);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri5.in","r",stdin);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri5.out","w",stdout);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:50:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 7476kb | Incorect | 0 |
| 2 | 8ms | 7480kb | Incorect | 0 |
| 3 | 8ms | 7480kb | Incorect | 0 |
| 4 | 8ms | 7484kb | Incorect | 0 |
| 5 | 8ms | 7496kb | Incorect | 0 |
| 6 | 8ms | 7492kb | Incorect | 0 |
| 7 | 8ms | 7524kb | Incorect | 0 |
| 8 | 8ms | 7516kb | Incorect | 0 |
| 9 | 8ms | 7532kb | Incorect | 0 |
| 10 | 12ms | 7548kb | Incorect | 0 |
| 11 | 44ms | 8916kb | Incorect | 0 |
| 12 | 44ms | 8904kb | Incorect | 0 |
| 13 | 112ms | 11084kb | Incorect | 0 |
| 14 | 108ms | 11156kb | Incorect | 0 |
| 15 | 156ms | 12380kb | Incorect | 0 |
| 16 | 160ms | 12416kb | Incorect | 0 |
| 17 | 268ms | 16612kb | Incorect | 0 |
| 18 | 280ms | 15808kb | Incorect | 0 |
| 19 | 340ms | 17284kb | Incorect | 0 |
| 20 | 408ms | 19524kb | Incorect | 0 |
| Punctaj total | 0 |