Borderou de evaluare (job #1840554)

Utilizator mariakKapros Maria mariak Data 4 ianuarie 2017 15:52:30
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:106:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &L, &N); ^ user.cpp:107:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:111:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &len); ^ user.cpp:112:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ /tmp/cc9Pq9Hq.o: In function `main': user.cpp:(.text.startup+0x38): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1236ms7028kbIncorect0
24ms556kbIncorect0
3248ms9112kbOK10
4240ms7020kbIncorect0
5316ms9124kbIncorect0
6112ms5020kbIncorect0
7360ms9108kbOK10
8360ms9124kbIncorect0
9148ms4652kbIncorect0
1012ms972kbIncorect0
Punctaj total20

Ceva nu functioneaza?