Borderou de evaluare (job #1804089)

Utilizator calin1Serban Calin calin1 Data 12 noiembrie 2016 11:07:42
Problema Log Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:63:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n",&n); ^ user.cpp:65:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d\n", &t1, &t2, &t3); ^ user.cpp:65:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:65:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:69:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n", &vec[i].a, &vec[i].b); ^ user.cpp:69:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:65:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &t1, &t2, &t3); ^ user.cpp:69:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &vec[i].a, &vec[i].b); ^ user.cpp: In function ‘int main()’: user.cpp:77:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("log.in","r",stdin); ^ user.cpp:78:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("log.out","w",stdout); ^ user.cpp: In function ‘long long int cazul2(long long int)’: user.cpp:45:12: warning: ‘tmp’ may be used uninitialized in this function [-Wmaybe-uninitialized] return tmp; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbIncorect0
20ms452kbIncorect0
30ms456kbIncorect0
40ms460kbIncorect0
50ms460kbIncorect0
60ms460kbIncorect0
70ms452kbIncorect0
80ms452kbIncorect0
90ms460kbIncorect0
100ms452kbIncorect0
110ms456kbIncorect0
120ms460kbIncorect0
130ms460kbIncorect0
140ms460kbIncorect0
15Depăşit592kbTime limit exceeded.0
16Depăşit600kbTime limit exceeded.0
17Depăşit608kbTime limit exceeded.0
18Depăşit620kbTime limit exceeded.0
19Depăşit616kbTime limit exceeded.0
20236ms676kbIncorect0
Punctaj total0

Ceva nu functioneaza?