Borderou de evaluare (job #1446298)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 iunie 2015 13:11:16
Problema Harddp Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harddp.in","r",stdin); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harddp.out","w",stdout); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &T); T ; printf("\n"), --T) ^ user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); gets(sir + 1); ^ user.cpp:15:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); gets(sir + 1); ^ /tmp/ccYx1aDh.o: In function `main': user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbBriliantul te premieaza!100
Punctaj total100

Ceva nu functioneaza?