Borderou de evaluare (job #1472983)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 18 august 2015 12:06:05
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:98:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri2.in","r",stdin); ^ user.cpp:99:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri2.out","w",stdout); ^ user.cpp:106:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d\n", &T); T ; --T) ^ user.cpp:108:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); int lenght = strlen(sir + 1); ^ user.cpp:109:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &P); ^ /tmp/ccNkcaq7.o: In function `main': user.cpp:(.text.startup+0xd0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13592ms460kbOK500
2Depăşit452kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?