Pagini recente » Borderou de evaluare (job #2155029) | Borderou de evaluare (job #850054) | Borderou de evaluare (job #1983632) | Borderou de evaluare (job #2893725) | Borderou de evaluare (job #1914683)
Borderou de evaluare (job #1914683)
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: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:46:13: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
i=poz2-1;
^
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 | 336kb | Corect | 10 |
| 3 | 0ms | 260kb | Corect | 10 |
| 4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 628kb | Corect | 10 |
| 6 | 4ms | 792kb | 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 | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 40 |