Pagini recente » Borderou de evaluare (job #901901) | Borderou de evaluare (job #258942) | Borderou de evaluare (job #398424) | Borderou de evaluare (job #2238721) | Borderou de evaluare (job #1542085)
Borderou de evaluare (job #1542085)
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 | 280kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 292kb | Incorect | 0 |
6 | 0ms | 296kb | Incorect | 0 |
7 | 20ms | 424kb | Incorect | 0 |
8 | 16ms | 428kb | Incorect | 0 |
9 | 52ms | 624kb | Incorect | 0 |
10 | 44ms | 620kb | Incorect | 0 |
Punctaj total | 40 |