Borderou de evaluare (job #1939623)

Utilizator mariakKapros Maria mariak Data 25 martie 2017 21:05:46
Problema Sirag 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void compute_dp(int)’: user.cpp:25:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < List[r].size(); ++ i){ ^ user.cpp: In function ‘int main()’: user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:46:33: 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:47:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(str + 1); ^ /tmp/cceAC9ry.o: In function `main': user.cpp:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms2360kbOK10
24ms1680kbOK10
34ms1676kbOK10
44ms1672kbOK10
584ms3852kbOK10
684ms3856kbOK10
784ms3856kbOK10
884ms3856kbOK10
984ms3856kbOK10
1084ms3860kbOK10
Punctaj total100

Ceva nu functioneaza?