Borderou de evaluare (job #1274436)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 23 noiembrie 2014 20:43:22
Problema Raliu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ", &t); ^ user.cpp:15:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ", &n); ^ user.cpp:18:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ", &a[i]); ^ user.cpp:22:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ", &b[i]); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raliu.in", "r", stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raliu.out", "w", stdout); ^ user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &t); ^ user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms276kbOK10
34ms296kbOK10
4152ms1204kbOK10
5256ms1824kbOK10
6388ms2608kbOK10
71728ms9636kbOK10
82464ms14324kbOK10
92436ms14324kbOK10
102776ms15884kbIncorect0
Punctaj total90

Ceva nu functioneaza?