Pagini recente » Borderou de evaluare (job #328410) | Borderou de evaluare (job #2003386) | Borderou de evaluare (job #2520201) | Borderou de evaluare (job #2748010) | Borderou de evaluare (job #1469583)
Borderou de evaluare (job #1469583)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add(int)’:
user.cpp:18:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int Query()’:
user.cpp:45:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(s); ++i){
^
user.cpp:51:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == strlen(s)-1)return nr[t[nod][j]];
^
user.cpp:42:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
bool ok;
^
user.cpp: In function ‘int main()’:
user.cpp:58:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:59:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",a);
^
user.cpp:71:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&q);
^
user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 652kb | OK | 10 |
| 2 | 0ms | 372kb | Incorect | 0 |
| 3 | 48ms | 28656kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 48ms | 28652kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 48ms | 28812kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 48ms | 28968kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 48ms | 29124kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 48ms | 29144kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 48ms | 29140kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 76ms | 11872kb | OK | 10 |
| Punctaj total | 20 |