Borderou de evaluare (job #1573603)

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

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/ccgF6kPC.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
10ms972kbCool!10
20ms972kbCool!10
30ms972kbCool!10
416ms968kbUrat.. urat de tot: raspuns gresit0
50ms964kbUrat.. urat de tot: raspuns gresit0
64ms968kbUrat.. urat de tot: raspuns gresit0
74ms964kbUrat.. urat de tot: raspuns gresit0
84ms972kbUrat.. urat de tot: raspuns gresit0
916ms968kbUrat.. urat de tot: raspuns gresit0
104ms972kbUrat.. urat de tot: raspuns gresit0
Punctaj total30

Ceva nu functioneaza?