Borderou de evaluare (job #787869)

Utilizator avatar Stefanu Stefan Ungureanu Stefanu IP ascuns
Problemă Kprime (clasa a 6-a) Compilator c-32
Rundă Tema 9 Clasa a 6-a Status evaluat
Dată 25 sept. 2024 21:45:00 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 14 | for ( i = d * d; i <= 3162; i = i + d ) | ^~~ main.c:16:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 16 | v[1]=1; | ^ main.c:23:30: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration] 23 | while(a>1 && k<1 && j<sqrt(a1)){ | ^~~~ main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | char v[3162]; main.c:23:30: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 23 | while(a>1 && k<1 && j<sqrt(a1)){ | ^~~~ main.c:23:30: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:36:14: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch] 36 | if(j>sqrt(a1)) | ^~~~ main.c:36:14: note: include '<math.h>' or provide a declaration of 'sqrt' main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:18:8: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%lld",&a); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb Incorect 0
2 49 ms 241 kb Incorect 0
3 1709 ms 245 kb Time limit exceeded 0
4 1 ms 266 kb Incorect 0
5 49 ms 237 kb Incorect 0
6 1709 ms 204 kb Time limit exceeded 0
7 1709 ms 249 kb Time limit exceeded 0
8 1709 ms 241 kb Time limit exceeded 0
9 1709 ms 507 kb Time limit exceeded 0
10 1709 ms 245 kb Time limit exceeded 0
11 1 ms 245 kb Incorect 0
12 19 ms 245 kb Incorect 0
13 149 ms 262 kb Incorect 0
14 409 ms 245 kb Incorect 0
15 1708 ms 217 kb Time limit exceeded 0
16 1701 ms 258 kb Time limit exceeded 0
17 1708 ms 237 kb Time limit exceeded 0
18 1709 ms 237 kb Time limit exceeded 0
19 1709 ms 237 kb Time limit exceeded 0
20 1709 ms 262 kb Time limit exceeded 0
21 1707 ms 462 kb Time limit exceeded 0
22 1709 ms 217 kb Time limit exceeded 0
23 1709 ms 233 kb Time limit exceeded 0
24 1709 ms 237 kb Time limit exceeded 0
25 1709 ms 241 kb Time limit exceeded 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 0