Borderou de evaluare (job #1573648)

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

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/ccWiwajA.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
10ms968kbUrat.. urat de tot: raspuns gresit0
20ms968kbCool!10
34ms964kbCool!10
40ms968kbUrat.. urat de tot: raspuns gresit0
5Depăşit932kbTime limit exceeded.0
6Depăşit928kbTime limit exceeded.0
7Depăşit932kbTime limit exceeded.0
88ms972kbUrat.. urat de tot: raspuns gresit0
98ms972kbUrat.. urat de tot: raspuns gresit0
108ms964kbUrat.. urat de tot: raspuns gresit0
Punctaj total20

Ceva nu functioneaza?