Pagini recente » Borderou de evaluare (job #241152) | Borderou de evaluare (job #3184806) | Borderou de evaluare (job #207749) | Borderou de evaluare (job #1671718) | Borderou de evaluare (job #1746144)
Borderou de evaluare (job #1746144)
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=0,mid,hi=11;
^
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/ccdlPIEV.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 | 276kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 20ms | 472kb | OK | 5 |
4 | 44ms | 668kb | OK | 5 |
5 | 92ms | 1060kb | OK | 5 |
6 | 188ms | 1836kb | OK | 5 |
7 | 0ms | 252kb | OK | 5 |
8 | 0ms | 260kb | OK | 5 |
9 | 0ms | 264kb | OK | 5 |
10 | 0ms | 276kb | OK | 5 |
11 | 4ms | 296kb | OK | 5 |
12 | 8ms | 336kb | OK | 5 |
13 | 20ms | 412kb | OK | 5 |
14 | 40ms | 572kb | OK | 5 |
15 | 56ms | 644kb | OK | 5 |
16 | 84ms | 844kb | OK | 5 |
17 | 112ms | 1040kb | OK | 5 |
18 | 140ms | 1236kb | OK | 5 |
19 | 180ms | 1512kb | OK | 5 |
20 | 228ms | 1816kb | OK | 5 |
Punctaj total | 100 |