Borderou de evaluare (job #1272371)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:36:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:37:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(n==1){int x; scanf("%d",&x); printf("%d",x); }
^
user.cpp:41:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=n; i++)scanf("%d",&v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 444kb | OK | 10 |
✓ | 2 | 0ms | 432kb | OK | 10 |
✓ | 3 | 4ms | 516kb | Incorect | 0 |
✓ | 4 | 40ms | 1216kb | Incorect | 0 |
✓ | 5 | 0ms | 428kb | OK | 10 |
✓ | 6 | 4ms | 520kb | Incorect | 0 |
✓ | 7 | 40ms | 1216kb | Incorect | 0 |
✓ | 8 | 8ms | 596kb | Incorect | 0 |
✓ | 9 | 44ms | 1152kb | Incorect | 0 |
✓ | 10 | 44ms | 1148kb | Incorect | 0 |
Punctaj total | 30 |