Borderou de evaluare (job #1351164)

Utilizator UTCN_BrinduseAlexandru Brinduse UTCN_Brinduse Data 21 februarie 2015 10:28:20
Problema Por Costel si Azerah Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int64 logarithmicExponential(int64, int64, int)’: user.cpp:19:8: warning: unused variable ‘p’ [-Wunused-variable] int64 p = k; ^ user.cpp: In function ‘int main()’: user.cpp:98:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64 {aka long long unsigned int}’ [-Wformat=] printf("%d\n", res-1); ^ user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(IN_FILE_NAME, "r", stdin); ^ user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(OUT_FILE_NAME, "w", stdout); ^ user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tests); ^ user.cpp:80:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1248ms260kbIncorect0
Punctaj total0

Ceva nu functioneaza?