Pagini recente » Borderou de evaluare (job #1776995) | Borderou de evaluare (job #432371) | Borderou de evaluare (job #2446522) | Borderou de evaluare (job #440502) | Borderou de evaluare (job #1469487)
Borderou de evaluare (job #1469487)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add(char)’:
user.cpp:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < t[nod].size(); ++i)
^
user.cpp: In function ‘int Query()’:
user.cpp:46:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(s); ++i){
^
user.cpp:49:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < t[nod].size()&&ok; ++j)
^
user.cpp:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == strlen(s)-1) return t[nod][j].nr;
^
user.cpp: In function ‘int main()’:
user.cpp:60: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:61: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:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:65: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 | 16ms | 2124kb | OK | 10 |
| 2 | 4ms | 2064kb | OK | 10 |
| 3 | 20ms | 4184kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 20ms | 4188kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 20ms | 4220kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 20ms | 4252kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 20ms | 4280kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 20ms | 4280kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 20ms | 4280kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 80ms | 3028kb | OK | 10 |
| Punctaj total | 30 |