Pagini recente » Borderou de evaluare (job #3181373) | Borderou de evaluare (job #795694) | Borderou de evaluare (job #2765685) | Borderou de evaluare (job #2589287) | Borderou de evaluare (job #1763017)
Borderou de evaluare (job #1763017)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &v[i]);
^
user.cpp:102:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", ans);
^
user.cpp:52:25: warning: unused variable ‘minim’ [-Wunused-variable]
long long ans, rez, minim, maxim, sum;
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.in", "r", stdin);
^
user.cpp:49:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teamwork.out", "w", stdout);
^
user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:57:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 312kb | Incorect | 0 | 0 |
✗ | 2 | 0ms | 316kb | Incorect | 0 | 0 |
✗ | 3 | 256ms | 3424kb | Incorect | 0 | 0 |
✗ | 4 | 256ms | 3428kb | Incorect | 0 |
✓ | 5 | 256ms | 3428kb | Incorect | 0 | 0 |
✗ | 6 | 260ms | 3424kb | Incorect | 0 | 0 |
✗ | 7 | Depăşit | 9216kb | Time limit exceeded. | 0 | 0 |
✓ | 8 | Depăşit | 8888kb | Time limit exceeded. | 0 | 0 |
✗ | 9 | Depăşit | 9220kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | Depăşit | 9004kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |