Pagini recente » Borderou de evaluare (job #279986) | Borderou de evaluare (job #543780) | Borderou de evaluare (job #950282) | Borderou de evaluare (job #90367) | Borderou de evaluare (job #1542091)
Borderou de evaluare (job #1542091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
else if(poz==n)printf("%lld",a[poz]);
^
user.cpp:20:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("buget.in","r",stdin);
^
user.cpp:21:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&b);
^
user.cpp:24:23: 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 | 268kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 292kb | Incorect | 0 |
| 6 | 0ms | 296kb | Incorect | 0 |
| 7 | 20ms | 428kb | Incorect | 0 |
| 8 | 20ms | 428kb | Incorect | 0 |
| 9 | 44ms | 628kb | Incorect | 0 |
| 10 | 44ms | 628kb | Incorect | 0 |
| Punctaj total | 40 |