Pagini recente » Borderou de evaluare (job #940597) | Borderou de evaluare (job #3323418) | Borderou de evaluare (job #1226137) | Borderou de evaluare (job #3308040) | Borderou de evaluare (job #1128814)
Borderou de evaluare (job #1128814)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%ld%ld",&m,&n);
^
user.cpp:9:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
{fscanf(f,"%ld",&x);v[x]+=1;}
^
user.cpp:13:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
{fscanf(f,"%ld",&x);v[x]+=2;}
^
user.cpp:16:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
{fprintf(g,"%ld ",i);p1=i;break;}
^
user.cpp:19:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
{fprintf(g,"%ld ",i);p2=i;break;}
^
user.cpp:27:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld ",1);
^
user.cpp:30:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld ",2);
^
user.cpp:31:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
else fprintf(g,"%ld ",0);
^
user.cpp:18:12: warning: array subscript is above array bounds [-Warray-bounds]
if (v[i]==3)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 232kb | OK | 5 |
| 2 | 0ms | 236kb | Incorect | 0 |
| 3 | 4ms | 348kb | Incorect | 0 |
| 4 | 4ms | 324kb | OK | 5 |
| 5 | 4ms | 344kb | OK | 5 |
| 6 | 4ms | 440kb | Incorect | 0 |
| 7 | 4ms | 492kb | OK | 5 |
| 8 | 4ms | 560kb | OK | 5 |
| 9 | 4ms | 500kb | Incorect | 0 |
| 10 | 4ms | 544kb | Incorect | 0 |
| 11 | 4ms | 476kb | OK | 5 |
| 12 | 4ms | 484kb | OK | 5 |
| 13 | 4ms | 248kb | Incorect | 0 |
| 14 | 8ms | 292kb | Incorect | 0 |
| 15 | 8ms | 480kb | OK | 5 |
| 16 | 16ms | 480kb | OK | 5 |
| 17 | 12ms | 388kb | Incorect | 0 |
| 18 | 16ms | 440kb | Incorect | 0 |
| 19 | 16ms | 480kb | Incorect | 0 |
| 20 | 20ms | 452kb | OK | 5 |
| Punctaj total | 50 |