Pagini recente »
Borderou de evaluare (job #92943)
|
Borderou de evaluare (job #38808)
|
Borderou de evaluare (job #687962)
|
Borderou de evaluare (job #88631)
|
Borderou de evaluare (job #717305)
Borderou de evaluare (job #717305)
Raport evaluator
Compilare:
main.c:3:1: warning: data definition has no type or storage class
3 | V[100];
| ^
main.c:3:1: warning: type defaults to 'int' in declaration of 'V' [-Wimplicit-int]
main.c:4:1: warning: data definition has no type or storage class
4 | P[100];
| ^
main.c:4:1: warning: type defaults to 'int' in declaration of 'P' [-Wimplicit-int]
main.c:5:15: warning: return type of 'main' is not 'int' [-Wmain]
5 | long long int main()
| ^~~~
main.c: In function 'main':
main.c:20:9: warning: statement with no effect [-Wunused-value]
20 | P[e]==cnt2;
| ~~~~^~~~~~
main.c:23:13: warning: statement with no effect [-Wunused-value]
23 | V[o]==0;
| ~~~~^~~
main.c:8:73: warning: variable 'u' set but not used [-Wunused-but-set-variable]
8 | long long int n, ag, agc, s=0, cnt=1, l, i=1,r=1, cnt2=0, o=1, e=0, u=1,check=1,max=0, m=2;
| ^
main.c:8:43: warning: unused variable 'l' [-Wunused-variable]
8 | long long int n, ag, agc, s=0, cnt=1, l, i=1,r=1, cnt2=0, o=1, e=0, u=1,check=1,max=0, m=2;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%lld%lld", &n,&ag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:57:13: warning: iteration 98 invokes undefined behavior [-Waggressive-loop-optimizations]
57 | if(P[m]>max){
| ~^~~
main.c:56:12: note: within this loop
56 | while(m<=100){
| ~^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
a) OK; b) linie incorecta
|
1
|
2
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
3
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
4
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
6
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
7
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
8
|
29 ms
|
249 kb
|
Killed by Signal 11
|
0
|
9
|
29 ms
|
507 kb
|
Killed by Signal 11
|
0
|
10
|
29 ms
|
507 kb
|
Killed by Signal 11
|
0
|
11
|
49 ms
|
2342 kb
|
a) OK; b) linie incorecta
|
1
|
12
|
49 ms
|
2338 kb
|
a) linie incorecta; b) linie incorecta
|
0
|
13
|
49 ms
|
2338 kb
|
a) linie incorecta; b) linie incorecta
|
0
|
14
|
49 ms
|
2338 kb
|
a) linie incorecta; b) linie incorecta
|
0
|
15
|
79 ms
|
2342 kb
|
Killed by Signal 11
|
0
|
16
|
79 ms
|
2342 kb
|
Killed by Signal 11
|
0
|
17
|
39 ms
|
3129 kb
|
Memory limit exceeded
|
0
|
18
|
48 ms
|
3395 kb
|
Memory limit exceeded
|
0
|
19
|
47 ms
|
3395 kb
|
Memory limit exceeded
|
0
|
20
|
49 ms
|
3395 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
2
|