Pagini recente » Borderou de evaluare (job #1037802) | Borderou de evaluare (job #1161863) | Borderou de evaluare (job #1137797) | Borderou de evaluare (job #2633666) | Borderou de evaluare (job #2348735)
Borderou de evaluare (job #2348735)
Raport evaluator
Compilare:
main.cpp: In function 'void read(const int&, const usi_t*)':
main.cpp:36:38: warning: writing into constant object (argument 3) [-Wformat=]
fscanf(in_file, "%d", &arr_length);
^
main.cpp:38:39: warning: writing into constant object (argument 3) [-Wformat=]
fscanf(in_file, "%hu", &arr[i]);
^
main.cpp:36:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in_file, "%d", &arr_length);
^
main.cpp:38:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in_file, "%hu", &arr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 131kb | Corect! | 5 |
2 | 2ms | 131kb | Corect! | 5 |
3 | 2ms | 131kb | Corect! | 5 |
4 | 2ms | 131kb | Corect! | 5 |
5 | 4ms | 131kb | Corect! | 5 |
6 | 2ms | 131kb | Corect! | 5 |
7 | 2ms | 131kb | Corect! | 5 |
8 | 2ms | 131kb | Corect! | 5 |
9 | 2ms | 131kb | Corect! | 5 |
10 | 4ms | 131kb | Corect! | 5 |
11 | 2ms | 131kb | Corect! | 5 |
12 | 3ms | 131kb | Corect! | 5 |
13 | 2ms | 131kb | Corect! | 5 |
14 | 2ms | 131kb | Corect! | 5 |
15 | 2ms | 131kb | Corect! | 5 |
16 | 2ms | 131kb | Corect! | 5 |
17 | 2ms | 131kb | Corect! | 5 |
18 | 3ms | 131kb | Corect! | 5 |
19 | 2ms | 131kb | Corect! | 5 |
20 | 2ms | 131kb | Corect! | 5 |
Punctaj total | 100 |