Borderou de evaluare (job #1839957)

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

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/cc1tHe40.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
10ms420kbOK10
20ms340kbOK10
38msDepăşitMemory limit exceeded.0
40ms540kbOK10
54ms840kbOK10
696msDepăşitMemory limit exceeded.0
7148msDepăşitMemory limit exceeded.0
8148msDepăşitMemory limit exceeded.0
996msDepăşitMemory limit exceeded.0
1096msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?