Borderou de evaluare (job #1233322)

Utilizator pulseOvidiu Giorgi pulse Data 25 septembrie 2014 09:40:28
Problema Bridge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:135:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &N, &M); ^ user.cpp:135:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:138:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &A[i]); ^ user.cpp:143:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &Where[ T[i] ]); ^ user.cpp:133:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bridge.in", "r", stdin); ^ user.cpp:134:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bridge.out", "w", stdout); ^ user.cpp:135:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:138:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A[i]); ^ user.cpp:143:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Where[ T[i] ]); ^ user.cpp:148:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms264kbIncorect0
30ms260kbIncorect0
40ms260kbIncorect0
516ms264kbIncorect0
620ms268kbIncorect0
720ms264kbIncorect0
816ms264kbIncorect0
924ms264kbIncorect0
1028ms264kbIncorect0
Punctaj total0

Ceva nu functioneaza?