Pagini recente » Borderou de evaluare (job #86608) | Autentificare | Borderou de evaluare (job #2832399) | Borderou de evaluare (job #296608) | Borderou de evaluare (job #1542067)
Borderou de evaluare (job #1542067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(poz>0&&poz<n)printf("%d",(b-val)/(n-poz));
^
user.cpp:38:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d",b/n);
^
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 | 264kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 288kb | Incorect | 0 |
| 6 | 0ms | 280kb | Incorect | 0 |
| 7 | 16ms | 420kb | Incorect | 0 |
| 8 | 20ms | 424kb | Incorect | 0 |
| 9 | 44ms | 616kb | Incorect | 0 |
| 10 | 44ms | 616kb | Incorect | 0 |
| Punctaj total | 40 |