Pagini recente » Borderou de evaluare (job #1261185) | Borderou de evaluare (job #196811) | Borderou de evaluare (job #1206029) | Borderou de evaluare (job #582646) | Borderou de evaluare (job #1057395)
Borderou de evaluare (job #1057395)
Raport evaluator
Compilare:
user.cpp: In function ‘bool find(std::vector<short int>, short int)’:
user.cpp:19:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i=0;i<v.size();++i)if(v[i]==val)return true;
^
user.cpp: In function ‘void find(short int)’:
user.cpp:55:10: warning: statement has no effect [-Wunused-value]
for(i;i<l;++i)
^
user.cpp:60:10: warning: statement has no effect [-Wunused-value]
for(i;i<textL;++i)
^
user.cpp: In function ‘int main()’:
user.cpp:76:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d\n",&t);
^
user.cpp:81:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d\n",&n);
^
user.cpp:94:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short k=0;k<cuvinte[i].size();++k)
^
/tmp/ccU6k79o.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 452kb | Incorect | 0 |
Punctaj total | 0 |