Pagini recente »
Borderou de evaluare (job #464254)
|
Borderou de evaluare (job #319649)
|
Borderou de evaluare (job #626168)
|
Borderou de evaluare (job #655388)
|
Borderou de evaluare (job #801662)
Borderou de evaluare (job #801662)
Raport evaluator
Compilare:
main.cpp: In function 'int CitesteNumar()':
main.cpp:36:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | scanf("%lu", &N);
| ~~~~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:70:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
70 | freopen("factori.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:71:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
71 | freopen("factori.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void TabelPrime()':
main.cpp:16:34: warning: iteration 60000 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | for (i=1; i<=MAX; i++) Prime[i]=TRUE;
| ^
main.cpp:16:14: note: within this loop
16 | for (i=1; i<=MAX; i++) Prime[i]=TRUE;
| ^
main.cpp:16:34: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset 60001 is out of the bounds [0, 60001] of object 'Prime' with type 'char [60001]' [-Warray-bounds=]
16 | for (i=1; i<=MAX; i++) Prime[i]=TRUE;
| ^
main.cpp:9:6: note: 'Prime' declared here
9 | char Prime[MAX];
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
503 kb
|
OK
|
10
|
4
|
9 ms
|
225 kb
|
OK
|
10
|
5
|
1 ms
|
503 kb
|
OK
|
10
|
6
|
1 ms
|
262 kb
|
OK
|
10
|
7
|
1 ms
|
241 kb
|
OK
|
10
|
8
|
9 ms
|
229 kb
|
OK
|
10
|
9
|
19 ms
|
151 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Penalizare: 5% (pentru 1 submisie/ii)
|
5%
|
Punctaj total
|
95
|