Pagini recente » Borderou de evaluare (job #898560) | Cod sursa (job #898528) | Borderou de evaluare (job #902500) | Borderou de evaluare (job #1679243) | Borderou de evaluare (job #1602196)
Borderou de evaluare (job #1602196)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100000]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:28:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (l<(strlen(s)-1))
^
user.cpp:30:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((i<strlen(s)-1)&&(ok==1))
^
user.cpp:51:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=2;i<=strlen(s);i++)
^
user.cpp:20:33: warning: unused variable ‘c’ [-Wunused-variable]
int p,i,k,m=0,l=2,ok=1,pr=0,c=1,j,vf; i=l;
^
user.cpp:20:37: warning: unused variable ‘j’ [-Wunused-variable]
int p,i,k,m=0,l=2,ok=1,pr=0,c=1,j,vf; i=l;
^
user.cpp:21:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p); char s[100000];
^
user.cpp:22:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 5 |
| 2 | 0ms | 448kb | OK | 5 |
| 3 | 0ms | 444kb | OK | 5 |
| 4 | Depăşit | 500kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 500kb | Time limit exceeded. | 0 |
| 6 | 0ms | 440kb | OK | 5 |
| 7 | 0ms | 452kb | OK | 5 |
| 8 | 0ms | 448kb | OK | 5 |
| 9 | 40ms | 456kb | OK | 5 |
| 10 | Depăşit | 436kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 500kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 472kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 504kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 496kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 472kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 488kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 488kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 500kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 504kb | Time limit exceeded. | 0 |
| 20 | 0ms | 440kb | OK | 5 |
| Punctaj total | 40 |