Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2256347)
| Utilizator | Data | 8 octombrie 2018 15:48:33 | |
|---|---|---|---|
| Problema | Apel | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 40 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int rezolvare()’:
user.cpp:100:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
strcpy(W,exp[c]);
^
user.cpp: In function ‘int parametrii(int&, int&, int&, int&, int&, int&, int&, int&, int&, int&)’:
user.cpp:110:9: warning: unused variable ‘J’ [-Wunused-variable]
int J,nr,NR=0;
^
user.cpp:182:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:228:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i;j<=strlen(s)-1;j++)
~^~~~~~~~~~~~~
user.cpp:231:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[s[0]][lg]=s[j];
^
user.cpp:233:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
exp[s[0]][lg+1]='\0';
^
user.cpp: In function ‘int expresie()’:
user.cpp:39:12: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return t;
^
user.cpp: In function ‘int main()’:
user.cpp:231:25: warning: array subscript is above array bounds [-Warray-bounds]
exp[s[0]][lg]=s[j];
~~~~~~~~^
user.cpp:233:21: warning: array subscript is above array bounds [-Warray-bounds]
exp[s[0]][lg+1]='\0';
~~~~~~~~^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 1320kb | OK | 10 |
| 2 | 0ms | 1320kb | OK | 10 |
| 3 | 0ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 1320kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 1324kb | OK | 10 |
| 7 | 0ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 1320kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 1320kb | OK | 10 |
| Punctaj total | 40 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
