Borderou de evaluare (job #1465111)

Utilizator akaprosAna Kapros akapros Data 26 iulie 2015 15:22:40
Problema Jstc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int root(int)’: user.cpp:13:16: warning: unused variable ‘z’ [-Wunused-variable] int r = y, z; ^ user.cpp: In function ‘int main()’: user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jstc.in", "r", stdin); ^ user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jstc.out", "w", stdout); ^ user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &a, &b); ^ user.cpp:24:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc6x9XhT.o: In function `main': user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms292kbOK55
292ms416kbOK55
392ms420kbOK55
4Depăşit884kbTime limit exceeded.00
5Depăşit892kbTime limit exceeded.00
6Depăşit1256kbTime limit exceeded.00
7Depăşit7832kbTime limit exceeded.00
8484ms15892kbOK5
9Depăşit7840kbTime limit exceeded.0
10280ms9356kbOK5
11Depăşit7848kbTime limit exceeded.0
12284ms9356kbOK5
13Depăşit7912kbTime limit exceeded.0
14728ms9348kbOK5
15Depăşit7992kbTime limit exceeded.0
16236ms8284kbKilled by signal 11(SIGSEGV).0
17Depăşit7980kbTime limit exceeded.0
18220ms8288kbKilled by signal 11(SIGSEGV).0
19Depăşit12944kbTime limit exceeded.0
20212ms8280kbKilled by signal 11(SIGSEGV).0
Punctaj total15

Ceva nu functioneaza?