Pagini recente » Borderou de evaluare (job #1291653) | Borderou de evaluare (job #1876475) | Borderou de evaluare (job #1839561) | Borderou de evaluare (job #1603523) | Borderou de evaluare (job #1964605)
Borderou de evaluare (job #1964605)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d", &output_dim);
^
user.cpp:41:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d", &aux);
^
user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d\n%d ", input_dim, a1);
^
user.cpp:48:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:52:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}’ [-Wformat=]
fprintf(fout, "%d", output_arr[i] - a1);
^
user.cpp:54:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}’ [-Wformat=]
fprintf(fout, "%d ", output_arr[i] - a1);
^
user.cpp:36:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &output_dim);
^
user.cpp:41:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &aux);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | Wrong answer! | 0 |
| 2 | 0ms | 436kb | Wrong answer! | 0 |
| 3 | 0ms | 432kb | Wrong answer! | 0 |
| 4 | 0ms | 436kb | Wrong answer! | 0 |
| 5 | 0ms | 440kb | Wrong answer! | 0 |
| 6 | 0ms | 428kb | Wrong answer! | 0 |
| 7 | 0ms | 436kb | Wrong answer! | 0 |
| 8 | 0ms | 436kb | Wrong answer! | 0 |
| 9 | 0ms | 440kb | Wrong answer! | 0 |
| 10 | 0ms | 436kb | Wrong answer! | 0 |
| 11 | 0ms | 428kb | Wrong answer! | 0 |
| 12 | 0ms | 436kb | Wrong answer! | 0 |
| 13 | 0ms | 440kb | Wrong answer! | 0 |
| 14 | 0ms | 440kb | Wrong answer! | 0 |
| 15 | 0ms | 436kb | Wrong answer! | 0 |
| 16 | 0ms | 436kb | Wrong answer! | 0 |
| 17 | 0ms | 436kb | Wrong answer! | 0 |
| 18 | 0ms | 440kb | Wrong answer! | 0 |
| 19 | 0ms | 432kb | Wrong answer! | 0 |
| 20 | 0ms | 436kb | Wrong answer! | 0 |
| Punctaj total | 0 |