Borderou de evaluare (job #1379356)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:29: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%hd",&y[i]);
^
user.cpp:20:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:22:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%hd",&y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Primul numar corect | 1 |
2 | 0ms | 296kb | Primul numar corect | 1 |
3 | 0ms | 320kb | Primul numar corect | 1 |
4 | 0ms | 364kb | Primul numar corect | 1 |
5 | 8ms | 592kb | Primul numar corect | 1 |
6 | 8ms | 664kb | Primul numar corect | 1 |
7 | 12ms | 732kb | Primul numar corect | 1 |
8 | 12ms | 780kb | Primul numar corect | 1 |
9 | 12ms | 804kb | Primul numar corect | 1 |
10 | 0ms | 268kb | Primul numar corect | 1 |
Punctaj total | 10 |