Pagini recente » Borderou de evaluare (job #1146841) | Borderou de evaluare (job #2341427) | Borderou de evaluare (job #2985013) | Borderou de evaluare (job #1777032) | Borderou de evaluare (job #1749576)
Borderou de evaluare (job #1749576)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld%ld",&n,&k,&MOD);
^
user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:30:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:38:47: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
while (zeros(sav)*2==zeros(sav-zeros(sav)) && zeros(sav)!=0)
^
user.cpp:3:21: note: in definition of macro ‘zeros’
#define zeros(x) ( (x ^ (x - 1)) & x )
^
user.cpp:38:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
while (zeros(sav)*2==zeros(sav-zeros(sav)) && zeros(sav)!=0)
^
user.cpp:3:36: note: in definition of macro ‘zeros’
#define zeros(x) ( (x ^ (x - 1)) & x )
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.in","r",stdin);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:30:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&n,&k,&MOD);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 412kb | OK | 5 | 10 |
✓ | 2 | 0ms | 412kb | OK | 5 |
✓ | 3 | 12ms | 416kb | OK | 5 | 15 |
✗ | 4 | 12ms | 416kb | OK | 5 |
✗ | 5 | 8ms | 416kb | OK | 5 |
✗ | 6 | Depăşit | 416kb | Time limit exceeded. | 0 | 0 |
✓ | 7 | Depăşit | 408kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 412kb | Time limit exceeded. | 0 |
✗ | 9 | 0ms | 412kb | Incorect | 0 |
✗ | 10 | 0ms | 412kb | OK | 5 |
✓ | 11 | Depăşit | 408kb | Time limit exceeded. | 0 | 0 |
✗ | 12 | Depăşit | 388kb | Time limit exceeded. | 0 |
✗ | 13 | Depăşit | 408kb | Time limit exceeded. | 0 |
✗ | 14 | Depăşit | 408kb | Time limit exceeded. | 0 |
✓ | 15 | Depăşit | 408kb | Time limit exceeded. | 0 |
✗ | 16 | Depăşit | 408kb | Time limit exceeded. | 0 | 0 |
✓ | 17 | Depăşit | 412kb | Time limit exceeded. | 0 |
✗ | 18 | Depăşit | 412kb | Time limit exceeded. | 0 |
✓ | 19 | Depăşit | 412kb | Time limit exceeded. | 0 |
✓ | 20 | Depăşit | 408kb | Time limit exceeded. | 0 |
Punctaj total | 25 |