Pagini recente » Borderou de evaluare (job #2109751) | Borderou de evaluare (job #2148721) | Borderou de evaluare (job #2647343) | Borderou de evaluare (job #2879209) | Borderou de evaluare (job #1447908)
Borderou de evaluare (job #1447908)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read_Text()’:
user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:42:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux);
^
user.cpp: In function ‘void Set()’:
user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( Cuv[i] );
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:4:
In function ‘char* gets(char*)’,
inlined from ‘void Set()’ at user.cpp:67:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccXWtoZF.o: In function `Set()':
user.cpp:(.text+0x1b7): warning: the `gets' function is dangerous and should not be used.
/tmp/ccXWtoZF.o: In function `Read_Text()':
user.cpp:(.text+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 60ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 4ms | 336kb | OK | 10 |
3 | 12ms | 416kb | OK | 10 |
4 | 24ms | 1092kb | OK | 10 |
5 | 56ms | 3400kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 112ms | 3440kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 196ms | 3464kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 380ms | 50820kb | OK | 10 |
9 | 352ms | 57540kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 240ms | 5056kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |