Pagini recente » Borderou de evaluare (job #1915906) | Borderou de evaluare (job #2323861) | Borderou de evaluare (job #2261684) | Borderou de evaluare (job #1209667) | Borderou de evaluare (job #1914723)
Borderou de evaluare (job #1914723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:37: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘dublu*’ [-Wformat=]
while(scanf("%s",&sir[cuvinte+1])!=EOF){
^
user.cpp:47:19: warning: left operand of comma operator has no effect [-Wunused-value]
for(i=poz2-1;i>=1,max>0;i--){
^
user.cpp:11:46: warning: unused variable ‘pozitie’ [-Wunused-variable]
int n,litic,litsf,cuvinte,max,i,cuvinte2,pozitie,cate,poz2;
^
user.cpp:11:54: warning: unused variable ‘cate’ [-Wunused-variable]
int n,litic,litsf,cuvinte,max,i,cuvinte2,pozitie,cate,poz2;
^
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:47:17: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=poz2-1;i>=1,max>0;i--){
^
user.cpp:48:27: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sir[i].poz==max&&c==sir[i].s[strlen(sir[i].s)-1]){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | Corect | 10 |
2 | 0ms | 340kb | Corect | 10 |
3 | 0ms | 256kb | Corect | 10 |
4 | 0ms | 264kb | Corect | 10 |
5 | 0ms | 628kb | Corect | 10 |
6 | 4ms | 788kb | Corect | 10 |
7 | 0ms | 264kb | Corect | 10 |
8 | 8ms | 1204kb | Corect | 10 |
9 | 0ms | 296kb | Corect | 10 |
10 | 0ms | 324kb | Corect | 10 |
Punctaj total | 100 |