Pagini recente » Borderou de evaluare (job #1640044) | Borderou de evaluare (job #1828528) | Borderou de evaluare (job #1478263) | Borderou de evaluare (job #1659426) | Borderou de evaluare (job #1227148)
Borderou de evaluare (job #1227148)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d", &N, &L, &U);
^
user.cpp:14:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:14:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sum2.in","r", stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.out","w",stdout);
^
user.cpp:14:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &L, &U);
^
user.cpp:15:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= N; i++) scanf("%lld", &A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 4ms | 452kb | OK | 10 |
4 | 8ms | 536kb | OK | 10 |
5 | 12ms | 608kb | Incorect | 0 |
6 | 16ms | 688kb | Incorect | 0 |
7 | 16ms | 772kb | OK | 10 |
8 | 24ms | 848kb | OK | 10 |
9 | 24ms | 924kb | OK | 10 |
10 | 32ms | 1076kb | Incorect | 0 |
Punctaj total | 70 |