Pagini recente » Borderou de evaluare (job #2566740) | Borderou de evaluare (job #1184944) | Borderou de evaluare (job #2440370) | Borderou de evaluare (job #1506003) | Borderou de evaluare (job #1537900)
Borderou de evaluare (job #1537900)
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 | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 324kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 |
7 | 20ms | 600kb | OK | 10 |
8 | 24ms | 596kb | OK | 10 |
9 | 56ms | 992kb | OK | 10 |
10 | 52ms | 992kb | OK | 10 |
Punctaj total | 100 |