Borderou de evaluare (job #1839967)

Utilizator antanaAntonia Boca antana Data 3 ianuarie 2017 17:20:41
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.in", "r", stdin); ^ user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.out", "w", stdout); ^ user.cpp:22:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n", &k, &a, &b); ^ user.cpp:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cccmU8VV.o: In function `main': user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms296kbOK10
34ms364kbOK10
40ms304kbOK10
54ms316kbOK10
6104ms348kbOK10
7Depăşit356kbTime limit exceeded.0
8Depăşit332kbTime limit exceeded.0
9Depăşit388kbTime limit exceeded.0
10Depăşit404kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?