Pagini recente » Borderou de evaluare (job #1649697) | Borderou de evaluare (job #1550895) | Borderou de evaluare (job #2689801) | Borderou de evaluare (job #313729) | Borderou de evaluare (job #1746142)
Borderou de evaluare (job #1746142)
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/ccvi6hIm.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 | 280kb | OK | 5 |
3 | 20ms | 468kb | OK | 5 |
4 | 44ms | 668kb | OK | 5 |
5 | 112ms | 1060kb | OK | 5 |
6 | 188ms | 1840kb | OK | 5 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 272kb | OK | 5 |
9 | 0ms | 280kb | OK | 5 |
10 | 4ms | 288kb | OK | 5 |
11 | 12ms | 308kb | OK | 5 |
12 | 20ms | 344kb | OK | 5 |
13 | 44ms | 424kb | OK | 5 |
14 | 92ms | 580kb | OK | 5 |
15 | 116ms | 664kb | OK | 5 |
16 | 180ms | 852kb | OK | 5 |
17 | 224ms | 1052kb | OK | 5 |
18 | 284ms | 1248kb | OK | 5 |
19 | Depăşit | 1516kb | Time limit exceeded. | 0 |
20 | Depăşit | 1824kb | Time limit exceeded. | 0 |
Punctaj total | 90 |