Borderou de evaluare (job #1373571)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 4 martie 2015 19:34:38
Problema Spion Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp:4:11: warning: overflow in implicit constant conversion [-Woverflow] short mod=100003,i,c,k,nr=1,j,m[10000][10000]; ^ user.cpp: In function ‘int main()’: user.cpp:10:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d\n",&c); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spion.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spion.out","w",stdout); ^ user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&c); ^ user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v); ^ /tmp/ccgz8jNn.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK5
20ms268kbOK5
30ms332kbIncorect0
40ms348kbIncorect0
50ms320kbIncorect0
60ms1348kbIncorect0
712ms5228kbIncorect0
836ms11372kbIncorect0
9100msDepăşitMemory limit exceeded.0
10100msDepăşitMemory limit exceeded.0
11148msDepăşitMemory limit exceeded.0
12196msDepăşitMemory limit exceeded.0
130ms268kbKilled by signal 11(SIGSEGV).0
140ms276kbKilled by signal 11(SIGSEGV).0
150ms284kbKilled by signal 11(SIGSEGV).0
16100msDepăşitMemory limit exceeded.0
17148msDepăşitMemory limit exceeded.0
18200msDepăşitMemory limit exceeded.0
190ms328kbKilled by signal 11(SIGSEGV).0
200ms320kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?