Pagini recente » Borderou de evaluare (job #741352) | Borderou de evaluare (job #1713381) | Borderou de evaluare (job #722624) | Borderou de evaluare (job #1914109) | Borderou de evaluare (job #1914679)
Borderou de evaluare (job #1914679)
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 | 292kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 328kb | Corect | 10 |
3 | 0ms | 260kb | Corect | 10 |
4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 588kb | Corect | 10 |
6 | 0ms | 736kb | Corect | 10 |
7 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 852kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |