Borderou de evaluare (job #1440208)

Utilizator UTCN_heapstrUTCN HeapStr UTCN_heapstr Data 23 mai 2015 11:50:38
Problema Largest Root Status done
Runda ACM-ICPC Faza Nationala 2015-2016 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:138:40: warning: unused variable ‘multres’ [-Wunused-variable] Huge plus_accum, negative_acum, aux, multres, power_accum; ^ user.cpp:108:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("largestroot.in", "r", stdin); ^ user.cpp:109:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("largestroot.out", "w", stdout); ^ user.cpp:111:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:114:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:117:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc1lCl3m.o: In function `main': user.cpp:(.text.startup+0xc9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms308kbOK100
Punctaj total100

Ceva nu functioneaza?