Pagini recente » Borderou de evaluare (job #3243643) | Borderou de evaluare (job #1920397) | Borderou de evaluare (job #10604) | Borderou de evaluare (job #696103) | Borderou de evaluare (job #1168088)
Borderou de evaluare (job #1168088)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
while(scanf("%c",&ch)!=EOF)
^
user.cpp:7:9: warning: unused variable ‘n’ [-Wunused-variable]
int n,i,u=0,st,dr,ok=1,care,cent,ch,nrmin;
^
user.cpp:76:26: warning: ‘cent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=cent+1;i<=2*cent-1;i++)
^
user.cpp:64:17: warning: ‘nrmin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (nrmin>2*i-u)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | OK | 10 |
| 2 | 0ms | 232kb | OK | 10 |
| 3 | 0ms | 236kb | OK | 10 |
| 4 | 0ms | 236kb | OK | 10 |
| 5 | 0ms | 236kb | OK | 10 |
| 6 | 0ms | 232kb | OK | 10 |
| 7 | 0ms | 232kb | OK | 10 |
| 8 | 0ms | 236kb | OK | 10 |
| 9 | 0ms | 232kb | OK | 10 |
| 10 | 0ms | 232kb | OK | 10 |
| Punctaj total | 100 |