Pagini recente » Borderou de evaluare (job #2344436) | Borderou de evaluare (job #814183) | Borderou de evaluare (job #2228580) | Borderou de evaluare (job #2832884) | Borderou de evaluare (job #1213107)
Borderou de evaluare (job #1213107)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10000001]’ [-Wformat=]
scanf("%d%d%s",&A,&B,&S);
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jstc.in","r",stdin);
^
user.cpp:36:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jstc.out","w",stdout);
^
user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s",&A,&B,&S);
^
user.cpp: In function ‘int Query()’:
user.cpp:15:50: warning: ‘X’ is used uninitialized in this function [-Wuninitialized]
int left=0,right=V.size()-1,mid,final=-1,X=(A*X+B)%cnt+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Incorect | 0 | 0 |
2 | 4ms | 388kb | Incorect | 0 | 0 |
3 | 4ms | 388kb | Incorect | 0 | 0 |
4 | 20ms | 788kb | Incorect | 0 | 0 |
5 | 20ms | 788kb | Incorect | 0 | 0 |
6 | 48ms | 1316kb | Incorect | 0 | 0 |
7 | 500ms | 9512kb | Incorect | 0 | 0 |
8 | 280ms | 10980kb | Incorect | 0 |
9 | 496ms | 9516kb | Incorect | 0 |
10 | 164ms | 4484kb | Incorect | 0 |
11 | 456ms | 9512kb | Incorect | 0 |
12 | 168ms | 4484kb | Incorect | 0 |
13 | 536ms | 9524kb | Incorect | 0 |
14 | 164ms | 4476kb | Incorect | 0 |
15 | 516ms | 9504kb | Incorect | 0 |
16 | 172ms | 4468kb | Incorect | 0 |
17 | 588ms | 9524kb | Incorect | 0 |
18 | 168ms | 4480kb | Incorect | 0 |
19 | 580ms | 10492kb | Incorect | 0 |
20 | 172ms | 4472kb | Incorect | 0 |
Punctaj total | 0 |