Pagini recente » Borderou de evaluare (job #940392) | Borderou de evaluare (job #3140156) | Borderou de evaluare (job #1102728) | Borderou de evaluare (job #2175455) | Borderou de evaluare (job #1914691)
Borderou de evaluare (job #1914691)
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 | 304kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 332kb | Corect | 10 |
3 | 0ms | 260kb | Corect | 10 |
4 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 632kb | Corect | 10 |
6 | 4ms | 788kb | Corect | 10 |
7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |