Borderou de evaluare (job #1440827)

Utilizator GG_FacilUNIBUC GG Facil GG_Facil Data 23 mai 2015 14:21:03
Problema Largest Root Status done
Runda ACM-ICPC Faza Nationala 2015-2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void sol()’: user.cpp:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &n); ^ user.cpp:78:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (ss + 1); ^ user.cpp: In function ‘int main()’: user.cpp:118:42: 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:119:44: 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:122:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &t); ^ /tmp/ccstPrvi.o: In function `sol()': user.cpp:(.text+0x349): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms292kbIncorect0
Punctaj total0

Ceva nu functioneaza?