Pagini recente » Borderou de evaluare (job #362005) | Borderou de evaluare (job #1638812) | Borderou de evaluare (job #941335) | Borderou de evaluare (job #1257038) | Borderou de evaluare (job #1532433)
Borderou de evaluare (job #1532433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", dr);
^
user.cpp:47:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", st);
^
user.cpp:11:38: 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:12:40: 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:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &N, &B);
^
user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 284kb | OK | 10 |
✓ | 2 | 0ms | 288kb | OK | 10 |
✓ | 3 | 0ms | 296kb | OK | 10 |
✓ | 4 | 0ms | 292kb | OK | 10 |
✓ | 5 | 0ms | 324kb | OK | 10 |
✓ | 6 | 0ms | 320kb | OK | 10 |
✓ | 7 | 20ms | 596kb | OK | 10 |
✓ | 8 | 20ms | 592kb | OK | 10 |
✓ | 9 | 56ms | 984kb | OK | 10 |
✓ | 10 | 52ms | 988kb | OK | 10 |
Punctaj total | 100 |