Borderou de evaluare (job #1454843)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",a[n]);
^
user.cpp:53:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",x);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✗ | 1 | 0ms | 248kb | Incorect | 0 |
✓ | 2 | 0ms | 248kb | OK | 10 |
✗ | 3 | Depăşit | 220kb | Time limit exceeded. | 0 |
✗ | 4 | Depăşit | 220kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 220kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 220kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 216kb | Time limit exceeded. | 0 |
✗ | 8 | Depăşit | 220kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 220kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 220kb | Time limit exceeded. | 0 |
Punctaj total | 10 |