Pagini recente » Borderou de evaluare (job #1398702) | Borderou de evaluare (job #580248) | Borderou de evaluare (job #339383) | Borderou de evaluare (job #490425) | Borderou de evaluare (job #1745979)
Borderou de evaluare (job #1745979)
Raport evaluator
Compilare:
user.cpp: In function ‘int Search(char)’:
user.cpp:32:14: warning: right operand of comma operator has no effect [-Wunused-value]
lw=1,mid,hi=12;
^
user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:47:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&N);
^
user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&junk);
^
user.cpp:51:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&Sigma[i].ch),Sigma[i].pos=i;
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&junk);
^
user.cpp:59:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word);
^
/tmp/cc82PWVq.o: In function `main':
user.cpp:(.text.startup+0x152): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 5 |
| 2 | 0ms | 280kb | OK | 5 |
| 3 | 28ms | 860kb | OK | 5 |
| 4 | 64ms | 1440kb | OK | 5 |
| 5 | 128ms | 2616kb | OK | 5 |
| 6 | 116ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 0ms | 252kb | OK | 5 |
| 8 | 0ms | 256kb | OK | 5 |
| 9 | 0ms | 268kb | OK | 5 |
| 10 | 0ms | 312kb | OK | 5 |
| 11 | 4ms | 364kb | OK | 5 |
| 12 | 12ms | 488kb | OK | 5 |
| 13 | 24ms | 720kb | OK | 5 |
| 14 | 52ms | 1184kb | OK | 5 |
| 15 | 68ms | 1420kb | OK | 5 |
| 16 | 104ms | 2004kb | OK | 5 |
| 17 | 140ms | 2592kb | OK | 5 |
| 18 | 180ms | 3180kb | OK | 5 |
| 19 | 232ms | 4000kb | OK | 5 |
| 20 | 116ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 90 |