Pagini recente » Borderou de evaluare (job #2324139) | Borderou de evaluare (job #2630029) | Borderou de evaluare (job #1157176) | Monitorul de evaluare | Borderou de evaluare (job #2616937)
Borderou de evaluare (job #2616937)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs(int)':
main.cpp:18:28: warning: no return statement in function returning non-void [-Wreturn-type]
cnt[nod]=cnt[nod]+cnt[it];}}
^
main.cpp: In function 'int main()':
main.cpp:51:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<=lant[i].size();j++)
~^~~~~~~~~~~~~~~~
main.cpp:72:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nod2.first+1<rasp[wh].size())
~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:81:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz+1<rasp[wh].size())
~~~~~^~~~~~~~~~~~~~~~
main.cpp:88:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<rasp[i].size();j++){
~^~~~~~~~~~~~~~~
main.cpp: In function 'int calclant(int, int)':
main.cpp:32:29: warning: control reaches end of non-void function [-Wreturn-type]
prim[++u]=it,calclant(it,u);}
^
main.cpp: In function 'int main()':
main.cpp:34:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pensula.in","r",stdin);
^
main.cpp:35:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pensula.out","w",stdout);
^
main.cpp:38:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&M,&q,&C);
^
main.cpp:40:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tata[i]);
^
main.cpp:49:16: warning: 'rad' may be used uninitialized in this function [-Wmaybe-uninitialized]
calclant(rad,1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 43ms | 12976kb | Incorect | 0 | 0 |
| 2 | 42ms | 12976kb | Incorect | 0 |
| 3 | 42ms | 13107kb | Incorect | 0 | 0 |
| 4 | 45ms | 13238kb | Incorect | 0 |
| 5 | 74ms | 15859kb | Incorect | 0 | 0 |
| 6 | 75ms | 16252kb | Incorect | 0 |
| 7 | 77ms | 16252kb | Incorect | 0 |
| 8 | 76ms | 16842kb | Incorect | 0 |
| 9 | 119ms | 19005kb | Incorect | 0 | 0 |
| 10 | 114ms | 17039kb | Incorect | 0 |
| 11 | 130ms | 18481kb | Incorect | 0 |
| 12 | 108ms | 17301kb | Incorect | 0 |
| 13 | 136ms | 23064kb | Incorect | 0 | 0 |
| 14 | 136ms | 23326kb | Incorect | 0 |
| 15 | 145ms | 23326kb | Incorect | 0 |
| 16 | 137ms | 23457kb | Incorect | 0 |
| 17 | 227ms | 22147kb | Incorect | 0 | 0 |
| 18 | 241ms | 19922kb | Incorect | 0 |
| 19 | 259ms | 22016kb | Incorect | 0 |
| 20 | 238ms | 20353kb | Incorect | 0 |
| Punctaj total | 0 |