Pagini recente » Borderou de evaluare (job #3248848) | Borderou de evaluare (job #580382) | Borderou de evaluare (job #920591) | Borderou de evaluare (job #305358) | Borderou de evaluare (job #2710453)
Borderou de evaluare (job #2710453)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &a, &b);
^
main.cpp: In function 'void ciur()':
main.cpp:22:20: warning: iteration 22359 invokes undefined behavior [-Waggressive-loop-optimizations]
if (!Ciur[i]) Primes[Size++] = i;
~~~~~~^
main.cpp:21:23: note: within this loop
for (int i = 3; i <= MAX_SQRT; i += 2){
^
main.cpp: In function 'int main()':
main.cpp:58:42: warning: 'times' may be used uninitialized in this function [-Wmaybe-uninitialized]
}else if (divNo == maxNo) times++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 9ms | 131kb | OK | 10 | 40 |
2 | 7ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 15ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 | 30 |
6 | 20ms | 131kb | OK | 10 |
7 | 7ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 | 30 |
9 | 3ms | 131kb | OK | 10 |
10 | 14ms | 131kb | OK | 10 |
Punctaj total | 100 |