Borderou de evaluare (job #1573504)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 19 ianuarie 2016 19:05:54
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:86: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:88:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:102:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^ /tmp/ccf2hPd7.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
10ms712kbCool!10
20ms708kbCool!10
30ms712kbCool!10
4Depăşit676kbTime limit exceeded.0
50ms708kbUrat.. urat de tot: raspuns gresit0
64ms716kbUrat.. urat de tot: raspuns gresit0
74ms716kbUrat.. urat de tot: raspuns gresit0
84ms712kbUrat.. urat de tot: raspuns gresit0
916ms716kbUrat.. urat de tot: raspuns gresit0
104ms716kbUrat.. urat de tot: raspuns gresit0
Punctaj total30

Ceva nu functioneaza?