Pagini recente » Borderou de evaluare (job #1191397) | Borderou de evaluare (job #2943665) | Borderou de evaluare (job #718952) | Borderou de evaluare (job #149161) | Borderou de evaluare (job #1270489)
Borderou de evaluare (job #1270489)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:11:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
while( (x % ( 1<<j+1) ) == 0)
^
user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",x / (1<<j));
^
user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",j);
^
user.cpp:15:13: warning: unused variable ‘q’ [-Wunused-variable]
int q=j;
^
user.cpp: In function ‘int main()’:
user.cpp:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:26:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 260kb | Corect | 10 |
✓ | 2 | 0ms | 260kb | Incorect | 0 |
✓ | 3 | 0ms | 256kb | Incorect | 0 |
✓ | 4 | 0ms | 228kb | Fisier de iesire incomplet! | 0 |
✓ | 5 | 0ms | 232kb | Fisier de iesire incomplet! | 0 |
✓ | 6 | 0ms | 264kb | Incorect | 0 |
✓ | 7 | 0ms | 260kb | Incorect | 0 |
✓ | 8 | 0ms | 264kb | Incorect | 0 |
✓ | 9 | 0ms | 256kb | Incorect | 0 |
✓ | 10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 10 |