Borderou de evaluare (job #2008869)

Utilizator stefzahZaharia Stefan Tudor stefzah Data 7 august 2017 20:27:23
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/ccrFbtv3.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
10ms304kbOK10
20ms296kbOK10
34ms368kbOK10
40ms304kbOK10
54ms324kbOK10
6104ms348kbOK10
7Depăşit344kbTime limit exceeded.0
8Depăşit336kbTime limit exceeded.0
9Depăşit388kbTime limit exceeded.0
10Depăşit408kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?