Pagini recente » Borderou de evaluare (job #2944406) | Borderou de evaluare (job #3130341) | Borderou de evaluare (job #390054) | Borderou de evaluare (job #1762604) | Borderou de evaluare (job #1746111)
Borderou de evaluare (job #1746111)
Raport evaluator
Compilare:
user.cpp: In function ‘int Search(char)’:
user.cpp:24:14: warning: right operand of comma operator has no effect [-Wunused-value]
lw=1,mid,hi=12;
^
user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:37: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:38: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:39: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:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&junk);
^
user.cpp:43:56: 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,O[i]=Sigma[i];
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&junk);
^
user.cpp:51:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word);
^
/tmp/ccLBMHr9.o: In function `main':
user.cpp:(.text.startup+0x16a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 20ms | 476kb | OK | 5 |
4 | 44ms | 668kb | OK | 5 |
5 | 96ms | 1064kb | OK | 5 |
6 | 188ms | 1836kb | OK | 5 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 4ms | 288kb | Incorect | 0 |
11 | 8ms | 304kb | Incorect | 0 |
12 | 20ms | 348kb | Incorect | 0 |
13 | 44ms | 424kb | Incorect | 0 |
14 | 88ms | 584kb | Incorect | 0 |
15 | 112ms | 656kb | Incorect | 0 |
16 | 168ms | 860kb | Incorect | 0 |
17 | 228ms | 1052kb | Incorect | 0 |
18 | 280ms | 1248kb | Incorect | 0 |
19 | Depăşit | 1512kb | Time limit exceeded. | 0 |
20 | Depăşit | 1820kb | Time limit exceeded. | 0 |
Punctaj total | 30 |