Pagini recente » Borderou de evaluare (job #2701219) | Borderou de evaluare (job #1212801) | Borderou de evaluare (job #3290270) | Borderou de evaluare (job #1112845) | Borderou de evaluare (job #1306722)
Borderou de evaluare (job #1306722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:141:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=lg; i>=2 && strlen(nr2)<l; i--)
^
user.cpp:161:49: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
if(lg>0)ch=nr1[lg-1];else ch=NULL;
^
user.cpp:167:49: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
if(lg>0)ch=nr2[lg-1];else ch=NULL;
^
user.cpp:196:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[1].c>=4 && strlen(nr1)<l)
^
user.cpp:213:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(nr1)<l)
^
user.cpp:229:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(nr1)+strlen(nr2)<n)
^
user.cpp:15:13: warning: unused variable ‘upoz’ [-Wunused-variable]
int i,j,upoz=0,l,n=0,val,lg = 0;
^
user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pal.in","r",stdin);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pal.out","w",stdout);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l,&val);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Cifre folosite gresit | 0 |
| 2 | 0ms | 252kb | Raspunsul nu este optim | 0 |
| 3 | 0ms | 260kb | Primul numar are lungime mai mica decat L | 0 |
| 4 | 0ms | 256kb | Cifre folosite gresit | 0 |
| 5 | 0ms | 256kb | Raspunsul nu este optim | 0 |
| 6 | 0ms | 256kb | Cifre folosite gresit | 0 |
| 7 | 0ms | 256kb | Cifre folosite gresit | 0 |
| 8 | 0ms | 260kb | Cifre folosite gresit | 0 |
| 9 | 0ms | 256kb | Cifre folosite gresit | 0 |
| 10 | 0ms | 256kb | OK! | 10 |
| Punctaj total | 10 |