Pagini recente » Borderou de evaluare (job #470012) | Borderou de evaluare (job #195009) | Borderou de evaluare (job #1954376) | Borderou de evaluare (job #861451) | Borderou de evaluare (job #1478202)
Borderou de evaluare (job #1478202)
Raport evaluator
Compilare:
user.cpp: In function ‘void antibfs(trie*)’:
user.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<fr->y.size();j++) sol[fr->y[j]]=fr->x;
^
user.cpp: In function ‘int main()’:
user.cpp:51:29: 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:52:31: 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:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:53:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:55:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); strcat(s+1,ss+1);
^
user.cpp:58:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:58:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(ss);
^
user.cpp:60:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); add_intrie(i);
^
/tmp/ccEgdkht.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 |
| 1 | 56ms | 360kb | OK | 10 |
| 2 | 4ms | 328kb | OK | 10 |
| 3 | 12ms | 340kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 16ms | 596kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 52ms | 2160kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 108ms | 2196kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 192ms | 2220kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 192ms | 1848kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 192ms | 1532kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 192ms | 480kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 |