Pagini recente » Borderou de evaluare (job #3218765) | Borderou de evaluare (job #2903293) | Borderou de evaluare (job #2454262) | Borderou de evaluare (job #2562943) | Borderou de evaluare (job #1310200)
Borderou de evaluare (job #1310200)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:72:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:13: warning: unused variable ‘sp’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:16: warning: unused variable ‘cant’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:21: warning: unused variable ‘nr_spate’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:30: warning: unused variable ‘nr_fata’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp:72:38: warning: unused variable ‘vf’ [-Wunused-variable]
int i,j,sp,cant,nr_spate,nr_fata,vf;
^
user.cpp: In function ‘bool verif(int)’:
user.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void read()’:
user.cpp:87:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&k);
^
user.cpp:89:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 48ms | 648kb | Incorect | 0 |
6 | 44ms | 648kb | Incorect | 0 |
7 | 48ms | 656kb | Incorect | 0 |
8 | 48ms | 656kb | Incorect | 0 |
9 | 44ms | 652kb | Incorect | 0 |
10 | 48ms | 656kb | Incorect | 0 |
Punctaj total | 0 |