Pagini recente » Borderou de evaluare (job #2533497) | Borderou de evaluare (job #2539406) | Borderou de evaluare (job #2702586) | Borderou de evaluare (job #157416) | Borderou de evaluare (job #1306724)
Borderou de evaluare (job #1306724)
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:162:51: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
if(lgg>0)ch=nr1[lgg-1];else ch=NULL;
^
user.cpp:168:51: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
if(lgg>0)ch=nr2[lgg-1];else ch=NULL;
^
user.cpp:197:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[1].c>=4 && strlen(nr1)<l)
^
user.cpp:214:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(nr1)<l)
^
user.cpp:230: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 | 264kb | OK! | 10 |
| 2 | 0ms | 264kb | Raspunsul nu este optim | 0 |
| 3 | 0ms | 260kb | Primul numar are lungime mai mica decat L | 0 |
| 4 | 0ms | 264kb | Cifre folosite gresit | 0 |
| 5 | 0ms | 260kb | Raspunsul nu este optim | 0 |
| 6 | 0ms | 264kb | 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 | 264kb | OK! | 10 |
| Punctaj total | 20 |