Borderou de evaluare (job #1573652)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 19 ianuarie 2016 20:37:01
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &l); ^ user.cpp:86:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:100:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^ /tmp/cc0mW5ak.o: In function `main': user.cpp:(.text.startup+0x50): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms968kbCool!10
20ms972kbCool!10
30ms964kbCool!10
416ms972kbCool!10
50ms968kbUrat.. urat de tot: raspuns gresit0
612ms972kbUrat.. urat de tot: raspuns gresit0
74ms968kbUrat.. urat de tot: raspuns gresit0
84ms964kbUrat.. urat de tot: raspuns gresit0
924ms972kbUrat.. urat de tot: raspuns gresit0
104ms972kbUrat.. urat de tot: raspuns gresit0
Punctaj total40

Ceva nu functioneaza?