Pagini recente » Borderou de evaluare (job #293137) | Borderou de evaluare (job #3265185) | Borderou de evaluare (job #3232230) | Borderou de evaluare (job #111) | Borderou de evaluare (job #3274151)
Borderou de evaluare (job #3274151)
Raport evaluator
Compilare:
main.cpp: In function 'int soldati(char*, int&, int)':
main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(i=1;i<strlen(s);i++)
| ~^~~~~~~~~~
main.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
31 | }
| ^
main.cpp: In function 'int main()':
main.cpp:39:30: warning: 'ok' may be used uninitialized [-Wmaybe-uninitialized]
39 | fout<<soldati(s,ut,ok)<<endl;
| ^
main.cpp:33:10: note: 'ok' was declared here
33 | {int T,i,ok,ut=0;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |