Pagini recente » Borderou de evaluare (job #2647841) | Borderou de evaluare (job #2349791) | Borderou de evaluare (job #1651029) | Borderou de evaluare (job #1923276) | Borderou de evaluare (job #1206127)
Borderou de evaluare (job #1206127)
Raport evaluator
Compilare:
user.cpp: In function ‘void GenInitSeq(double)’:
user.cpp:49:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int> >::value_type {aka long unsigned int}’ [-Wformat=]
for (int i = 0; i < n; ++i) printf("%d ", numInit[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:56:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N; i++) scanf("%d", &num[i]);
^
user.cpp:56:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int> >::value_type* {aka long unsigned int*}’ [-Wformat=]
for (int i = 0; i < N; i++) scanf("%d", &num[i]);
^
user.cpp:53:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume.in", "r", stdin);
^
user.cpp:54:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume.out", "w", stdout);
^
user.cpp:55:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:56:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < N; i++) scanf("%d", &num[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 600kb | Non-zero exit status. | 0 |
| 2 | 0ms | 604kb | Non-zero exit status. | 0 |
| 3 | 0ms | 596kb | Non-zero exit status. | 0 |
| 4 | 0ms | 596kb | Non-zero exit status. | 0 |
| 5 | 0ms | 604kb | Non-zero exit status. | 0 |
| 6 | 0ms | 596kb | Non-zero exit status. | 0 |
| 7 | 0ms | 600kb | Non-zero exit status. | 0 |
| 8 | 0ms | 604kb | Non-zero exit status. | 0 |
| 9 | 0ms | 596kb | Non-zero exit status. | 0 |
| 10 | 4ms | 600kb | Non-zero exit status. | 0 |
| 11 | 0ms | 596kb | Non-zero exit status. | 0 |
| 12 | 0ms | 604kb | Non-zero exit status. | 0 |
| 13 | 4ms | 600kb | Non-zero exit status. | 0 |
| 14 | 4ms | 600kb | Non-zero exit status. | 0 |
| 15 | 4ms | 596kb | Non-zero exit status. | 0 |
| 16 | 4ms | 600kb | Non-zero exit status. | 0 |
| 17 | 4ms | 600kb | Non-zero exit status. | 0 |
| 18 | 4ms | 604kb | Non-zero exit status. | 0 |
| 19 | 4ms | 600kb | Non-zero exit status. | 0 |
| 20 | 4ms | 604kb | Non-zero exit status. | 0 |
| Punctaj total | 0 |