Borderou de evaluare (job #2353844)

Utilizator AlexVolatiluVoicu Alex AlexVolatilu Data 24 februarie 2019 17:23:47
Problema Distanta Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int parse_int()': main.cpp:15:13: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num; ^~~ main.cpp:27:21: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num; ^~~ main.cpp:41:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num; ^~~ main.cpp: In function 'int main()': main.cpp:65:59: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] printf("%.8llf\n", (aux) >= 0 ? (aux) : -(aux)); ^ main.cpp:70:59: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] printf("%.8llf\n", (aux) >= 0 ? (aux) : -(aux)); ^ main.cpp:81:43: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] printf("%.8llf\n", aux1 + aux2); ^ main.cpp:50:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("distanta.in", "r", stdin); ^ main.cpp:51:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("distanta.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms131kbOK100
Punctaj total100

Ceva nu functioneaza?