Pagini recente » Borderou de evaluare (job #183608) | Borderou de evaluare (job #2387336) | Borderou de evaluare (job #1958052) | Borderou de evaluare (job #462011) | Borderou de evaluare (job #1694857)
Borderou de evaluare (job #1694857)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf( input_file, "%d", &T );
^
user.cpp:19:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf( input_file, "%d %d", &N, &S );
^
user.cpp:19:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf( input_file, "%d", &V[i] );
^
user.cpp:16:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( input_file, "%d", &T );
^
user.cpp:19:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( input_file, "%d %d", &N, &S );
^
user.cpp:27:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( input_file, "%d", &V[i] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 288kb | Incorect | 0 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 0ms | 312kb | Incorect | 0 |
8 | 0ms | 312kb | Incorect | 0 |
9 | 0ms | 312kb | Incorect | 0 |
10 | 0ms | 312kb | Incorect | 0 |
Punctaj total | 0 |