Pagini recente » Borderou de evaluare (job #2400560) | Borderou de evaluare (job #2601825) | Borderou de evaluare (job #2068450) | Borderou de evaluare (job #807725) | Borderou de evaluare (job #1683404)
Borderou de evaluare (job #1683404)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&in[i]);
^
user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(i=1;i<=n;i++) printf("%d ",sol[i]);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out","w",stdout);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&in[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 276kb | OK | 10 |
✗ | 2 | Depăşit | 1820kb | Time limit exceeded. | 0 |
✓ | 3 | 68ms | 1836kb | OK | 10 |
✗ | 4 | 0ms | 276kb | Incorect | 0 |
✗ | 5 | Depăşit | 1820kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 1812kb | Time limit exceeded. | 0 |
✓ | 7 | 8ms | 272kb | Incorect | 0 |
✗ | 8 | 4ms | 272kb | Incorect | 0 |
✗ | 9 | 60ms | 288kb | Incorect | 0 |
✗ | 10 | Depăşit | 1304kb | Time limit exceeded. | 0 |
Punctaj total | 20 |